<?php
			$optionsArray = array( 'pdf' => array( 'pdfView' => false ),
'details' => array( 'sale_details' => array( 'displayPreview' => 1,
'previewPageId' => 'list_list' ) ),
'fields' => array( 'gridFields' => array( 'id',
'sale_date',
'buyer_code',
'seller_id',
'note',
'amount_paid' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'id' => array( 'integrated_edit_field',
'integrated_edit_field4' ),
'sale_date' => array( 'integrated_edit_field1',
'integrated_edit_field7' ),
'buyer_code' => array( 'integrated_edit_field2',
'integrated_edit_field8' ),
'seller_id' => array( 'integrated_edit_field3',
'integrated_edit_field9' ),
'note' => array( 'integrated_edit_field6',
'integrated_edit_field10' ),
'amount_paid' => array( 'integrated_edit_field5',
'integrated_edit_field11' ) ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'top' => array( 'view_header',
'view_back_list' ),
'above-grid' => array(  ),
'below-grid' => array( 'view_close' ),
'grid' => array( 'integrated_edit_field4',
'integrated_edit_field',
'integrated_edit_field7',
'integrated_edit_field1',
'integrated_edit_field8',
'integrated_edit_field2',
'integrated_edit_field10',
'integrated_edit_field6',
'integrated_edit_field9',
'integrated_edit_field3',
'details_preview',
'integrated_edit_field11',
'integrated_edit_field5' ) ),
'formXtTags' => array( 'above-grid' => array(  ),
'below-grid' => array( 'close_button' ) ),
'itemForms' => array( 'view_header' => 'top',
'view_back_list' => 'top',
'view_close' => 'below-grid',
'integrated_edit_field4' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field7' => 'grid',
'integrated_edit_field1' => 'grid',
'integrated_edit_field8' => 'grid',
'integrated_edit_field2' => 'grid',
'integrated_edit_field10' => 'grid',
'integrated_edit_field6' => 'grid',
'integrated_edit_field9' => 'grid',
'integrated_edit_field3' => 'grid',
'details_preview' => 'grid',
'integrated_edit_field11' => 'grid',
'integrated_edit_field5' => 'grid' ),
'itemLocations' => array( 'integrated_edit_field4' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field7' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'integrated_edit_field8' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field10' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field6' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field9' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'details_preview' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'integrated_edit_field11' => array( 'location' => 'grid',
'cellId' => 'c12' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c12' ) ),
'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_field',
'integrated_edit_field1',
'integrated_edit_field2',
'integrated_edit_field3',
'integrated_edit_field6',
'integrated_edit_field5' ),
'details_preview' => array( 'details_preview' ),
'edit_field_label' => array( 'integrated_edit_field4',
'integrated_edit_field7',
'integrated_edit_field8',
'integrated_edit_field9',
'integrated_edit_field10',
'integrated_edit_field11' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c4' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field4',
'integrated_edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c2' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field7',
'integrated_edit_field1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field8',
'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c6' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c7' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field10',
'integrated_edit_field6' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c8' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 0 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field9',
'integrated_edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 1 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c1' => array( 'cols' => array( 0,
1 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'details_preview' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c11' => array( 'cols' => array( 0 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c12' => array( 'cols' => array( 1 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field11',
'integrated_edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 2,
'height' => 6 ) ) ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'hasCustomButtons' => false,
'customButtons' => array(  ) ),
'misc' => array( 'type' => 'view',
'breadcrumb' => false,
'nextPrev' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ) );
			$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' => '' ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c' ) ) ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'view_header' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center' ),
'c' => array( 'model' => 'c1',
'items' => array( 'view_back_list' ),
'align' => 'center' ) ),
'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_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' => 'c5' ),
array( 'cell' => 'c6' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c7' ),
array( 'cell' => 'c8' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c9' ),
array( 'cell' => 'c10' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 2 ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c11' ),
array( 'cell' => 'c12' ) ),
'section' => '' ) ),
'cells' => array( 'c4' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field4',
'integrated_edit_field' ),
'field' => 'id',
'align' => 'left' ),
'c2' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field7',
'integrated_edit_field1' ),
'field' => 'id',
'align' => 'center' ),
'c5' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field8',
'integrated_edit_field2' ),
'field' => 'buyer_code',
'align' => 'left' ),
'c6' => array( 'model' => 'c2',
'items' => array(  ),
'field' => 'buyer_code' ),
'c7' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field10',
'integrated_edit_field6' ),
'field' => 'seller_id',
'align' => 'left' ),
'c8' => array( 'model' => 'c2',
'items' => array(  ),
'field' => 'seller_id' ),
'c9' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field9',
'integrated_edit_field3' ),
'field' => 'note',
'align' => 'left' ),
'c10' => array( 'model' => 'c2',
'items' => array(  ),
'field' => 'note' ),
'c1' => array( 'model' => 'c1',
'items' => array( 'details_preview' ),
'field' => null ),
'c11' => array( 'model' => 'c4',
'items' => array(  ),
'field' => 'amount_paid' ),
'c12' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field11',
'integrated_edit_field5' ),
'field' => 'amount_paid',
'align' => 'right' ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => true,
'separateLabels' => true ) ),
'items' => array( 'view_header' => array( 'type' => 'view_header' ),
'view_back_list' => array( 'type' => 'view_back_list',
'buttonStyle' => 'success',
'buttonSize' => 'large',
'label' => array( 'type' => 0,
'text' => '< Back to list' ) ),
'view_close' => array( 'type' => 'view_close',
'buttonStyle' => 'warning',
'buttonSize' => 'large' ),
'integrated_edit_field' => array( 'field' => 'id',
'type' => 'edit_field' ),
'integrated_edit_field1' => array( 'field' => 'sale_date',
'type' => 'edit_field' ),
'integrated_edit_field2' => array( 'field' => 'buyer_code',
'type' => 'edit_field' ),
'integrated_edit_field3' => array( 'field' => 'seller_id',
'type' => 'edit_field' ),
'integrated_edit_field6' => array( 'field' => 'note',
'type' => 'edit_field' ),
'details_preview' => array( 'type' => 'details_preview',
'table' => 'sale_details',
'items' => array(  ),
'popup' => false,
'pageId' => 'list_list' ),
'integrated_edit_field5' => array( 'field' => 'amount_paid',
'type' => 'edit_field' ),
'integrated_edit_field4' => array( 'type' => 'edit_field_label',
'field' => 'id' ),
'integrated_edit_field7' => array( 'type' => 'edit_field_label',
'field' => 'sale_date' ),
'integrated_edit_field8' => array( 'type' => 'edit_field_label',
'field' => 'buyer_code' ),
'integrated_edit_field9' => array( 'type' => 'edit_field_label',
'field' => 'seller_id' ),
'integrated_edit_field10' => array( 'type' => 'edit_field_label',
'field' => 'note' ),
'integrated_edit_field11' => array( 'type' => 'edit_field_label',
'field' => 'amount_paid' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>