<?php
			$optionsArray = array( 'list' => array( 'inlineAdd' => false,
'detailsAdd' => true,
'inlineEdit' => false,
'delete' => false,
'updateSelected' => false,
'addInPopup' => null,
'editInPopup' => null,
'viewInPopup' => null,
'clickSort' => true,
'sortDropdown' => true,
'showHideFields' => true,
'reorderFields' => true ),
'master' => array( 'customers' => array( 'preview' => false ) ),
'listSearch' => array( 'alwaysOnPanelFields' => array(  ),
'searchPanel' => true,
'fixedSearchPanel' => false,
'simpleSearchOptions' => false,
'searchSaving' => false ),
'totals' => array( 'loan_id' => array( 'totalsType' => '' ),
'horno' => array( 'totalsType' => '' ),
'guarantor_1' => array( 'totalsType' => '' ),
'guarantor_2' => array( 'totalsType' => '' ),
'loan_amount' => array( 'totalsType' => '' ),
'total_payable' => array( 'totalsType' => '' ),
'installment_amount' => array( 'totalsType' => '' ),
'payment_interval_days' => array( 'totalsType' => '' ),
'start_date' => array( 'totalsType' => '' ),
'end_date' => array( 'totalsType' => '' ),
'status' => array( 'totalsType' => '' ),
'profit_amount' => array( 'totalsType' => '' ),
'total_collected' => array( 'totalsType' => '' ),
'should_pay' => array( 'totalsType' => '' ),
'remaining_balance' => array( 'totalsType' => '' ),
'arrears_amount' => array( 'totalsType' => '' ),
'remaining_days' => array( 'totalsType' => '' ),
'remaining_installments' => array( 'totalsType' => '' ),
'customer_id' => array( 'totalsType' => '' ) ),
'fields' => array( 'gridFields' => array( 'loan_id',
'guarantor_1',
'guarantor_2',
'loan_amount',
'total_payable',
'installment_amount',
'payment_interval_days',
'start_date',
'end_date',
'status',
'profit_amount',
'total_collected',
'should_pay',
'remaining_balance',
'arrears_amount',
'remaining_days',
'remaining_installments' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array( 'loan_id',
'customer_id',
'remaining_installments',
'remaining_days',
'arrears_amount',
'remaining_balance',
'should_pay',
'total_collected',
'profit_amount',
'status',
'end_date',
'start_date',
'payment_interval_days',
'installment_amount',
'total_payable',
'loan_amount',
'guarantor_2',
'guarantor_1',
'horno' ),
'filterFields' => array(  ),
'inlineAddFields' => array(  ),
'inlineEditFields' => array(  ),
'fieldItems' => array( 'loan_id' => array( 'simple_grid_field',
'simple_grid_field2' ),
'guarantor_1' => array( 'simple_grid_field3',
'simple_grid_field42' ),
'guarantor_2' => array( 'simple_grid_field4',
'simple_grid_field43' ),
'loan_amount' => array( 'simple_grid_field9',
'simple_grid_field28' ),
'total_payable' => array( 'simple_grid_field10',
'simple_grid_field29' ),
'installment_amount' => array( 'simple_grid_field11',
'simple_grid_field30' ),
'payment_interval_days' => array( 'simple_grid_field12',
'simple_grid_field31' ),
'start_date' => array( 'simple_grid_field13',
'simple_grid_field32' ),
'end_date' => array( 'simple_grid_field14',
'simple_grid_field33' ),
'status' => array( 'simple_grid_field15',
'simple_grid_field34' ),
'profit_amount' => array( 'simple_grid_field16',
'simple_grid_field35' ),
'total_collected' => array( 'simple_grid_field17',
'simple_grid_field36' ),
'should_pay' => array( 'simple_grid_field18',
'simple_grid_field37' ),
'remaining_balance' => array( 'simple_grid_field19',
'simple_grid_field38' ),
'arrears_amount' => array( 'simple_grid_field20',
'simple_grid_field39' ),
'remaining_days' => array( 'simple_grid_field21',
'simple_grid_field40' ),
'remaining_installments' => array( 'simple_grid_field22',
'simple_grid_field41' ) ),
'hideEmptyFields' => array(  ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => true ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'left' => array( 'logo1',
'expand_button',
'menu',
'search_panel' ),
'supertop' => array( 'collapse_button',
'breadcrumb',
'simple_search',
'list_options',
'loginform_login',
'username_button' ),
'above-grid' => array( 'inline_add',
'details_found',
'page_size',
'print_panel',
'columns_control',
'sort_dropdown' ),
'below-grid' => array( 'pagination' ),
'grid' => array( 'simple_grid_field2',
'simple_grid_field34',
'simple_grid_field',
'simple_grid_field15',
'simple_grid_field28',
'simple_grid_field29',
'simple_grid_field9',
'simple_grid_field10',
'simple_grid_field30',
'simple_grid_field31',
'simple_grid_field11',
'simple_grid_field12',
'simple_grid_field32',
'simple_grid_field33',
'simple_grid_field13',
'simple_grid_field14',
'simple_grid_field35',
'simple_grid_field16',
'simple_grid_field36',
'simple_grid_field38',
'simple_grid_field17',
'simple_grid_field19',
'simple_grid_field37',
'simple_grid_field39',
'simple_grid_field18',
'simple_grid_field20',
'simple_grid_field40',
'simple_grid_field41',
'simple_grid_field21',
'simple_grid_field22',
'simple_grid_field42',
'simple_grid_field43',
'simple_grid_field3',
'simple_grid_field4',
'grid_inline_cancel' ),
'top' => array(  ) ),
'formXtTags' => array( 'below-grid' => array( 'pagination' ),
'top' => array(  ) ),
'itemForms' => array( 'logo1' => 'left',
'expand_button' => 'left',
'menu' => 'left',
'search_panel' => 'left',
'collapse_button' => 'supertop',
'breadcrumb' => 'supertop',
'simple_search' => 'supertop',
'list_options' => 'supertop',
'loginform_login' => 'supertop',
'username_button' => 'supertop',
'inline_add' => 'above-grid',
'details_found' => 'above-grid',
'page_size' => 'above-grid',
'print_panel' => 'above-grid',
'columns_control' => 'above-grid',
'sort_dropdown' => 'above-grid',
'pagination' => 'below-grid',
'simple_grid_field2' => 'grid',
'simple_grid_field34' => 'grid',
'simple_grid_field' => 'grid',
'simple_grid_field15' => 'grid',
'simple_grid_field28' => 'grid',
'simple_grid_field29' => 'grid',
'simple_grid_field9' => 'grid',
'simple_grid_field10' => 'grid',
'simple_grid_field30' => 'grid',
'simple_grid_field31' => 'grid',
'simple_grid_field11' => 'grid',
'simple_grid_field12' => 'grid',
'simple_grid_field32' => 'grid',
'simple_grid_field33' => 'grid',
'simple_grid_field13' => 'grid',
'simple_grid_field14' => 'grid',
'simple_grid_field35' => 'grid',
'simple_grid_field16' => 'grid',
'simple_grid_field36' => 'grid',
'simple_grid_field38' => 'grid',
'simple_grid_field17' => 'grid',
'simple_grid_field19' => 'grid',
'simple_grid_field37' => 'grid',
'simple_grid_field39' => 'grid',
'simple_grid_field18' => 'grid',
'simple_grid_field20' => 'grid',
'simple_grid_field40' => 'grid',
'simple_grid_field41' => 'grid',
'simple_grid_field21' => 'grid',
'simple_grid_field22' => 'grid',
'simple_grid_field42' => 'grid',
'simple_grid_field43' => 'grid',
'simple_grid_field3' => 'grid',
'simple_grid_field4' => 'grid',
'grid_inline_cancel' => 'grid' ),
'itemLocations' => array( 'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field34' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field15' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field28' => array( 'location' => 'grid',
'cellId' => 'headcell_field6' ),
'simple_grid_field29' => array( 'location' => 'grid',
'cellId' => 'headcell_field6' ),
'simple_grid_field9' => array( 'location' => 'grid',
'cellId' => 'cell_field6' ),
'simple_grid_field10' => array( 'location' => 'grid',
'cellId' => 'cell_field6' ),
'simple_grid_field30' => array( 'location' => 'grid',
'cellId' => 'headcell_field8' ),
'simple_grid_field31' => array( 'location' => 'grid',
'cellId' => 'headcell_field8' ),
'simple_grid_field11' => array( 'location' => 'grid',
'cellId' => 'cell_field8' ),
'simple_grid_field12' => array( 'location' => 'grid',
'cellId' => 'cell_field8' ),
'simple_grid_field32' => array( 'location' => 'grid',
'cellId' => 'headcell_field10' ),
'simple_grid_field33' => array( 'location' => 'grid',
'cellId' => 'headcell_field10' ),
'simple_grid_field13' => array( 'location' => 'grid',
'cellId' => 'cell_field10' ),
'simple_grid_field14' => array( 'location' => 'grid',
'cellId' => 'cell_field10' ),
'simple_grid_field35' => array( 'location' => 'grid',
'cellId' => 'headcell_field12' ),
'simple_grid_field16' => array( 'location' => 'grid',
'cellId' => 'cell_field12' ),
'simple_grid_field36' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ),
'simple_grid_field38' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ),
'simple_grid_field17' => array( 'location' => 'grid',
'cellId' => 'cell_field14' ),
'simple_grid_field19' => array( 'location' => 'grid',
'cellId' => 'cell_field14' ),
'simple_grid_field37' => array( 'location' => 'grid',
'cellId' => 'headcell_field16' ),
'simple_grid_field39' => array( 'location' => 'grid',
'cellId' => 'headcell_field16' ),
'simple_grid_field18' => array( 'location' => 'grid',
'cellId' => 'cell_field16' ),
'simple_grid_field20' => array( 'location' => 'grid',
'cellId' => 'cell_field16' ),
'simple_grid_field40' => array( 'location' => 'grid',
'cellId' => 'headcell_field18' ),
'simple_grid_field41' => array( 'location' => 'grid',
'cellId' => 'headcell_field18' ),
'simple_grid_field21' => array( 'location' => 'grid',
'cellId' => 'cell_field18' ),
'simple_grid_field22' => array( 'location' => 'grid',
'cellId' => 'cell_field18' ),
'simple_grid_field42' => array( 'location' => 'grid',
'cellId' => 'headcell_field20' ),
'simple_grid_field43' => array( 'location' => 'grid',
'cellId' => 'headcell_field20' ),
'simple_grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field20' ),
'simple_grid_field4' => array( 'location' => 'grid',
'cellId' => 'cell_field20' ),
'grid_inline_cancel' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ) ),
'itemVisiblity' => array( 'expand_button' => 5,
'menu' => 3,
'search_panel' => 5,
'collapse_button' => 5,
'breadcrumb' => 5,
'simple_search' => 3,
'list_options' => 3,
'loginform_login' => 3,
'username_button' => 3,
'print_panel' => 5 ) ),
'itemsByType' => array( 'page_size' => array( 'page_size' ),
'details_found' => array( 'details_found' ),
'breadcrumb' => array( 'breadcrumb' ),
'menu' => array( 'menu' ),
'simple_search' => array( 'simple_search' ),
'pagination' => array( 'pagination' ),
'search_panel' => array( 'search_panel' ),
'list_options' => array( 'list_options' ),
'collapse_button' => array( 'collapse_button' ),
'print_panel' => array( 'print_panel' ),
'print_scope' => array( 'print_scope' ),
'print_button' => array( 'print_button' ),
'print_records' => array( 'print_records' ),
'export' => array( 'export' ),
'-' => array( '-',
'-1',
'-2' ),
'import' => array( 'import' ),
'grid_field' => array( 'simple_grid_field',
'simple_grid_field3',
'simple_grid_field4',
'simple_grid_field9',
'simple_grid_field10',
'simple_grid_field11',
'simple_grid_field12',
'simple_grid_field13',
'simple_grid_field14',
'simple_grid_field15',
'simple_grid_field16',
'simple_grid_field17',
'simple_grid_field18',
'simple_grid_field19',
'simple_grid_field20',
'simple_grid_field21',
'simple_grid_field22' ),
'search_panel_field' => array( 'search_panel_field',
'search_panel_field1',
'search_panel_field2',
'search_panel_field3',
'search_panel_field4',
'search_panel_field9',
'search_panel_field10',
'search_panel_field11',
'search_panel_field12',
'search_panel_field13',
'search_panel_field14',
'search_panel_field15',
'search_panel_field16',
'search_panel_field17',
'search_panel_field18',
'search_panel_field19',
'search_panel_field20',
'search_panel_field21',
'search_panel_field22' ),
'advsearch_link' => array( 'advsearch_link' ),
'grid_field_label' => array( 'simple_grid_field2',
'simple_grid_field28',
'simple_grid_field29',
'simple_grid_field30',
'simple_grid_field31',
'simple_grid_field32',
'simple_grid_field33',
'simple_grid_field34',
'simple_grid_field35',
'simple_grid_field36',
'simple_grid_field37',
'simple_grid_field38',
'simple_grid_field39',
'simple_grid_field40',
'simple_grid_field41',
'simple_grid_field42',
'simple_grid_field43' ),
'logo' => array( 'logo1' ),
'show_search_panel' => array( 'show_search_panel' ),
'hide_search_panel' => array( 'hide_search_panel' ),
'columns_control' => array( 'columns_control' ),
'sort_dropdown' => array( 'sort_dropdown' ),
'username_button' => array( 'username_button' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'changepassword_link' => array( 'changepassword_link' ),
'expand_button' => array( 'expand_button' ),
'inline_add' => array( 'inline_add' ),
'grid_inline_cancel' => array( 'grid_inline_cancel' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array( 'loan_id_fieldheadercolumn',
'status_fieldheadercolumn' ),
'items' => array( 'simple_grid_field2',
'simple_grid_field34' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field6' => array( 'cols' => array( 2 ),
'rows' => array( 0 ),
'tags' => array( 'loan_amount_fieldheadercolumn',
'total_payable_fieldheadercolumn' ),
'items' => array( 'simple_grid_field28',
'simple_grid_field29' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field8' => array( 'cols' => array( 3 ),
'rows' => array( 0 ),
'tags' => array( 'installment_amount_fieldheadercolumn',
'payment_interval_days_fieldheadercolumn' ),
'items' => array( 'simple_grid_field30',
'simple_grid_field31' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 0 ),
'tags' => array( 'start_date_fieldheadercolumn',
'end_date_fieldheadercolumn' ),
'items' => array( 'simple_grid_field32',
'simple_grid_field33' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field12' => array( 'cols' => array( 5 ),
'rows' => array( 0 ),
'tags' => array( 'profit_amount_fieldheadercolumn' ),
'items' => array( 'simple_grid_field35' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field14' => array( 'cols' => array( 6 ),
'rows' => array( 0 ),
'tags' => array( 'total_collected_fieldheadercolumn',
'remaining_balance_fieldheadercolumn' ),
'items' => array( 'simple_grid_field36',
'simple_grid_field38' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field16' => array( 'cols' => array( 7 ),
'rows' => array( 0 ),
'tags' => array( 'should_pay_fieldheadercolumn',
'arrears_amount_fieldheadercolumn' ),
'items' => array( 'simple_grid_field37',
'simple_grid_field39' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field18' => array( 'cols' => array( 8 ),
'rows' => array( 0 ),
'tags' => array( 'remaining_days_fieldheadercolumn',
'remaining_installments_fieldheadercolumn' ),
'items' => array( 'simple_grid_field40',
'simple_grid_field41' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field20' => array( 'cols' => array( 9 ),
'rows' => array( 0 ),
'tags' => array( 'guarantor_1_fieldheadercolumn',
'guarantor_2_fieldheadercolumn' ),
'items' => array( 'simple_grid_field42',
'simple_grid_field43' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'inline_cancel' ),
'items' => array( 'grid_inline_cancel' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array( 'loan_id_fieldcolumn',
'status_fieldcolumn' ),
'items' => array( 'simple_grid_field',
'simple_grid_field15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field6' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array( 'loan_amount_fieldcolumn',
'total_payable_fieldcolumn' ),
'items' => array( 'simple_grid_field9',
'simple_grid_field10' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field8' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'installment_amount_fieldcolumn',
'payment_interval_days_fieldcolumn' ),
'items' => array( 'simple_grid_field11',
'simple_grid_field12' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'start_date_fieldcolumn',
'end_date_fieldcolumn' ),
'items' => array( 'simple_grid_field13',
'simple_grid_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field12' => array( 'cols' => array( 5 ),
'rows' => array( 1 ),
'tags' => array( 'profit_amount_fieldcolumn' ),
'items' => array( 'simple_grid_field16' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field14' => array( 'cols' => array( 6 ),
'rows' => array( 1 ),
'tags' => array( 'total_collected_fieldcolumn',
'remaining_balance_fieldcolumn' ),
'items' => array( 'simple_grid_field17',
'simple_grid_field19' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field16' => array( 'cols' => array( 7 ),
'rows' => array( 1 ),
'tags' => array( 'should_pay_fieldcolumn',
'arrears_amount_fieldcolumn' ),
'items' => array( 'simple_grid_field18',
'simple_grid_field20' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field18' => array( 'cols' => array( 8 ),
'rows' => array( 1 ),
'tags' => array( 'remaining_days_fieldcolumn',
'remaining_installments_fieldcolumn' ),
'items' => array( 'simple_grid_field21',
'simple_grid_field22' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field20' => array( 'cols' => array( 9 ),
'rows' => array( 1 ),
'tags' => array( 'guarantor_1_fieldcolumn',
'guarantor_2_fieldcolumn' ),
'items' => array( 'simple_grid_field3',
'simple_grid_field4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field6' => array( 'cols' => array( 2 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field8' => array( 'cols' => array( 3 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field12' => array( 'cols' => array( 5 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field14' => array( 'cols' => array( 6 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field16' => array( 'cols' => array( 7 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field18' => array( 'cols' => array( 8 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field20' => array( 'cols' => array( 9 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 10,
'height' => 3 ) ) ),
'loginForm' => array( 'loginForm' => 0 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array( 'details_found' => array( 'tag' => 'DISPLAYING',
'type' => 2 ) ) ),
'gridType' => 0,
'recsPerRow' => 1,
'hasCustomButtons' => false,
'customButtons' => array(  ) ),
'misc' => array( 'type' => 'list',
'breadcrumb' => true ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ),
'dataGrid' => array( 'groupFields' => array(  ) ) );
			$pageArray = array( 'id' => 'list',
'type' => 'list',
'layoutId' => 'leftbar',
'disabled' => 0,
'default' => 0,
'forms' => array( 'left' => array( 'modelId' => 'leftbar-menu',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c0' => array( 'model' => 'c0',
'items' => array( 'logo1',
'expand_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c1' => array( 'model' => 'c1',
'items' => array( 'menu',
'search_panel' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'supertop' => array( 'modelId' => 'leftbar-top',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'collapse_button',
'breadcrumb' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'simple_search',
'list_options',
'loginform_login',
'username_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'list-above-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c3' ),
array( 'cell' => 'c4' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'inline_add' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'details_found',
'page_size',
'print_panel',
'columns_control' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c3' => array( 'model' => 'c3',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c4' => array( 'model' => 'c4',
'items' => array( 'sort_dropdown' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'list-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'pagination' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'horizontal-grid',
'grid' => array( array( 'section' => 'head',
'cells' => array( array( 'cell' => 'headcell_icons' ),
array( 'cell' => 'headcell_field' ),
array( 'cell' => 'headcell_field6' ),
array( 'cell' => 'headcell_field8' ),
array( 'cell' => 'headcell_field10' ),
array( 'cell' => 'headcell_field12' ),
array( 'cell' => 'headcell_field14' ),
array( 'cell' => 'headcell_field16' ),
array( 'cell' => 'headcell_field18' ),
array( 'cell' => 'headcell_field20' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_icons' ),
array( 'cell' => 'cell_field' ),
array( 'cell' => 'cell_field6' ),
array( 'cell' => 'cell_field8' ),
array( 'cell' => 'cell_field10' ),
array( 'cell' => 'cell_field12' ),
array( 'cell' => 'cell_field14' ),
array( 'cell' => 'cell_field16' ),
array( 'cell' => 'cell_field18' ),
array( 'cell' => 'cell_field20' ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons' ),
array( 'cell' => 'footcell_field' ),
array( 'cell' => 'footcell_field6' ),
array( 'cell' => 'footcell_field8' ),
array( 'cell' => 'footcell_field10' ),
array( 'cell' => 'footcell_field12' ),
array( 'cell' => 'footcell_field14' ),
array( 'cell' => 'footcell_field16' ),
array( 'cell' => 'footcell_field18' ),
array( 'cell' => 'footcell_field20' ) ) ) ),
'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field2',
'simple_grid_field34' ),
'field' => 'loan_id',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field',
'simple_grid_field15' ),
'field' => 'loan_id',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field6' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field28',
'simple_grid_field29' ),
'field' => 'loan_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field6' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field9',
'simple_grid_field10' ),
'field' => 'loan_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field6' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field8' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field30',
'simple_grid_field31' ),
'field' => 'installment_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field8' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field11',
'simple_grid_field12' ),
'field' => 'installment_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field8' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field10' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field32',
'simple_grid_field33' ),
'field' => 'start_date',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field10' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field13',
'simple_grid_field14' ),
'field' => 'start_date',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field10' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field12' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field35' ),
'field' => 'profit_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'background' => '#d6fea6',
'orientation' => 'vertical' ),
'cell_field12' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field16' ),
'field' => 'profit_amount',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'background' => '#d6fea6',
'orientation' => 'vertical' ),
'footcell_field12' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field14' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field36',
'simple_grid_field38' ),
'field' => 'total_collected',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field14' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field17',
'simple_grid_field19' ),
'field' => 'total_collected',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field14' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field16' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field37',
'simple_grid_field39' ),
'field' => 'should_pay',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field16' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field18',
'simple_grid_field20' ),
'field' => 'should_pay',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field16' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field18' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field40',
'simple_grid_field41' ),
'field' => 'remaining_days',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field18' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field21',
'simple_grid_field22' ),
'field' => 'remaining_days',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field18' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field20' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field42',
'simple_grid_field43' ),
'field' => 'guarantor_1',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'cell_field20' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field3',
'simple_grid_field4' ),
'field' => 'guarantor_1',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#c4c4c4' ) ),
'orientation' => 'vertical',
'background' => '#d6fea6' ),
'footcell_field20' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_icons' => array( 'model' => 'headcell_icons',
'items' => array(  ) ),
'cell_icons' => array( 'model' => 'cell_icons',
'items' => array( 'grid_inline_cancel' ) ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array(  ) ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'top' => array( 'modelId' => 'list-sidebar-top',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c2' => array( 'model' => 'c2',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ) ),
'items' => array( 'page_size' => array( 'type' => 'page_size' ),
'details_found' => array( 'type' => 'details_found' ),
'breadcrumb' => array( 'type' => 'breadcrumb',
'mobileDisplay' => 'desktop' ),
'menu' => array( 'type' => 'menu' ),
'simple_search' => array( 'type' => 'simple_search' ),
'pagination' => array( 'type' => 'pagination' ),
'search_panel' => array( 'type' => 'search_panel',
'items' => array( 'search_panel_field',
'search_panel_field1',
'search_panel_field22',
'search_panel_field21',
'search_panel_field20',
'search_panel_field19',
'search_panel_field18',
'search_panel_field17',
'search_panel_field16',
'search_panel_field15',
'search_panel_field14',
'search_panel_field13',
'search_panel_field12',
'search_panel_field11',
'search_panel_field10',
'search_panel_field9',
'search_panel_field4',
'search_panel_field3',
'search_panel_field2' ) ),
'list_options' => array( 'type' => 'list_options',
'items' => array( 'advsearch_link',
'show_search_panel',
'hide_search_panel',
'-2',
'export',
'-1',
'import' ) ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'print_panel' => array( 'type' => 'print_panel',
'items' => array( 'print_scope',
'print_records',
'print_button' ) ),
'print_scope' => array( 'type' => 'print_scope' ),
'print_button' => array( 'type' => 'print_button' ),
'print_records' => array( 'type' => 'print_records' ),
'export' => array( 'type' => 'export' ),
'-' => array( 'type' => '-' ),
'import' => array( 'type' => 'import' ),
'-1' => array( 'type' => '-' ),
'simple_grid_field' => array( 'field' => 'loan_id',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field' => array( 'field' => 'loan_id',
'type' => 'search_panel_field',
'required' => false ),
'advsearch_link' => array( 'type' => 'advsearch_link' ),
'-2' => array( 'type' => '-' ),
'search_panel_field1' => array( 'field' => 'customer_id',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field2' => array( 'type' => 'grid_field_label',
'field' => 'loan_id',
'clickSort' => true,
'nowrap' => false ),
'search_panel_field2' => array( 'field' => 'horno',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field3' => array( 'field' => 'guarantor_1',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field3' => array( 'field' => 'guarantor_1',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field4' => array( 'field' => 'guarantor_2',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field4' => array( 'field' => 'guarantor_2',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field9' => array( 'field' => 'loan_amount',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field9' => array( 'field' => 'loan_amount',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field10' => array( 'field' => 'total_payable',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field10' => array( 'field' => 'total_payable',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field11' => array( 'field' => 'installment_amount',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field11' => array( 'field' => 'installment_amount',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field12' => array( 'field' => 'payment_interval_days',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field12' => array( 'field' => 'payment_interval_days',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field13' => array( 'field' => 'start_date',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field13' => array( 'field' => 'start_date',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field14' => array( 'field' => 'end_date',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field14' => array( 'field' => 'end_date',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field15' => array( 'field' => 'status',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'color' => '#ff0000' ),
'search_panel_field15' => array( 'field' => 'status',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field16' => array( 'field' => 'profit_amount',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field16' => array( 'field' => 'profit_amount',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field17' => array( 'field' => 'total_collected',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field17' => array( 'field' => 'total_collected',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field18' => array( 'field' => 'should_pay',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field18' => array( 'field' => 'should_pay',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field19' => array( 'field' => 'remaining_balance',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field19' => array( 'field' => 'remaining_balance',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field20' => array( 'field' => 'arrears_amount',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'color' => '#ff0000' ),
'search_panel_field20' => array( 'field' => 'arrears_amount',
'type' => 'search_panel_field',
'required' => false ),
'logo1' => array( 'type' => 'logo' ),
'simple_grid_field21' => array( 'field' => 'remaining_days',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'color' => '#ff0000' ),
'search_panel_field21' => array( 'field' => 'remaining_days',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field22' => array( 'field' => 'remaining_installments',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field22' => array( 'field' => 'remaining_installments',
'type' => 'search_panel_field',
'required' => false ),
'show_search_panel' => array( 'type' => 'show_search_panel' ),
'hide_search_panel' => array( 'type' => 'hide_search_panel' ),
'simple_grid_field28' => array( 'type' => 'grid_field_label',
'field' => 'loan_amount',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field29' => array( 'type' => 'grid_field_label',
'field' => 'total_payable',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field30' => array( 'type' => 'grid_field_label',
'field' => 'installment_amount',
'clickSort' => true,
'label' => array( 'field' => 'installment_amount',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false ),
'simple_grid_field31' => array( 'type' => 'grid_field_label',
'field' => 'payment_interval_days',
'clickSort' => true,
'label' => array( 'field' => 'payment_interval_days',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false ),
'simple_grid_field32' => array( 'type' => 'grid_field_label',
'field' => 'start_date',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field33' => array( 'type' => 'grid_field_label',
'field' => 'end_date',
'clickSort' => true ),
'simple_grid_field34' => array( 'type' => 'grid_field_label',
'field' => 'status',
'clickSort' => true ),
'simple_grid_field35' => array( 'type' => 'grid_field_label',
'field' => 'profit_amount',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field36' => array( 'type' => 'grid_field_label',
'field' => 'total_collected',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field37' => array( 'type' => 'grid_field_label',
'field' => 'should_pay',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field38' => array( 'type' => 'grid_field_label',
'field' => 'remaining_balance',
'clickSort' => true,
'nowrap' => false ),
'simple_grid_field39' => array( 'type' => 'grid_field_label',
'field' => 'arrears_amount',
'clickSort' => true,
'nowrap' => false,
'color' => '#ff0000' ),
'simple_grid_field40' => array( 'type' => 'grid_field_label',
'field' => 'remaining_days',
'clickSort' => true,
'label' => array( 'field' => 'remaining_days',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false,
'color' => '#ff0000' ),
'simple_grid_field41' => array( 'type' => 'grid_field_label',
'field' => 'remaining_installments',
'clickSort' => true,
'label' => array( 'field' => 'remaining_installments',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false ),
'simple_grid_field42' => array( 'type' => 'grid_field_label',
'field' => 'guarantor_1',
'clickSort' => true,
'label' => array( 'field' => 'guarantor_1',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false ),
'simple_grid_field43' => array( 'type' => 'grid_field_label',
'field' => 'guarantor_2',
'clickSort' => true,
'label' => array( 'field' => 'guarantor_2',
'table' => 'Loan Ladger',
'type' => 3 ),
'nowrap' => false ),
'columns_control' => array( 'type' => 'columns_control',
'showHide' => true,
'reorder' => true ),
'sort_dropdown' => array( 'type' => 'sort_dropdown' ),
'username_button' => array( 'type' => 'username_button',
'items' => array( 'logout_link',
'changepassword_link' ) ),
'loginform_login' => array( 'type' => 'loginform_login',
'popup' => false ),
'logout_link' => array( 'type' => 'logout_link' ),
'changepassword_link' => array( 'type' => 'changepassword_link' ),
'expand_button' => array( 'type' => 'expand_button' ),
'inline_add' => array( 'type' => 'inline_add',
'detailsOnly' => true ),
'grid_inline_cancel' => array( 'type' => 'grid_inline_cancel' ) ),
'dbProps' => array(  ),
'version' => 4,
'pageWidth' => 'compact',
'barWidth' => '150px' );
		?>