<?php
			$optionsArray = array( 'pdf' => array( 'pdfView' => false ),
'details' => array( 'collection' => array( 'displayPreview' => 1,
'previewPageId' => 'list' ) ),
'master' => array( 'Loan Ladger' => array( 'preview' => false ),
'Recovered' => array( 'preview' => false ),
'Closed' => array( 'preview' => false ),
'Defaulted' => array( 'preview' => false ),
'Loan Ladger All' => array( 'preview' => false ),
'rout_plans' => array( 'preview' => false ) ),
'fields' => array( 'gridFields' => array( 'loan_id',
'customer_id',
'details',
'collection_id',
'pay_date',
'amount',
'user',
'creat_at' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'loan_id' => array( 'integrated_edit_field1',
'integrated_edit_field9' ),
'customer_id' => array( 'integrated_edit_field4',
'integrated_edit_field10' ),
'details' => array( 'integrated_edit_field5',
'integrated_edit_field11' ),
'collection_id' => array( 'integrated_edit_field',
'integrated_edit_field13' ),
'pay_date' => array( 'integrated_edit_field2',
'integrated_edit_field14' ),
'amount' => array( 'integrated_edit_field3',
'integrated_edit_field15' ),
'user' => array( 'integrated_edit_field7' ),
'creat_at' => array( 'integrated_edit_field8' ) ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'top' => array( 'view_header',
'custom_button' ),
'above-grid' => array(  ),
'below-grid' => array( 'view_back_list',
'view_close' ),
'grid' => array( 'integrated_edit_field9',
'integrated_edit_field1',
'integrated_edit_field10',
'integrated_edit_field4',
'integrated_edit_field11',
'integrated_edit_field5',
'integrated_edit_field13',
'integrated_edit_field',
'integrated_edit_field14',
'integrated_edit_field2',
'integrated_edit_field15',
'integrated_edit_field3',
'integrated_edit_field7',
'integrated_edit_field8',
'details_preview' ) ),
'formXtTags' => array( 'above-grid' => array(  ),
'below-grid' => array( 'back_button',
'close_button' ) ),
'itemForms' => array( 'view_header' => 'top',
'custom_button' => 'top',
'view_back_list' => 'below-grid',
'view_close' => 'below-grid',
'integrated_edit_field9' => 'grid',
'integrated_edit_field1' => 'grid',
'integrated_edit_field10' => 'grid',
'integrated_edit_field4' => 'grid',
'integrated_edit_field11' => 'grid',
'integrated_edit_field5' => 'grid',
'integrated_edit_field13' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field14' => 'grid',
'integrated_edit_field2' => 'grid',
'integrated_edit_field15' => 'grid',
'integrated_edit_field3' => 'grid',
'integrated_edit_field7' => 'grid',
'integrated_edit_field8' => 'grid',
'details_preview' => 'grid' ),
'itemLocations' => array( 'integrated_edit_field9' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'integrated_edit_field10' => array( 'location' => 'grid',
'cellId' => 'c' ),
'integrated_edit_field4' => array( 'location' => 'grid',
'cellId' => 'c3' ),
'integrated_edit_field11' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c6' ),
'integrated_edit_field13' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c10' ),
'integrated_edit_field14' => array( 'location' => 'grid',
'cellId' => 'c11' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c12' ),
'integrated_edit_field15' => array( 'location' => 'grid',
'cellId' => 'c13' ),
'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c14' ),
'integrated_edit_field7' => array( 'location' => 'grid',
'cellId' => 'c15' ),
'integrated_edit_field8' => array( 'location' => 'grid',
'cellId' => 'c16' ),
'details_preview' => array( 'location' => 'grid',
'cellId' => 'c1' ) ),
'itemVisiblity' => array(  ) ),
'itemsByType' => array( 'view_header' => array( 'view_header' ),
'view_back_list' => array( 'view_back_list' ),
'view_close' => array( 'view_close' ),
'edit_field' => array( 'integrated_edit_field1',
'integrated_edit_field4',
'integrated_edit_field5',
'integrated_edit_field',
'integrated_edit_field2',
'integrated_edit_field3',
'integrated_edit_field7',
'integrated_edit_field8' ),
'custom_button' => array( 'custom_button' ),
'details_preview' => array( 'details_preview' ),
'edit_field_label' => array( 'integrated_edit_field9',
'integrated_edit_field10',
'integrated_edit_field11',
'integrated_edit_field13',
'integrated_edit_field14',
'integrated_edit_field15' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c4' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array( 'loan_id_fieldblock' ),
'items' => array( 'integrated_edit_field9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c2' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'customer_id_fieldblock' ),
'items' => array( 'integrated_edit_field10' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c3' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array( 'details_fieldblock' ),
'items' => array( 'integrated_edit_field11' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c6' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 0 ),
'rows' => array( 3 ),
'tags' => array( 'collection_id_fieldblock' ),
'items' => array( 'integrated_edit_field13' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 1 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c11' => array( 'cols' => array( 0 ),
'rows' => array( 4 ),
'tags' => array( 'pay_date_fieldblock' ),
'items' => array( 'integrated_edit_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c12' => array( 'cols' => array( 1 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c13' => array( 'cols' => array( 0 ),
'rows' => array( 5 ),
'tags' => array( 'amount_fieldblock' ),
'items' => array( 'integrated_edit_field15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c14' => array( 'cols' => array( 1 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c15' => array( 'cols' => array( 0 ),
'rows' => array( 6 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field7' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c16' => array( 'cols' => array( 1 ),
'rows' => array( 6 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field8' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c1' => array( 'cols' => array( 0,
1 ),
'rows' => array( 7 ),
'tags' => array(  ),
'items' => array( 'details_preview' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 2,
'height' => 8 ) ) ),
'loginForm' => array( 'loginForm' => 3 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'hasCustomButtons' => true,
'customButtons' => array( 'New_Button1' ) ),
'misc' => array( 'type' => 'view',
'breadcrumb' => false,
'nextPrev' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array( 'New_Button1' ) ) );
			$pageArray = array( 'id' => 'view',
'type' => 'view',
'layoutId' => 'nomenu',
'disabled' => 0,
'default' => 0,
'forms' => array( 'top' => array( 'modelId' => 'view-header',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'view_header',
'custom_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'view-above-grid',
'grid' => array(  ),
'cells' => array(  ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'view-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 1 ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'view_back_list',
'view_close' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center' ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'simple-edit',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c4' ),
array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c' ),
array( 'cell' => 'c3' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c5' ),
array( 'cell' => 'c6' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c9' ),
array( 'cell' => 'c10' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c11' ),
array( 'cell' => 'c12' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c13' ),
array( 'cell' => 'c14' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c15' ),
array( 'cell' => 'c16' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 2 ) ),
'section' => '' ) ),
'cells' => array( 'c4' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field9' ),
'field' => 'loan_id' ),
'c2' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field1' ),
'field' => 'loan_id' ),
'c' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field10' ),
'field' => 'customer_id' ),
'c3' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field4' ),
'field' => 'customer_id' ),
'c5' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field11' ),
'field' => 'details' ),
'c6' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field5' ),
'field' => 'details' ),
'c9' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field13' ),
'field' => 'collection_id' ),
'c10' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field' ),
'field' => 'collection_id' ),
'c11' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field14' ),
'field' => 'pay_date' ),
'c12' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field2' ),
'field' => 'pay_date' ),
'c13' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field15' ),
'field' => 'amount' ),
'c14' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field3' ),
'field' => 'amount' ),
'c15' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field7' ),
'field' => 'user' ),
'c16' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field8' ),
'field' => 'user' ),
'c1' => array( 'model' => 'c1',
'items' => array( 'details_preview' ),
'field' => null,
'align' => 'center' ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => true,
'separateLabels' => true ) ),
'items' => array( 'view_header' => array( 'type' => 'view_header' ),
'view_back_list' => array( 'type' => 'view_back_list' ),
'view_close' => array( 'type' => 'view_close' ),
'integrated_edit_field1' => array( 'field' => 'loan_id',
'type' => 'edit_field' ),
'integrated_edit_field4' => array( 'field' => 'customer_id',
'type' => 'edit_field' ),
'integrated_edit_field5' => array( 'field' => 'details',
'type' => 'edit_field' ),
'integrated_edit_field' => array( 'field' => 'collection_id',
'type' => 'edit_field' ),
'integrated_edit_field2' => array( 'field' => 'pay_date',
'type' => 'edit_field' ),
'integrated_edit_field3' => array( 'field' => 'amount',
'type' => 'edit_field',
'bold' => true,
'underline' => true ),
'integrated_edit_field7' => array( 'field' => 'user',
'type' => 'edit_field' ),
'integrated_edit_field8' => array( 'field' => 'creat_at',
'type' => 'edit_field' ),
'custom_button' => array( 'eventId' => 'New_Button1',
'label' => array( 'text' => '<  Back',
'type' => 0 ),
'type' => 'custom_button',
'buttonSize' => 'normal',
'buttonStyle' => 'success' ),
'details_preview' => array( 'type' => 'details_preview',
'table' => 'collection',
'items' => array(  ),
'popup' => false,
'pageId' => 'list' ),
'integrated_edit_field9' => array( 'type' => 'edit_field_label',
'field' => 'loan_id' ),
'integrated_edit_field10' => array( 'type' => 'edit_field_label',
'field' => 'customer_id' ),
'integrated_edit_field11' => array( 'type' => 'edit_field_label',
'field' => 'details' ),
'integrated_edit_field13' => array( 'type' => 'edit_field_label',
'field' => 'collection_id' ),
'integrated_edit_field14' => array( 'type' => 'edit_field_label',
'field' => 'pay_date' ),
'integrated_edit_field15' => array( 'type' => 'edit_field_label',
'field' => 'amount' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>