<?php
			$optionsArray = array( 'pdf' => array( 'pdfView' => false ),
'master' => array( 'for_signature' => array( 'preview' => true ) ),
'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',
'accounting_code' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'id' => array( 'simple_grid_field',
'grid_field_totals1',
'simple_grid_field3' ),
'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' ),
'accounting_code' => array( 'grid_field1',
'grid_field_label1' ) ),
'hideEmptyFields' => array(  ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'top' => array( 'print_header',
'print_subheader',
'master_info' ),
'above-grid' => array( 'print_pages',
'grid_inline_cancel',
'inline_add' ),
'below-grid' => array(  ),
'grid' => array( 'simple_grid_field3',
'simple_grid_field',
'simple_grid_field4',
'simple_grid_field6',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field7',
'simple_grid_field5',
'grid_field_totals1',
'grid_field_label',
'grid_field',
'grid_field_label3',
'grid_field3',
'grid_field_label2',
'grid_field2',
'grid_field_totals',
'grid_field_label1',
'grid_field1' ) ),
'formXtTags' => array( 'above-grid' => array( 'print_pages',
'inline_cancel',
'inlineadd_link' ),
'below-grid' => array(  ) ),
'itemForms' => array( 'print_header' => 'top',
'print_subheader' => 'top',
'master_info' => 'top',
'print_pages' => 'above-grid',
'grid_inline_cancel' => 'above-grid',
'inline_add' => 'above-grid',
'simple_grid_field3' => 'grid',
'simple_grid_field' => 'grid',
'simple_grid_field4' => 'grid',
'simple_grid_field6' => 'grid',
'simple_grid_field1' => 'grid',
'simple_grid_field2' => 'grid',
'simple_grid_field7' => 'grid',
'simple_grid_field5' => 'grid',
'grid_field_totals1' => 'grid',
'grid_field_label' => 'grid',
'grid_field' => 'grid',
'grid_field_label3' => 'grid',
'grid_field3' => 'grid',
'grid_field_label2' => 'grid',
'grid_field2' => 'grid',
'grid_field_totals' => 'grid',
'grid_field_label1' => 'grid',
'grid_field1' => 'grid' ),
'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_field6' => array( 'location' => 'grid',
'cellId' => 'headcell_field1' ),
'simple_grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field1' ),
'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field1' ),
'simple_grid_field7' => array( 'location' => 'grid',
'cellId' => 'headcell_field3' ),
'simple_grid_field5' => array( 'location' => 'grid',
'cellId' => 'cell_field3' ),
'grid_field_totals1' => array( 'location' => 'grid',
'cellId' => 'footcell_icons' ),
'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' ),
'grid_field_totals' => array( 'location' => 'grid',
'cellId' => 'footcell_field6' ),
'grid_field_label1' => array( 'location' => 'grid',
'cellId' => 'headcell_field2' ),
'grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field2' ) ),
'itemVisiblity' => array(  ) ),
'itemsByType' => array( 'print_header' => array( 'print_header' ),
'print_subheader' => array( 'print_subheader' ),
'print_pages' => array( 'print_pages' ),
'grid_field' => array( 'simple_grid_field',
'simple_grid_field1',
'simple_grid_field2',
'simple_grid_field5',
'grid_field',
'grid_field3',
'grid_field2',
'grid_field1' ),
'grid_field_label' => array( 'simple_grid_field6',
'simple_grid_field7',
'simple_grid_field3',
'simple_grid_field4',
'grid_field_label',
'grid_field_label3',
'grid_field_label2',
'grid_field_label1' ),
'master_info' => array( 'master_info' ),
'grid_field_totals' => array( 'grid_field_totals',
'grid_field_totals1' ),
'inline_add' => array( 'inline_add' ),
'grid_inline_cancel' => array( 'grid_inline_cancel' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array( 'id_fieldheadercolumn' ),
'items' => array( 'simple_grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field1' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array( 'sub_office_code_fieldheadercolumn',
'sub_office_fieldheadercolumn' ),
'items' => array( 'simple_grid_field4',
'simple_grid_field6' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field3' => array( 'cols' => array( 2 ),
'rows' => array( 0 ),
'tags' => array( 'amount_fieldheadercolumn' ),
'items' => array( 'simple_grid_field7' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field4' => array( 'cols' => array( 3 ),
'rows' => array( 0 ),
'tags' => array( 'action_fieldheadercolumn' ),
'items' => array( 'grid_field_label' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field7' => array( 'cols' => array( 4 ),
'rows' => array( 0 ),
'tags' => array( 'comment_fieldheadercolumn' ),
'items' => array( 'grid_field_label3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field6' => array( 'cols' => array( 5 ),
'rows' => array( 0 ),
'tags' => array( 'description_fieldheadercolumn' ),
'items' => array( 'grid_field_label2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field2' => array( 'cols' => array( 6 ),
'rows' => array( 0 ),
'tags' => array( 'accounting_code_fieldheadercolumn' ),
'items' => array( 'grid_field_label1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'id_fieldcolumn' ),
'items' => array( 'simple_grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field1' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array( 'sub_office_code_fieldcolumn',
'sub_office_fieldcolumn' ),
'items' => array( 'simple_grid_field1',
'simple_grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field3' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array( 'amount_fieldcolumn' ),
'items' => array( 'simple_grid_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field4' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'action_fieldcolumn' ),
'items' => array( 'grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field7' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'comment_fieldcolumn' ),
'items' => array( 'grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field6' => array( 'cols' => array( 5 ),
'rows' => array( 1 ),
'tags' => array( 'description_fieldcolumn' ),
'items' => array( 'grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field2' => array( 'cols' => array( 6 ),
'rows' => array( 1 ),
'tags' => array( 'accounting_code_fieldcolumn' ),
'items' => array( 'grid_field1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0,
1 ),
'rows' => array( 2 ),
'tags' => array( 'id_fieldfootercolumn' ),
'items' => array( 'grid_field_totals1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field6' => array( 'cols' => array( 2,
3,
4,
5 ),
'rows' => array( 2 ),
'tags' => array( 'amount_fieldfootercolumn' ),
'items' => array( 'grid_field_totals' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field' => array( 'cols' => array( 6 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 7,
'height' => 3 ) ) ),
'loginForm' => array( 'loginForm' => 3 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array( 'print_pages' => array( 'tag' => 'PRINT_PAGES',
'type' => 2 ) ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'gridType' => 0,
'recsPerRow' => 1,
'hasCustomButtons' => false,
'customButtons' => array(  ) ),
'misc' => array( 'type' => 'print',
'breadcrumb' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ),
'dataGrid' => array( 'groupFields' => array(  ) ) );
			$pageArray = array( 'id' => 'print',
'type' => 'print',
'layoutId' => 'basic',
'disabled' => 0,
'default' => 0,
'forms' => array( 'top' => array( 'modelId' => 'print-header',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c4' ) ),
'section' => '' ) ),
'cells' => array( 'c2' => array( 'model' => 'c2',
'items' => array( 'print_header',
'print_subheader' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c4' => array( 'model' => 'c4',
'items' => array( 'master_info' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'print-above-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'print_pages',
'grid_inline_cancel',
'inline_add' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'print-below-grid',
'grid' => array(  ),
'cells' => array(  ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'horizontal-grid',
'grid' => array( array( 'section' => 'head',
'cells' => array( array( 'cell' => 'headcell_field' ),
array( 'cell' => 'headcell_field1' ),
array( 'cell' => 'headcell_field3' ),
array( 'cell' => 'headcell_field4' ),
array( 'cell' => 'headcell_field7' ),
array( 'cell' => 'headcell_field6' ),
array( 'cell' => 'headcell_field2' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_field' ),
array( 'cell' => 'cell_field1' ),
array( 'cell' => 'cell_field3' ),
array( 'cell' => 'cell_field4' ),
array( 'cell' => 'cell_field7' ),
array( 'cell' => 'cell_field6' ),
array( 'cell' => 'cell_field2' ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons',
'colspan' => 2 ),
array( 'cell' => 'footcell_field6',
'colspan' => 4 ),
array( 'cell' => 'footcell_field' ) ) ) ),
'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',
'color' => '#000000' ) ),
'align' => 'center' ),
'cell_field' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field' ),
'field' => 'id',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field1' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field4',
'simple_grid_field6' ),
'field' => 'sub_office_code',
'columnName' => '',
'align' => 'center',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field1' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field1',
'simple_grid_field2' ),
'field' => 'sub_office_code',
'columnName' => '',
'align' => 'left',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field3' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field7' ),
'field' => 'amount',
'columnName' => 'field',
'align' => 'center',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'cell_field3' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field5' ),
'field' => 'amount',
'columnName' => 'field',
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array( 'grid_field_totals1' ),
'columnName' => 'field',
'field' => 'id',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field4' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label' ),
'field' => 'action',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'center' ),
'cell_field4' => array( 'model' => 'cell_field',
'items' => array( 'grid_field' ),
'field' => 'action',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field7' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label3' ),
'field' => 'comment',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'center' ),
'cell_field7' => array( 'model' => 'cell_field',
'items' => array( 'grid_field3' ),
'field' => 'comment',
'columnName' => 'field',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'left' ),
'headcell_field6' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label2' ),
'field' => 'description',
'columnName' => 'field',
'color' => '#000000',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'center' ),
'cell_field6' => array( 'model' => 'cell_field',
'items' => array( 'grid_field2' ),
'field' => 'description',
'columnName' => 'field',
'nowrap' => false,
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ),
'align' => 'left' ),
'footcell_field6' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals' ),
'field' => 'amount',
'columnName' => 'field',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'headcell_field2' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label1' ),
'field' => 'accounting_code',
'columnName' => 'field' ),
'cell_field2' => array( 'model' => 'cell_field',
'items' => array( 'grid_field1' ),
'field' => 'accounting_code',
'columnName' => 'field' ),
'footcell_field' => array( 'model' => 'footcell_field',
'items' => array(  ) ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ) ),
'items' => array( 'print_header' => array( 'type' => 'print_header' ),
'print_subheader' => array( 'type' => 'print_subheader' ),
'print_pages' => array( 'type' => 'print_pages' ),
'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' => false,
'inlineEdit' => false,
'width' => '150px',
'nowrap' => false ),
'simple_grid_field2' => array( 'field' => 'sub_office',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'width' => '200px',
'nowrap' => false ),
'simple_grid_field5' => array( 'field' => 'amount',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'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 ),
'master_info' => array( 'type' => 'master_info',
'tables' => array( 'allocation' => 'true',
'for_signature' => 'true' ) ),
'grid_field_totals' => array( 'type' => 'grid_field_totals',
'field' => 'amount',
'totals' => 'TOTAL' ),
'grid_field_totals1' => array( 'type' => 'grid_field_totals',
'field' => 'id',
'totals' => 'COUNT' ),
'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 ),
'grid_field_label' => array( 'type' => 'grid_field_label',
'field' => 'action',
'clickSort' => true ),
'grid_field' => array( 'field' => 'action',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label3' => array( 'type' => 'grid_field_label',
'field' => 'comment',
'clickSort' => true ),
'grid_field3' => array( 'field' => 'comment',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'nowrap' => false ),
'grid_field_label2' => array( 'type' => 'grid_field_label',
'field' => 'description',
'clickSort' => true ),
'grid_field2' => array( 'field' => 'description',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'nowrap' => false ),
'grid_field1' => array( 'field' => 'accounting_code',
'type' => 'grid_field' ),
'grid_field_label1' => array( 'type' => 'grid_field_label',
'field' => 'accounting_code' ),
'inline_add' => array( 'type' => 'inline_add',
'detailsOnly' => true ),
'grid_inline_cancel' => array( 'type' => 'grid_inline_cancel' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>