<?php
			$optionsArray = array( 'list' => array( 'inlineAdd' => true,
'detailsAdd' => true,
'inlineEdit' => true,
'delete' => true,
'updateSelected' => false,
'addInPopup' => null,
'editInPopup' => null,
'viewInPopup' => null,
'clickSort' => true,
'sortDropdown' => true,
'showHideFields' => true,
'reorderFields' => true ),
'master' => array( 'allocation' => array( 'preview' => true ) ),
'listSearch' => array( 'alwaysOnPanelFields' => array(  ),
'searchPanel' => true,
'fixedSearchPanel' => false,
'simpleSearchOptions' => true,
'searchSaving' => false ),
'totals' => array( 'id' => array( 'totalsType' => 'COUNT' ),
'sub_office_code' => array( 'totalsType' => '' ),
'sub_office' => array( 'totalsType' => '' ),
'expenditure_code' => array( 'totalsType' => '' ),
'department' => array( 'totalsType' => '' ),
'amount' => array( 'totalsType' => 'TOTAL' ),
'date' => array( 'totalsType' => '' ),
'user' => array( 'totalsType' => '' ),
'on_time' => array( 'totalsType' => '' ),
'fk' => array( 'totalsType' => '' ),
'action' => array( 'totalsType' => '' ),
'ud' => array( 'totalsType' => '' ),
'md' => array( 'totalsType' => '' ),
'comment' => array( 'totalsType' => '' ),
'description' => array( 'totalsType' => '' ),
'c_acc' => array( 'totalsType' => '' ),
'delete' => array( 'totalsType' => '' ),
'accounting_code' => array( 'totalsType' => '' ) ),
'fields' => array( 'gridFields' => array( 'id',
'sub_office_code',
'sub_office',
'amount',
'action',
'comment',
'description' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array( 'id',
'delete',
'c_acc',
'accounting_code',
'description',
'comment',
'md',
'ud',
'action',
'fk',
'on_time',
'user',
'date',
'amount',
'department',
'expenditure_code',
'sub_office',
'sub_office_code' ),
'filterFields' => array( 'sub_office',
'department',
'action' ),
'inlineAddFields' => array( 'sub_office_code',
'sub_office',
'amount',
'action',
'comment',
'description' ),
'inlineEditFields' => array( 'amount',
'action',
'comment',
'description' ),
'fieldItems' => array( 'id' => array( 'simple_grid_field',
'simple_grid_field3',
'grid_field_totals1' ),
'sub_office_code' => array( 'simple_grid_field1',
'simple_grid_field4' ),
'sub_office' => array( 'simple_grid_field2',
'simple_grid_field6' ),
'amount' => array( 'simple_grid_field5',
'simple_grid_field7',
'grid_field_totals' ),
'action' => array( 'grid_field_label',
'grid_field' ),
'comment' => array( 'grid_field_label3',
'grid_field3' ),
'description' => array( 'grid_field_label2',
'grid_field2' ) ),
'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',
'filter_panel' ),
'supertop' => array( 'collapse_button',
'breadcrumb',
'simple_search_field',
'simple_search_option',
'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',
'columns_control',
'sort_dropdown' ),
'below-grid' => array( 'pagination' ),
'grid' => array( 'simple_grid_field3',
'simple_grid_field',
'simple_grid_field4',
'simple_grid_field1',
'simple_grid_field6',
'simple_grid_field2',
'grid_field_totals',
'simple_grid_field7',
'simple_grid_field5',
'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel',
'grid_field_totals1',
'grid_checkbox_head',
'grid_checkbox',
'grid_field_label',
'grid_field',
'grid_field_label3',
'grid_field3',
'grid_field_label2',
'grid_field2' ),
'top' => array( 'master_info' ) ),
'formXtTags' => array( 'below-grid' => array( 'pagination' ),
'top' => array( 'mastertable_block' ) ),
'itemForms' => array( 'logo1' => 'left',
'expand_button' => 'left',
'menu' => 'left',
'search_panel' => 'left',
'filter_panel' => 'left',
'collapse_button' => 'supertop',
'breadcrumb' => 'supertop',
'simple_search_field' => 'supertop',
'simple_search_option' => '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',
'columns_control' => 'above-grid',
'sort_dropdown' => 'above-grid',
'pagination' => 'below-grid',
'simple_grid_field3' => 'grid',
'simple_grid_field' => 'grid',
'simple_grid_field4' => 'grid',
'simple_grid_field1' => 'grid',
'simple_grid_field6' => 'grid',
'simple_grid_field2' => 'grid',
'grid_field_totals' => 'grid',
'simple_grid_field7' => 'grid',
'simple_grid_field5' => 'grid',
'grid_inline_edit' => 'grid',
'grid_inline_save' => 'grid',
'grid_inline_cancel' => 'grid',
'grid_field_totals1' => 'grid',
'grid_checkbox_head' => 'grid',
'grid_checkbox' => 'grid',
'grid_field_label' => 'grid',
'grid_field' => 'grid',
'grid_field_label3' => 'grid',
'grid_field3' => 'grid',
'grid_field_label2' => 'grid',
'grid_field2' => 'grid',
'master_info' => 'top' ),
'itemLocations' => array( 'simple_grid_field3' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field4' => array( 'location' => 'grid',
'cellId' => 'headcell_field1' ),
'simple_grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field1' ),
'simple_grid_field6' => array( 'location' => 'grid',
'cellId' => 'headcell_field2' ),
'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field2' ),
'grid_field_totals' => array( 'location' => 'grid',
'cellId' => 'footcell_field2' ),
'simple_grid_field7' => array( 'location' => 'grid',
'cellId' => 'headcell_field3' ),
'simple_grid_field5' => array( 'location' => 'grid',
'cellId' => 'cell_field3' ),
'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_field_totals1' => array( 'location' => 'grid',
'cellId' => 'footcell_icons' ),
'grid_checkbox_head' => array( 'location' => 'grid',
'cellId' => 'headcell_checkbox' ),
'grid_checkbox' => array( 'location' => 'grid',
'cellId' => 'cell_checkbox' ),
'grid_field_label' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'grid_field_label3' => array( 'location' => 'grid',
'cellId' => 'headcell_field7' ),
'grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field7' ),
'grid_field_label2' => array( 'location' => 'grid',
'cellId' => 'headcell_field6' ),
'grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field6' ) ),
'itemVisiblity' => array( 'expand_button' => 5,
'menu' => 3,
'search_panel' => 5,
'filter_panel' => 3,
'collapse_button' => 5,
'simple_search_field' => 3,
'simple_search_option' => 3,
'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_field5',
'grid_field',
'grid_field3',
'grid_field2' ),
'grid_field_label' => array( 'simple_grid_field3',
'simple_grid_field4',
'simple_grid_field6',
'simple_grid_field7',
'grid_field_label',
'grid_field_label3',
'grid_field_label2' ),
'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_field7',
'search_panel_field8',
'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' ),
'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( '-',
'-1' ),
'grid_inline_edit' => array( 'grid_inline_edit' ),
'grid_checkbox_head' => array( 'grid_checkbox_head' ),
'grid_checkbox' => array( 'grid_checkbox' ),
'columns_control' => array( 'columns_control' ),
'master_info' => array( 'master_info' ),
'filter_panel' => array( 'filter_panel' ),
'filter_panel_field' => array( 'filter_panel_field',
'filter_panel_field1',
'filter_panel_field2' ),
'print_panel' => array( 'print_panel' ),
'print_scope' => array( 'print_scope' ),
'print_button' => array( 'print_button' ),
'print_records' => array( 'print_records' ),
'username_button' => array( 'username_button' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'changepassword_link' => array( 'changepassword_link' ),
'lang_selector' => array( 'lang_selector' ),
'collapse_button' => array( 'collapse_button' ),
'grid_field_totals' => array( 'grid_field_totals',
'grid_field_totals1' ),
'logo' => array( 'logo1' ),
'delete' => array( 'delete' ),
'delete_selected' => array( 'delete_selected' ),
'sort_dropdown' => array( 'sort_dropdown' ),
'simple_search_field' => array( 'simple_search_field' ),
'simple_search_option' => array( 'simple_search_option' ),
'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' ),
'items' => array( 'simple_grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field1' => array( 'cols' => array( 3 ),
'rows' => array( 0 ),
'tags' => array( 'sub_office_code_fieldheadercolumn' ),
'items' => array( 'simple_grid_field4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field2' => array( 'cols' => array( 4 ),
'rows' => array( 0 ),
'tags' => array( 'sub_office_fieldheadercolumn' ),
'items' => array( 'simple_grid_field6' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field3' => array( 'cols' => array( 5 ),
'rows' => array( 0 ),
'tags' => array( 'amount_fieldheadercolumn' ),
'items' => array( 'simple_grid_field7' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field4' => array( 'cols' => array( 6 ),
'rows' => array( 0 ),
'tags' => array( 'action_fieldheadercolumn' ),
'items' => array( 'grid_field_label' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field7' => array( 'cols' => array( 7 ),
'rows' => array( 0 ),
'tags' => array( 'comment_fieldheadercolumn' ),
'items' => array( 'grid_field_label3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field6' => array( 'cols' => array( 8 ),
'rows' => array( 0 ),
'tags' => array( 'description_fieldheadercolumn' ),
'items' => array( 'grid_field_label2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'inlineedit_column',
'inline_save',
'inline_cancel' ),
'items' => array( 'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array( 'id_fieldcolumn' ),
'items' => array( 'simple_grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field1' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'sub_office_code_fieldcolumn' ),
'items' => array( 'simple_grid_field1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field2' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'sub_office_fieldcolumn' ),
'items' => array( 'simple_grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field3' => array( 'cols' => array( 5 ),
'rows' => array( 1 ),
'tags' => array( 'amount_fieldcolumn' ),
'items' => array( 'simple_grid_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field4' => array( 'cols' => array( 6 ),
'rows' => array( 1 ),
'tags' => array( 'action_fieldcolumn' ),
'items' => array( 'grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field7' => array( 'cols' => array( 7 ),
'rows' => array( 1 ),
'tags' => array( 'comment_fieldcolumn' ),
'items' => array( 'grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field6' => array( 'cols' => array( 8 ),
'rows' => array( 1 ),
'tags' => array( 'description_fieldcolumn' ),
'items' => array( 'grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 2 ),
'tags' => array( 'id_fieldfootercolumn' ),
'items' => array( 'grid_field_totals1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field2' => array( 'cols' => array( 3,
4,
5 ),
'rows' => array( 2 ),
'tags' => array( 'amount_fieldfootercolumn' ),
'items' => array( 'grid_field_totals' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field6' => array( 'cols' => array( 6,
7,
8 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 9,
'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' => 'list1',
'type' => 'list',
'layoutId' => 'leftbar',
'disabled' => 0,
'default' => 1,
'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',
'filter_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_field',
'simple_search_option',
'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',
'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',
'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_checkbox' ),
array( 'cell' => 'headcell_field' ),
array( 'cell' => 'headcell_field1' ),
array( 'cell' => 'headcell_field2' ),
array( 'cell' => 'headcell_field3' ),
array( 'cell' => 'headcell_field4' ),
array( 'cell' => 'headcell_field7' ),
array( 'cell' => 'headcell_field6' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_icons' ),
array( 'cell' => 'cell_checkbox' ),
array( 'cell' => 'cell_field' ),
array( 'cell' => 'cell_field1' ),
array( 'cell' => 'cell_field2' ),
array( 'cell' => 'cell_field3' ),
array( 'cell' => 'cell_field4' ),
array( 'cell' => 'cell_field7' ),
array( 'cell' => 'cell_field6' ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons',
'colspan' => 3 ),
array( 'cell' => 'footcell_field2',
'colspan' => 3 ),
array( 'cell' => 'footcell_field6',
'colspan' => 3 ) ) ) ),
'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field3' ),
'field' => 'id',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ),
'align' => 'center' ),
'cell_field' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field' ),
'field' => 'id',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'headcell_field1' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field4' ),
'field' => 'sub_office_code',
'columnName' => 'field',
'align' => 'center',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'cell_field1' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field1' ),
'field' => 'sub_office_code',
'columnName' => 'field',
'align' => 'center',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'headcell_field2' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field6' ),
'field' => 'sub_office',
'columnName' => 'field',
'align' => 'center',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'cell_field2' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field2' ),
'field' => 'sub_office',
'columnName' => 'field',
'align' => 'center',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'footcell_field2' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals' ),
'field' => 'amount',
'columnName' => 'field',
'align' => 'right' ),
'headcell_field3' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field7' ),
'field' => 'amount',
'columnName' => 'field',
'align' => 'right',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'cell_field3' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field5' ),
'field' => 'amount',
'columnName' => 'field',
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'headcell_icons' => array( 'model' => 'headcell_icons',
'items' => array(  ),
'columnName' => '',
'align' => 'left',
'color' => '#000000' ),
'cell_icons' => array( 'model' => 'cell_icons',
'items' => array( 'grid_inline_edit',
'grid_inline_save',
'grid_inline_cancel' ),
'columnName' => '' ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array( 'grid_field_totals1' ),
'columnName' => 'field',
'field' => 'id' ),
'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
'items' => array( 'grid_checkbox_head' ),
'columnName' => '',
'color' => '#000000' ),
'cell_checkbox' => array( 'model' => 'cell_checkbox',
'items' => array( 'grid_checkbox' ),
'columnName' => '' ),
'headcell_field4' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label' ),
'field' => 'action',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ),
'align' => 'center' ),
'cell_field4' => array( 'model' => 'cell_field',
'items' => array( 'grid_field' ),
'field' => 'action',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'headcell_field7' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label3' ),
'field' => 'comment',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ),
'align' => 'center' ),
'cell_field7' => array( 'model' => 'cell_field',
'items' => array( 'grid_field3' ),
'field' => 'comment',
'columnName' => 'field',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'headcell_field6' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label2' ),
'field' => 'description',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px' ) ),
'align' => 'center' ),
'cell_field6' => array( 'model' => 'cell_field',
'items' => array( 'grid_field2' ),
'field' => 'description',
'columnName' => 'field',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px' ) ) ),
'footcell_field6' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ) ),
'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( 'master_info' ),
'_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' ),
'menu' => array( 'type' => 'menu' ),
'simple_search' => array( 'type' => 'simple_search' ),
'pagination' => array( 'type' => 'pagination' ),
'simple_grid_field' => array( 'field' => 'id',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field1' => array( 'field' => 'sub_office_code',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => false,
'width' => '150px',
'nowrap' => false ),
'simple_grid_field2' => array( 'field' => 'sub_office',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => false,
'width' => '200px',
'nowrap' => false ),
'simple_grid_field3' => array( 'type' => 'grid_field_label',
'field' => 'id',
'clickSort' => true ),
'simple_grid_field4' => array( 'type' => 'grid_field_label',
'field' => 'sub_office_code',
'clickSort' => true ),
'simple_grid_field5' => array( 'field' => 'amount',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => true,
'width' => '150px' ),
'simple_grid_field6' => array( 'type' => 'grid_field_label',
'field' => 'sub_office',
'clickSort' => true ),
'simple_grid_field7' => array( 'type' => 'grid_field_label',
'field' => 'amount',
'clickSort' => true ),
'search_panel' => array( 'type' => 'search_panel',
'items' => array( 'search_panel_field',
'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_field8',
'search_panel_field7',
'search_panel_field6',
'search_panel_field5',
'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',
'-1',
'lang_selector' ) ),
'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' => 'sub_office_code',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field2' => array( 'field' => 'sub_office',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field3' => array( 'field' => 'expenditure_code',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field4' => array( 'field' => 'department',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field5' => array( 'field' => 'amount',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field6' => array( 'field' => 'date',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field7' => array( 'field' => 'user',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field8' => array( 'field' => 'on_time',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field9' => array( 'field' => 'fk',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field10' => array( 'field' => 'action',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field11' => array( 'field' => 'ud',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field12' => array( 'field' => 'md',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field13' => array( 'field' => 'comment',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field14' => array( 'field' => 'description',
'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' ),
'columns_control' => array( 'type' => 'columns_control',
'reorder' => true,
'showHide' => true ),
'master_info' => array( 'type' => 'master_info',
'tables' => array( 'allocation' => 'true' ) ),
'filter_panel' => array( 'type' => 'filter_panel',
'items' => array( 'filter_panel_field',
'filter_panel_field2',
'filter_panel_field1' ) ),
'filter_panel_field' => array( 'field' => 'sub_office',
'type' => 'filter_panel_field' ),
'filter_panel_field1' => array( 'field' => 'department',
'type' => 'filter_panel_field' ),
'filter_panel_field2' => array( 'field' => 'action',
'type' => 'filter_panel_field' ),
'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' ),
'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' ),
'lang_selector' => array( 'type' => 'lang_selector' ),
'-1' => array( 'type' => '-' ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'grid_field_totals' => array( 'type' => 'grid_field_totals',
'field' => 'amount',
'totals' => 'TOTAL',
'label' => array( 'type' => 0,
'text' => 'Total - ' ) ),
'grid_field_totals1' => array( 'type' => 'grid_field_totals',
'field' => 'id',
'totals' => 'COUNT' ),
'grid_field_label' => array( 'type' => 'grid_field_label',
'field' => 'action',
'clickSort' => true ),
'grid_field' => array( 'field' => 'action',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => true ),
'grid_field_label3' => array( 'type' => 'grid_field_label',
'field' => 'comment',
'clickSort' => true ),
'grid_field3' => array( 'field' => 'comment',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => true,
'nowrap' => false ),
'grid_field_label2' => array( 'type' => 'grid_field_label',
'field' => 'description',
'clickSort' => true ),
'grid_field2' => array( 'field' => 'description',
'type' => 'grid_field',
'inlineAdd' => true,
'inlineEdit' => true,
'nowrap' => false ),
'logo1' => array( 'type' => 'logo' ),
'delete' => array( 'type' => 'delete' ),
'delete_selected' => array( 'type' => 'delete_selected' ),
'search_panel_field15' => array( 'field' => 'accounting_code',
'type' => 'search_panel_field',
'required' => false ),
'sort_dropdown' => array( 'type' => 'sort_dropdown' ),
'simple_search_field' => array( 'type' => 'simple_search_field' ),
'simple_search_option' => array( 'type' => 'simple_search_option' ),
'search_panel_field16' => array( 'field' => 'c_acc',
'type' => 'search_panel_field' ),
'search_panel_field17' => array( 'field' => 'delete',
'type' => 'search_panel_field' ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'version' => 4,
'pageWidth' => 'standard',
'barWidth' => '175px' );
		?>