<?php
			$optionsArray = array( 'list' => array( 'inlineAdd' => true,
'detailsAdd' => true,
'inlineEdit' => true,
'delete' => true,
'updateSelected' => false,
'addInPopup' => null,
'clickSort' => true,
'sortDropdown' => false,
'showHideFields' => false,
'reorderFields' => false ),
'master' => array( 'sales' => array( 'preview' => false ),
'credit_sales' => array( 'preview' => false ) ),
'listSearch' => array( 'alwaysOnPanelFields' => array(  ),
'searchPanel' => true,
'fixedSearchPanel' => false,
'simpleSearchOptions' => false,
'searchSaving' => false ),
'totals' => array( 'id' => array( 'totalsType' => 'COUNT' ),
'bar_code' => array( 'totalsType' => '' ),
'product' => array( 'totalsType' => '' ),
'unit' => array( 'totalsType' => '' ),
'quntity' => array( 'totalsType' => '' ),
'price' => array( 'totalsType' => '' ),
'm_id' => array( 'totalsType' => '' ),
'sub_total' => array( 'totalsType' => 'TOTAL' ),
'user' => array( 'totalsType' => '' ),
'discount' => array( 'totalsType' => '' ),
'newp' => array( 'totalsType' => '' ),
'outlet_code' => array( 'totalsType' => '' ) ),
'fields' => array( 'gridFields' => array( 'id',
'bar_code',
'product',
'quntity',
'price',
'sub_total' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array( 'id',
'm_id',
'price',
'quntity',
'product',
'bar_code' ),
'filterFields' => array(  ),
'inlineAddFields' => array( 'bar_code',
'product',
'quntity',
'price' ),
'inlineEditFields' => array( 'bar_code',
'product',
'quntity',
'price' ),
'fieldItems' => array( 'id' => array( 'simple_grid_field',
'grid_field_totals' ),
'bar_code' => array( 'simple_grid_field1' ),
'product' => array( 'simple_grid_field2',
'simple_grid_field8' ),
'quntity' => array( 'simple_grid_field3',
'simple_grid_field9' ),
'price' => array( 'simple_grid_field4',
'simple_grid_field10' ),
'sub_total' => array( 'simple_grid_field5',
'simple_grid_field11',
'grid_field_totals1' ) ),
'hideEmptyFields' => array(  ) ),
'pageLinks' => array( 'edit' => true,
'add' => false,
'view' => true,
'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',
'inline_save_all',
'inline_cancel_all',
'delete',
'details_found',
'page_size',
'print_panel' ),
'below-grid' => array( 'pagination' ),
'grid' => array( 'simple_grid_field9',
'simple_grid_field3',
'simple_grid_field10',
'simple_grid_field11',
'simple_grid_field2',
'text2',
'simple_grid_field1',
'text3',
'grid_field_totals1',
'grid_edit',
'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel',
'grid_view',
'grid_checkbox_head',
'grid_checkbox',
'simple_grid_field4',
'simple_grid_field5',
'simple_grid_field8',
'text',
'text6',
'simple_grid_field',
'text5',
'grid_field_totals',
'text1' ),
'top' => array(  ) ),
'formXtTags' => array( 'above-grid' => array( 'inlineadd_link',
'saveall_link',
'cancelall_link',
'deleteselected_link',
'details_found',
'recsPerPage',
'print_friendly' ),
'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',
'inline_save_all' => 'above-grid',
'inline_cancel_all' => 'above-grid',
'delete' => 'above-grid',
'details_found' => 'above-grid',
'page_size' => 'above-grid',
'print_panel' => 'above-grid',
'pagination' => 'below-grid',
'simple_grid_field9' => 'grid',
'simple_grid_field3' => 'grid',
'simple_grid_field10' => 'grid',
'simple_grid_field11' => 'grid',
'simple_grid_field2' => 'grid',
'text2' => 'grid',
'simple_grid_field1' => 'grid',
'text3' => 'grid',
'grid_field_totals1' => 'grid',
'grid_edit' => 'grid',
'grid_inline_edit' => 'grid',
'grid_inline_save' => 'grid',
'grid_inline_cancel' => 'grid',
'grid_view' => 'grid',
'grid_checkbox_head' => 'grid',
'grid_checkbox' => 'grid',
'simple_grid_field4' => 'grid',
'simple_grid_field5' => 'grid',
'simple_grid_field8' => 'grid',
'text' => 'grid',
'text6' => 'grid',
'simple_grid_field' => 'grid',
'text5' => 'grid',
'grid_field_totals' => 'grid',
'text1' => 'grid' ),
'itemLocations' => array( 'simple_grid_field9' => array( 'location' => 'grid',
'cellId' => 'headcell_field1' ),
'simple_grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field2' ),
'simple_grid_field10' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field11' => array( 'location' => 'grid',
'cellId' => 'headcell_field5' ),
'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field5' ),
'text2' => array( 'location' => 'grid',
'cellId' => 'cell_field5' ),
'simple_grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field5' ),
'text3' => array( 'location' => 'grid',
'cellId' => 'cell_field5' ),
'grid_field_totals1' => array( 'location' => 'grid',
'cellId' => 'footcell_field5' ),
'grid_edit' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_inline_edit' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_inline_save' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_inline_cancel' => 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' ),
'simple_grid_field4' => array( 'location' => 'grid',
'cellId' => 'cell_field6' ),
'simple_grid_field5' => array( 'location' => 'grid',
'cellId' => 'cell_field8' ),
'simple_grid_field8' => array( 'location' => 'grid',
'cellId' => 'headcell_field8' ),
'text' => array( 'location' => 'grid',
'cellId' => 'footcell_field6' ),
'text6' => array( 'location' => 'grid',
'cellId' => 'headcell_field6' ),
'simple_grid_field' => array( 'location' => 'grid',
'cellId' => 'headcell_field12' ),
'text5' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ),
'grid_field_totals' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ),
'text1' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ) ),
'itemVisiblity' => array( 'expand_button' => 5,
'menu' => 3,
'search_panel' => 5,
'collapse_button' => 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' ),
'grid_field' => array( 'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field3',
'simple_grid_field4',
'simple_grid_field5' ),
'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_field6' ),
'inline_add' => array( 'inline_add' ),
'grid_inline_save' => array( 'grid_inline_save' ),
'grid_inline_cancel' => array( 'grid_inline_cancel' ),
'inline_save_all' => array( 'inline_save_all' ),
'inline_cancel_all' => array( 'inline_cancel_all' ),
'edit_selected' => array( 'edit_selected' ),
'-' => array( '-' ),
'grid_inline_edit' => array( 'grid_inline_edit' ),
'grid_checkbox_head' => array( 'grid_checkbox_head' ),
'grid_checkbox' => array( 'grid_checkbox' ),
'delete' => array( 'delete' ),
'delete_selected' => array( 'delete_selected' ),
'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' ),
'collapse_button' => array( 'collapse_button' ),
'logo' => array( 'logo1' ),
'grid_field_label' => array( 'simple_grid_field8',
'simple_grid_field9',
'simple_grid_field10',
'simple_grid_field11' ),
'grid_field_totals' => array( 'grid_field_totals',
'grid_field_totals1' ),
'text' => array( 'text',
'text2',
'text3',
'text1',
'text5',
'text6' ),
'username_button' => array( 'username_button' ),
'changepassword_link' => array( 'changepassword_link' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'expand_button' => array( 'expand_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field2' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field3' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field6' => array( 'cols' => array( 2 ),
'rows' => array( 0,
1 ),
'tags' => array(  ),
'items' => array( 'text6' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'headcell_field8' => array( 'cols' => array( 3,
4,
5 ),
'rows' => array( 0 ),
'tags' => array( 'product_fieldheadercolumn' ),
'items' => array( 'simple_grid_field8' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox_head' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field1' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'quntity_fieldheadercolumn' ),
'items' => array( 'simple_grid_field9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field4' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'price_fieldheadercolumn' ),
'items' => array( 'simple_grid_field10' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field5' => array( 'cols' => array( 5 ),
'rows' => array( 1 ),
'tags' => array( 'sub_total_fieldheadercolumn' ),
'items' => array( 'simple_grid_field11' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 2,
3 ),
'tags' => array( 'edit_column',
'inlineedit_column',
'inline_save',
'inline_cancel',
'view_column' ),
'items' => array( 'grid_edit',
'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel',
'grid_view' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 2,
3 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field12' => array( 'cols' => array( 2 ),
'rows' => array( 2,
3 ),
'tags' => array( 'id_fieldcolumn' ),
'items' => array( 'simple_grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field5' => array( 'cols' => array( 3,
4,
5 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'simple_grid_field2',
'text2',
'simple_grid_field1',
'text3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'cell_field2' => array( 'cols' => array( 3 ),
'rows' => array( 3 ),
'tags' => array( 'quntity_fieldcolumn' ),
'items' => array( 'simple_grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field6' => array( 'cols' => array( 4 ),
'rows' => array( 3 ),
'tags' => array( 'price_fieldcolumn' ),
'items' => array( 'simple_grid_field4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field8' => array( 'cols' => array( 5 ),
'rows' => array( 3 ),
'tags' => array( 'sub_total_fieldcolumn' ),
'items' => array( 'simple_grid_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field14' => array( 'cols' => array( 2,
3 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'text5',
'grid_field_totals',
'text1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'footcell_field6' => array( 'cols' => array( 4 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'text' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'footcell_field5' => array( 'cols' => array( 5 ),
'rows' => array( 4 ),
'tags' => array( 'sub_total_fieldfootercolumn' ),
'items' => array( 'grid_field_totals1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 6,
'height' => 5 ) ) ),
'loginForm' => array( 'loginForm' => 1 ),
'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_view',
'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' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'inline_add',
'inline_save_all',
'inline_cancel_all',
'delete' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'details_found',
'page_size',
'print_panel' ),
'_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_field2' ),
array( 'cell' => 'headcell_field3' ),
array( 'cell' => 'headcell_field6',
'rowspan' => 2 ),
array( 'cell' => 'headcell_field8',
'colspan' => 3 ) ) ),
array( 'section' => 'head',
'cells' => array( array( 'cell' => 'headcell_icons' ),
array( 'cell' => 'headcell_checkbox' ),
array( 'cell' => 'headcell_field1' ),
array( 'cell' => 'headcell_field4' ),
array( 'cell' => 'headcell_field5' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_icons',
'rowspan' => 2 ),
array( 'cell' => 'cell_checkbox',
'rowspan' => 2 ),
array( 'cell' => 'headcell_field12',
'rowspan' => 2 ),
array( 'cell' => 'cell_field5',
'colspan' => 3 ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_field2' ),
array( 'cell' => 'cell_field6' ),
array( 'cell' => 'cell_field8' ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons' ),
array( 'cell' => 'footcell_checkbox' ),
array( 'cell' => 'headcell_field14',
'colspan' => 2 ),
array( 'cell' => 'footcell_field6' ),
array( 'cell' => 'footcell_field5' ) ) ) ),
'cells' => array( 'headcell_field1' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field9' ),
'field' => 'quntity',
'columnName' => 'field',
'align' => 'center',
'orientation' => 'vertical',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field2' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field3' ),
'field' => 'quntity',
'columnName' => 'field',
'align' => 'left',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field4' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field10' ),
'field' => 'price',
'columnName' => 'field',
'align' => 'center',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field5' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field11' ),
'field' => 'sub_total',
'columnName' => 'field',
'align' => 'center',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field5' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field2',
'text2',
'simple_grid_field1',
'text3' ),
'field' => 'product',
'columnName' => '',
'align' => 'left',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_field5' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals1' ),
'field' => 'sub_total',
'columnName' => 'field',
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_icons' => array( 'model' => 'headcell_icons',
'items' => array(  ),
'columnName' => 'list-icons' ),
'cell_icons' => array( 'model' => 'cell_icons',
'items' => array( 'grid_edit',
'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel',
'grid_view' ),
'columnName' => 'list-icons' ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array(  ),
'columnName' => 'list-icons' ),
'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
'items' => array( 'grid_checkbox_head' ),
'columnName' => 'checkbox' ),
'cell_checkbox' => array( 'model' => 'cell_checkbox',
'items' => array( 'grid_checkbox' ),
'columnName' => 'checkbox' ),
'footcell_checkbox' => array( 'model' => 'footcell_checkbox',
'items' => array(  ),
'columnName' => 'checkbox' ),
'cell_field6' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field4' ),
'field' => 'price',
'columnName' => 'field',
'align' => 'center',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field8' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field5' ),
'field' => 'sub_total',
'columnName' => 'field',
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field8' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field8' ),
'columnName' => 'field',
'field' => 'product',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'left' ),
'headcell_field2' => array( 'model' => 'headcell_icons',
'items' => array(  ),
'columnName' => 'list-icons' ),
'headcell_field3' => array( 'model' => 'headcell_checkbox',
'items' => array(  ),
'columnName' => 'checkbox' ),
'footcell_field6' => array( 'model' => 'footcell_field',
'items' => array( 'text' ),
'columnName' => '',
'align' => 'right' ),
'headcell_field6' => array( 'model' => 'headcell_field',
'items' => array( 'text6' ),
'align' => 'center',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'columnName' => '' ),
'headcell_field12' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field' ),
'align' => 'center',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'columnName' => 'field',
'field' => 'id' ),
'headcell_field14' => array( 'model' => 'footcell_field',
'items' => array( 'text5',
'grid_field_totals',
'text1' ),
'columnName' => '',
'field' => 'id',
'align' => 'left' ) ),
'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' ),
'breadcrumb' => array( 'type' => 'breadcrumb' ),
'menu' => array( 'type' => 'menu' ),
'simple_search' => array( 'type' => 'simple_search' ),
'pagination' => array( 'type' => 'pagination' ),
'simple_grid_field' => array( 'field' => 'id',
'type' => 'grid_field',
'clickSort' => true,
'inlineAdd' => false,
'inlineEdit' => false,
'font-size' => '20px',
'padding' => array( 'top' => '20px' ) ),
'simple_grid_field1' => array( 'field' => 'bar_code',
'type' => 'grid_field',
'clickSort' => true,
'inlineAdd' => true,
'inlineEdit' => true,
'font-size' => '20px' ),
'simple_grid_field2' => array( 'field' => 'product',
'type' => 'grid_field',
'clickSort' => true,
'inlineAdd' => true,
'inlineEdit' => true,
'font-size' => '20px' ),
'simple_grid_field3' => array( 'field' => 'quntity',
'type' => 'grid_field',
'clickSort' => true,
'inlineAdd' => true,
'inlineEdit' => true,
'font-size' => '20px' ),
'simple_grid_field4' => array( 'field' => 'price',
'type' => 'grid_field',
'clickSort' => true,
'inlineAdd' => true,
'inlineEdit' => true,
'font-size' => '20px' ),
'simple_grid_field5' => array( 'field' => 'sub_total',
'type' => 'grid_field',
'font-size' => '20px' ),
'search_panel' => array( 'type' => 'search_panel',
'items' => array( 'search_panel_field',
'search_panel_field6',
'search_panel_field4',
'search_panel_field3',
'search_panel_field2',
'search_panel_field1' ),
'_flexiblePanel' => true ),
'list_options' => array( 'type' => 'list_options',
'items' => array( 'edit_selected',
'delete_selected',
'-',
'show_search_panel',
'hide_search_panel' ) ),
'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' => 'bar_code',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field2' => array( 'field' => 'product',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field3' => array( 'field' => 'quntity',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field4' => array( 'field' => 'price',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field6' => array( 'field' => 'm_id',
'type' => 'search_panel_field',
'required' => false ),
'inline_add' => array( 'type' => 'inline_add' ),
'grid_inline_save' => array( 'type' => 'grid_inline_save' ),
'grid_inline_cancel' => array( 'type' => 'grid_inline_cancel' ),
'inline_save_all' => array( 'type' => 'inline_save_all' ),
'inline_cancel_all' => array( 'type' => 'inline_cancel_all' ),
'edit_selected' => array( 'type' => 'edit_selected' ),
'-' => array( 'type' => '-' ),
'grid_inline_edit' => array( 'type' => 'grid_inline_edit' ),
'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
'delete' => array( 'type' => 'delete' ),
'delete_selected' => array( 'type' => 'delete_selected' ),
'grid_edit' => array( 'type' => 'grid_edit' ),
'grid_view' => array( 'type' => 'grid_view' ),
'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' ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'logo1' => array( 'type' => 'logo' ),
'simple_grid_field8' => array( 'type' => 'grid_field_label',
'field' => 'product',
'clickSort' => true,
'font-size' => '20px',
'padding' => array( 'left' => '30px' ) ),
'simple_grid_field9' => array( 'type' => 'grid_field_label',
'field' => 'quntity',
'clickSort' => true,
'font-size' => '20px' ),
'simple_grid_field10' => array( 'type' => 'grid_field_label',
'field' => 'price',
'clickSort' => true,
'font-size' => '20px' ),
'simple_grid_field11' => array( 'type' => 'grid_field_label',
'field' => 'sub_total',
'nowrap' => false,
'font-size' => '20px' ),
'grid_field_totals' => array( 'type' => 'grid_field_totals',
'field' => 'id',
'totals' => 'COUNT',
'bold' => true,
'label' => array( 'type' => 0,
'text' => '' ),
'nowrap' => false,
'font-size' => '20px' ),
'grid_field_totals1' => array( 'type' => 'grid_field_totals',
'field' => 'sub_total',
'totals' => 'TOTAL',
'nowrap' => false,
'underline' => true,
'label' => array( 'type' => 0,
'text' => '' ),
'font-size' => '20px',
'bold' => true ),
'text' => array( 'type' => 'text',
'label' => array( 'text' => 'Total :',
'type' => 0 ),
'editedByRte' => false,
'bold' => true,
'font-size' => '20px' ),
'text2' => array( 'type' => 'text',
'label' => array( 'text' => ' (',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text3' => array( 'type' => 'text',
'label' => array( 'text' => ')',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'username_button' => array( 'type' => 'username_button',
'items' => array( 'logout_link',
'changepassword_link' ) ),
'changepassword_link' => array( 'type' => 'changepassword_link' ),
'loginform_login' => array( 'type' => 'loginform_login',
'popup' => true ),
'logout_link' => array( 'type' => 'logout_link' ),
'text1' => array( 'type' => 'text',
'label' => array( 'text' => 'Items.',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text5' => array( 'type' => 'text',
'label' => array( 'text' => '  ',
'type' => 0 ),
'editedByRte' => false ),
'text6' => array( 'type' => 'text',
'label' => array( 'text' => 'ID',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px',
'padding' => array( 'bottom' => '20px' ),
'underline' => true ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>