<?php
			$optionsArray = array( 'list' => array( 'inlineAdd' => false,
'detailsAdd' => false,
'inlineEdit' => false,
'delete' => true,
'updateSelected' => false,
'clickSort' => true,
'sortDropdown' => false,
'showHideFields' => false,
'reorderFields' => false ),
'allDetails' => array( 'linkType' => 1 ),
'details' => array( 'purchase_details' => array( 'displayPreview' => 1,
'previewPageId' => 'list_list',
'showCount' => true,
'hideEmptyChild' => false,
'hideEmptyPreview' => false,
'showProceedLink' => false,
'printDetails' => true ) ),
'listSearch' => array( 'alwaysOnPanelFields' => array(  ),
'searchPanel' => true,
'fixedSearchPanel' => false,
'simpleSearchOptions' => false,
'searchSaving' => false ),
'totals' => array( 'id' => array( 'totalsType' => '' ),
'purchase_date' => array( 'totalsType' => '' ),
'seller' => array( 'totalsType' => '' ),
'transport_by' => array( 'totalsType' => '' ),
'transport_cost' => array( 'totalsType' => '' ),
'invoice_image' => array( 'totalsType' => '' ),
'other_expenses' => array( 'totalsType' => '' ),
'note' => array( 'totalsType' => '' ),
'total handling cost' => array( 'totalsType' => '' ),
'handling cost per unit' => array( 'totalsType' => '' ),
'total_cost' => array( 'totalsType' => '' ) ),
'fields' => array( 'gridFields' => array( 'id',
'purchase_date',
'seller',
'transport_by',
'transport_cost',
'invoice_image',
'other_expenses',
'total_cost',
'note',
'total handling cost',
'handling cost per unit' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array( 'id',
'total_cost',
'handling cost per unit',
'total handling cost',
'transport_cost',
'transport_by',
'seller',
'purchase_date',
'other_expenses',
'note',
'invoice_image' ),
'filterFields' => array(  ),
'inlineAddFields' => array(  ),
'inlineEditFields' => array(  ),
'fieldItems' => array( 'id' => array( 'simple_grid_field',
'simple_grid_field8' ),
'purchase_date' => array( 'simple_grid_field1',
'simple_grid_field10' ),
'seller' => array( 'simple_grid_field2',
'simple_grid_field13' ),
'transport_by' => array( 'simple_grid_field3',
'simple_grid_field14' ),
'transport_cost' => array( 'simple_grid_field4',
'simple_grid_field15' ),
'invoice_image' => array( 'simple_grid_field5' ),
'other_expenses' => array( 'simple_grid_field6',
'simple_grid_field16' ),
'total_cost' => array( 'simple_grid_field7',
'simple_grid_field21' ),
'note' => array( 'simple_grid_field9' ),
'total handling cost' => array( 'simple_grid_field11',
'simple_grid_field19' ),
'handling cost per unit' => array( 'simple_grid_field12',
'simple_grid_field20' ) ),
'hideEmptyFields' => array(  ) ),
'pageLinks' => array( 'edit' => true,
'add' => true,
'view' => true,
'print' => true ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'left' => array( 'logo1',
'expand_button',
'search_panel' ),
'supertop' => array( 'collapse_button',
'list_options' ),
'above-grid' => array( 'add',
'delete',
'simple_search',
'details_found',
'page_size',
'print_panel' ),
'below-grid' => array( 'pagination' ),
'grid' => array( 'simple_grid_field8',
'simple_grid_field10',
'simple_grid_field13',
'simple_grid_field14',
'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field3',
'simple_grid_field15',
'simple_grid_field16',
'simple_grid_field19',
'simple_grid_field20',
'simple_grid_field4',
'simple_grid_field6',
'simple_grid_field11',
'simple_grid_field12',
'simple_grid_field21',
'simple_grid_field7',
'details_preview',
'grid_edit',
'grid_view',
'grid_checkbox_head',
'grid_checkbox',
'grid_details_link',
'simple_grid_field5',
'simple_grid_field9' ),
'top' => array(  ) ),
'formXtTags' => array( 'below-grid' => array( 'pagination' ),
'top' => array(  ) ),
'itemForms' => array( 'logo1' => 'left',
'expand_button' => 'left',
'search_panel' => 'left',
'collapse_button' => 'supertop',
'list_options' => 'supertop',
'add' => 'above-grid',
'delete' => 'above-grid',
'simple_search' => 'above-grid',
'details_found' => 'above-grid',
'page_size' => 'above-grid',
'print_panel' => 'above-grid',
'pagination' => 'below-grid',
'simple_grid_field8' => 'grid',
'simple_grid_field10' => 'grid',
'simple_grid_field13' => 'grid',
'simple_grid_field14' => 'grid',
'simple_grid_field' => 'grid',
'simple_grid_field1' => 'grid',
'simple_grid_field2' => 'grid',
'simple_grid_field3' => 'grid',
'simple_grid_field15' => 'grid',
'simple_grid_field16' => 'grid',
'simple_grid_field19' => 'grid',
'simple_grid_field20' => 'grid',
'simple_grid_field4' => 'grid',
'simple_grid_field6' => 'grid',
'simple_grid_field11' => 'grid',
'simple_grid_field12' => 'grid',
'simple_grid_field21' => 'grid',
'simple_grid_field7' => 'grid',
'details_preview' => 'grid',
'grid_edit' => 'grid',
'grid_view' => 'grid',
'grid_checkbox_head' => 'grid',
'grid_checkbox' => 'grid',
'grid_details_link' => 'grid',
'simple_grid_field5' => 'grid',
'simple_grid_field9' => 'grid' ),
'itemLocations' => array( 'simple_grid_field8' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field10' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field13' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field14' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field15' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field16' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field19' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field20' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field4' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'simple_grid_field6' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'simple_grid_field11' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'simple_grid_field12' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'simple_grid_field21' => array( 'location' => 'grid',
'cellId' => 'headcell_field10' ),
'simple_grid_field7' => array( 'location' => 'grid',
'cellId' => 'cell_field10' ),
'details_preview' => array( 'location' => 'grid',
'cellId' => 'cell_dpreview' ),
'grid_edit' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_view' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_checkbox_head' => array( 'location' => 'grid',
'cellId' => 'headcell_checkbox' ),
'grid_checkbox' => array( 'location' => 'grid',
'cellId' => 'cell_checkbox' ),
'grid_details_link' => array( 'location' => 'grid',
'cellId' => 'cell_checkbox' ),
'simple_grid_field5' => array( 'location' => 'grid',
'cellId' => 'cell_dpreview1' ),
'simple_grid_field9' => array( 'location' => 'grid',
'cellId' => 'cell_dpreview2' ) ),
'itemVisiblity' => array( 'expand_button' => 5,
'search_panel' => 5,
'collapse_button' => 5,
'list_options' => 3,
'simple_search' => 3,
'print_panel' => 5 ) ),
'itemsByType' => array( 'page_size' => array( 'page_size' ),
'details_found' => array( 'details_found' ),
'simple_search' => array( 'simple_search' ),
'pagination' => array( 'pagination' ),
'search_panel' => array( 'search_panel' ),
'list_options' => array( 'list_options' ),
'show_search_panel' => array( 'show_search_panel' ),
'hide_search_panel' => array( 'hide_search_panel' ),
'search_panel_field' => array( 'search_panel_field',
'search_panel_field1',
'search_panel_field2',
'search_panel_field3',
'search_panel_field4',
'search_panel_field5',
'search_panel_field6',
'search_panel_field8',
'search_panel_field9',
'search_panel_field11',
'search_panel_field12' ),
'collapse_button' => array( 'collapse_button' ),
'add' => array( 'add' ),
'grid_edit' => array( 'grid_edit' ),
'grid_view' => array( 'grid_view' ),
'print_panel' => array( 'print_panel' ),
'print_scope' => array( 'print_scope' ),
'print_button' => array( 'print_button' ),
'print_records' => array( 'print_records' ),
'grid_checkbox' => array( 'grid_checkbox' ),
'grid_checkbox_head' => array( 'grid_checkbox_head' ),
'export' => array( 'export' ),
'-' => array( '-',
'-1',
'-2',
'-3' ),
'export_selected' => array( 'export_selected' ),
'import' => array( 'import' ),
'delete' => array( 'delete' ),
'delete_selected' => array( 'delete_selected' ),
'advsearch_link' => array( 'advsearch_link' ),
'grid_field' => array( 'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field3',
'simple_grid_field4',
'simple_grid_field5',
'simple_grid_field6',
'simple_grid_field7',
'simple_grid_field9',
'simple_grid_field11',
'simple_grid_field12' ),
'details_preview' => array( 'details_preview' ),
'grid_details_link' => array( 'grid_details_link' ),
'print_details' => array( 'print_details' ),
'logo' => array( 'logo1' ),
'grid_field_label' => array( 'simple_grid_field8',
'simple_grid_field10',
'simple_grid_field13',
'simple_grid_field14',
'simple_grid_field15',
'simple_grid_field16',
'simple_grid_field19',
'simple_grid_field20',
'simple_grid_field21' ),
'expand_button' => array( 'expand_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox_head' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field' => array( 'cols' => array( 2 ),
'rows' => array( 0 ),
'tags' => array( 'id_fieldheadercolumn',
'purchase_date_fieldheadercolumn',
'seller_fieldheadercolumn',
'transport_by_fieldheadercolumn' ),
'items' => array( 'simple_grid_field8',
'simple_grid_field10',
'simple_grid_field13',
'simple_grid_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field4' => array( 'cols' => array( 3 ),
'rows' => array( 0 ),
'tags' => array( 'transport_cost_fieldheadercolumn',
'other_expenses_fieldheadercolumn',
'total_handling_cost_fieldheadercolumn',
'handling_cost_per_unit_fieldheadercolumn' ),
'items' => array( 'simple_grid_field15',
'simple_grid_field16',
'simple_grid_field19',
'simple_grid_field20' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 0 ),
'tags' => array( 'total_cost_fieldheadercolumn' ),
'items' => array( 'simple_grid_field21' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'edit_column',
'view_column' ),
'items' => array( 'grid_edit',
'grid_view' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'grid_checkbox',
'grid_details_link' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'cell_field' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array( 'id_fieldcolumn',
'purchase_date_fieldcolumn',
'seller_fieldcolumn',
'transport_by_fieldcolumn' ),
'items' => array( 'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field4' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'transport_cost_fieldcolumn',
'other_expenses_fieldcolumn',
'total_handling_cost_fieldcolumn',
'handling_cost_per_unit_fieldcolumn' ),
'items' => array( 'simple_grid_field4',
'simple_grid_field6',
'simple_grid_field11',
'simple_grid_field12' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'total_cost_fieldcolumn' ),
'items' => array( 'simple_grid_field7' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_dpreview' => array( 'cols' => array( 0,
1,
2,
3,
4 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'details_preview' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'cell_dpreview2' => array( 'cols' => array( 0,
1,
2,
3,
4 ),
'rows' => array( 3 ),
'tags' => array( 'note_fieldcolumn' ),
'items' => array( 'simple_grid_field9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_dpreview1' => array( 'cols' => array( 0,
1,
2,
3,
4 ),
'rows' => array( 4 ),
'tags' => array( 'invoice_image_fieldcolumn' ),
'items' => array( 'simple_grid_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field' => array( 'cols' => array( 2 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field4' => array( 'cols' => array( 3 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field10' => array( 'cols' => array( 4 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 5,
'height' => 6 ) ) ),
'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' => false ),
'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( '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' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'list_options' ),
'_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',
'colspan' => 1 ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'add',
'delete',
'simple_search',
'details_found',
'page_size',
'print_panel' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'padding' => array( 'top' => '5px',
'bottom' => '5px',
'left' => '10px',
'right' => '10px' ) ) ),
'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_checkbox' ),
array( 'cell' => 'headcell_field' ),
array( 'cell' => 'headcell_field4' ),
array( 'cell' => 'headcell_field10' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_icons' ),
array( 'cell' => 'cell_checkbox' ),
array( 'cell' => 'cell_field' ),
array( 'cell' => 'cell_field4' ),
array( 'cell' => 'cell_field10' ) ) ),
array( 'cells' => array( array( 'cell' => 'cell_dpreview',
'colspan' => 5 ) ),
'section' => 'body' ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_dpreview2',
'colspan' => 5 ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_dpreview1',
'colspan' => 5 ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons' ),
array( 'cell' => 'footcell_checkbox' ),
array( 'cell' => 'footcell_field' ),
array( 'cell' => 'footcell_field4' ),
array( 'cell' => 'footcell_field10' ) ) ) ),
'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field8',
'simple_grid_field10',
'simple_grid_field13',
'simple_grid_field14' ),
'field' => 'id',
'orientation' => 'vertical',
'align' => 'center',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field3' ),
'field' => 'id',
'orientation' => 'vertical',
'columnName' => '',
'align' => 'left',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_field' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'headcell_field4' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field15',
'simple_grid_field16',
'simple_grid_field19',
'simple_grid_field20' ),
'field' => 'transport_cost',
'orientation' => 'vertical',
'align' => 'center',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field4' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field4',
'simple_grid_field6',
'simple_grid_field11',
'simple_grid_field12' ),
'field' => 'transport_cost',
'orientation' => 'vertical',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_field4' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'headcell_field10' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field21' ),
'field' => 'total_cost',
'align' => 'center',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field10' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field7' ),
'field' => 'total_cost',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_field10' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_dpreview' => array( 'model' => 'cell_dpreview',
'items' => array( 'details_preview' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'columnName' => '' ),
'headcell_icons' => array( 'model' => 'headcell_icons',
'items' => array(  ),
'orientation' => 'vertical',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_icons' => array( 'model' => 'cell_icons',
'items' => array( 'grid_edit',
'grid_view' ),
'orientation' => 'vertical',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array(  ),
'columnName' => '' ),
'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
'items' => array( 'grid_checkbox_head' ),
'orientation' => 'vertical',
'align' => 'center',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_checkbox' => array( 'model' => 'cell_checkbox',
'items' => array( 'grid_checkbox',
'grid_details_link' ),
'orientation' => 'vertical',
'columnName' => '',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_checkbox' => array( 'model' => 'footcell_checkbox',
'items' => array(  ),
'columnName' => '' ),
'cell_dpreview1' => array( 'model' => 'cell_dpreview',
'items' => array( 'simple_grid_field5' ),
'columnName' => 'field',
'field' => 'invoice_image' ),
'cell_dpreview2' => array( 'model' => 'cell_dpreview',
'items' => array( 'simple_grid_field9' ),
'columnName' => 'field',
'field' => 'note' ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'top' => array( 'modelId' => 'list-sidebar-top',
'grid' => array(  ),
'cells' => array(  ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ) ),
'items' => array( 'page_size' => array( 'type' => 'page_size' ),
'details_found' => array( 'type' => 'details_found' ),
'simple_search' => array( 'type' => 'simple_search' ),
'pagination' => array( 'type' => 'pagination' ),
'search_panel' => array( 'type' => 'search_panel',
'items' => array( 'search_panel_field',
'search_panel_field6',
'search_panel_field12',
'search_panel_field11',
'search_panel_field9',
'search_panel_field8',
'search_panel_field5',
'search_panel_field4',
'search_panel_field3',
'search_panel_field2',
'search_panel_field1' ) ),
'list_options' => array( 'type' => 'list_options',
'items' => array( 'export_selected',
'delete_selected',
'-3',
'advsearch_link',
'show_search_panel',
'hide_search_panel',
'-1',
'export',
'-2',
'import' ) ),
'show_search_panel' => array( 'type' => 'show_search_panel' ),
'hide_search_panel' => array( 'type' => 'hide_search_panel' ),
'search_panel_field' => array( 'field' => 'id',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field1' => array( 'field' => 'invoice_image',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field2' => array( 'field' => 'note',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field3' => array( 'field' => 'other_expenses',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field4' => array( 'field' => 'purchase_date',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field5' => array( 'field' => 'seller',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field6' => array( 'field' => 'total_cost',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field8' => array( 'field' => 'transport_by',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field9' => array( 'field' => 'transport_cost',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'add' => array( 'type' => 'add' ),
'grid_edit' => array( 'type' => 'grid_edit',
'buttonStyle' => 'warning',
'buttonSize' => 'small' ),
'grid_view' => array( 'type' => 'grid_view',
'icon' => array( 'fa' => 'print' ),
'buttonStyle' => 'success',
'buttonSize' => 'small' ),
'print_panel' => array( 'type' => 'print_panel',
'items' => array( 'print_scope',
'print_details',
'print_records',
'print_button' ) ),
'print_scope' => array( 'type' => 'print_scope' ),
'print_button' => array( 'type' => 'print_button' ),
'print_records' => array( 'type' => 'print_records' ),
'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
'export' => array( 'type' => 'export' ),
'-' => array( 'type' => '-' ),
'export_selected' => array( 'type' => 'export_selected' ),
'-1' => array( 'type' => '-' ),
'import' => array( 'type' => 'import' ),
'-2' => array( 'type' => '-' ),
'delete' => array( 'type' => 'delete' ),
'delete_selected' => array( 'type' => 'delete_selected' ),
'advsearch_link' => array( 'type' => 'advsearch_link' ),
'-3' => array( 'type' => '-' ),
'simple_grid_field' => array( 'field' => 'id',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field1' => array( 'field' => 'purchase_date',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field2' => array( 'field' => 'seller',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field3' => array( 'field' => 'transport_by',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field4' => array( 'field' => 'transport_cost',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field5' => array( 'field' => 'invoice_image',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field6' => array( 'field' => 'other_expenses',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field7' => array( 'field' => 'total_cost',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field9' => array( 'field' => 'note',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'details_preview' => array( 'type' => 'details_preview',
'table' => 'purchase_details',
'items' => array(  ),
'popup' => false,
'proceedLink' => false,
'hideEmptyPreview' => false,
'pageId' => 'list_list' ),
'grid_details_link' => array( 'type' => 'grid_details_link',
'table' => 'purchase_details',
'badge' => true,
'hideIfNone' => false,
'showCount' => true ),
'print_details' => array( 'type' => 'print_details',
'tables' => array( 'purchase_details' => true ) ),
'logo1' => array( 'type' => 'logo' ),
'simple_grid_field11' => array( 'field' => 'total handling cost',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field11' => array( 'field' => 'total handling cost',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field12' => array( 'field' => 'handling cost per unit',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'search_panel_field12' => array( 'field' => 'handling cost per unit',
'type' => 'search_panel_field',
'required' => false ),
'simple_grid_field8' => array( 'type' => 'grid_field_label',
'field' => 'id' ),
'simple_grid_field10' => array( 'type' => 'grid_field_label',
'field' => 'purchase_date' ),
'simple_grid_field13' => array( 'type' => 'grid_field_label',
'field' => 'seller' ),
'simple_grid_field14' => array( 'type' => 'grid_field_label',
'field' => 'transport_by' ),
'simple_grid_field15' => array( 'type' => 'grid_field_label',
'field' => 'transport_cost' ),
'simple_grid_field16' => array( 'type' => 'grid_field_label',
'field' => 'other_expenses' ),
'simple_grid_field19' => array( 'type' => 'grid_field_label',
'field' => 'total handling cost' ),
'simple_grid_field20' => array( 'type' => 'grid_field_label',
'field' => 'handling cost per unit' ),
'simple_grid_field21' => array( 'type' => 'grid_field_label',
'field' => 'total_cost' ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'responsiveGrid' => false,
'version' => 4,
'pageWidth' => 'compact' );
		?>