<?php
			$optionsArray = array(
	'details' => array(
		'supplier_bill_detail' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		) 
	),
	'captcha' => array(
		'captcha' => false 
	),
	'fields' => array(
		'gridFields' => array( 
			'branch_id',
			'document_type',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'supplier_name_snapshot',
			'supplier_tin_snapshot',
			'currency_code',
			'exchange_rate',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'remarks',
			'bill_no',
			'subtotal_amount',
			'discount_amount',
			'input_vat_amount',
			'withholding_amount',
			'grand_total_amount',
			'document_status',
			'posting_status' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'updateOnEditFields' => array( 
			 
		),
		'fieldItems' => array(
			'branch_id' => array( 
				'integrated_edit_field2' 
			),
			'document_type' => array( 
				'integrated_edit_field4' 
			),
			'supplier_invoice_no' => array( 
				'integrated_edit_field7' 
			),
			'bill_date' => array( 
				'integrated_edit_field8' 
			),
			'due_date' => array( 
				'integrated_edit_field9' 
			),
			'supplier_id' => array( 
				'integrated_edit_field10' 
			),
			'supplier_name_snapshot' => array( 
				'integrated_edit_field11' 
			),
			'supplier_tin_snapshot' => array( 
				'integrated_edit_field12' 
			),
			'currency_code' => array( 
				'integrated_edit_field13' 
			),
			'exchange_rate' => array( 
				'integrated_edit_field15' 
			),
			'department_id' => array( 
				'integrated_edit_field16' 
			),
			'cost_center_id' => array( 
				'integrated_edit_field17' 
			),
			'project_id' => array( 
				'integrated_edit_field18' 
			),
			'project_task_id' => array( 
				'integrated_edit_field19' 
			),
			'remarks' => array( 
				'integrated_edit_field29' 
			),
			'bill_no' => array( 
				'integrated_edit_field1' 
			),
			'subtotal_amount' => array( 
				'integrated_edit_field' 
			),
			'discount_amount' => array( 
				'integrated_edit_field3' 
			),
			'input_vat_amount' => array( 
				'integrated_edit_field5' 
			),
			'withholding_amount' => array( 
				'integrated_edit_field6' 
			),
			'grand_total_amount' => array( 
				'integrated_edit_field14' 
			),
			'document_status' => array( 
				'integrated_edit_field20' 
			),
			'posting_status' => array( 
				'integrated_edit_field21' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => true,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					'edit_message' 
				),
				'below-grid' => array( 
					'edit_save',
					'edit_back_list',
					'edit_close',
					'hamburger' 
				),
				'top' => array( 
					'edit_header' 
				),
				'grid' => array( 
					'bl_sb_supplier',
					'bl_sb_remarks',
					'bl_sb_advanced',
					'bl_sb_document',
					'bl_sb_currency',
					'bl_sb_summary',
					'details_preview' 
				),
				'section' => array( 
					'integrated_edit_field10',
					'integrated_edit_field11',
					'integrated_edit_field12' 
				),
				'section1' => array( 
					'integrated_edit_field29' 
				),
				'section2' => array( 
					'integrated_edit_field16',
					'integrated_edit_field17',
					'integrated_edit_field18',
					'integrated_edit_field19' 
				),
				'section3' => array( 
					'integrated_edit_field1',
					'integrated_edit_field2',
					'integrated_edit_field4',
					'integrated_edit_field7',
					'integrated_edit_field8',
					'integrated_edit_field9' 
				),
				'section4' => array( 
					'integrated_edit_field13',
					'integrated_edit_field15' 
				),
				'section5' => array( 
					'integrated_edit_field',
					'integrated_edit_field3',
					'integrated_edit_field5',
					'integrated_edit_field6',
					'integrated_edit_field14',
					'integrated_edit_field20',
					'integrated_edit_field21' 
				) 
			),
			'formXtTags' => array(
				'above-grid' => array( 
					'message_block' 
				) 
			),
			'itemForms' => array(
				'edit_message' => 'above-grid',
				'edit_save' => 'below-grid',
				'edit_back_list' => 'below-grid',
				'edit_close' => 'below-grid',
				'hamburger' => 'below-grid',
				'edit_header' => 'top',
				'bl_sb_supplier' => 'grid',
				'bl_sb_remarks' => 'grid',
				'bl_sb_advanced' => 'grid',
				'bl_sb_document' => 'grid',
				'bl_sb_currency' => 'grid',
				'bl_sb_summary' => 'grid',
				'details_preview' => 'grid',
				'integrated_edit_field10' => 'section',
				'integrated_edit_field11' => 'section',
				'integrated_edit_field12' => 'section',
				'integrated_edit_field29' => 'section1',
				'integrated_edit_field16' => 'section2',
				'integrated_edit_field17' => 'section2',
				'integrated_edit_field18' => 'section2',
				'integrated_edit_field19' => 'section2',
				'integrated_edit_field1' => 'section3',
				'integrated_edit_field2' => 'section3',
				'integrated_edit_field4' => 'section3',
				'integrated_edit_field7' => 'section3',
				'integrated_edit_field8' => 'section3',
				'integrated_edit_field9' => 'section3',
				'integrated_edit_field13' => 'section4',
				'integrated_edit_field15' => 'section4',
				'integrated_edit_field' => 'section5',
				'integrated_edit_field3' => 'section5',
				'integrated_edit_field5' => 'section5',
				'integrated_edit_field6' => 'section5',
				'integrated_edit_field14' => 'section5',
				'integrated_edit_field20' => 'section5',
				'integrated_edit_field21' => 'section5' 
			),
			'itemLocations' => array(
				'bl_sb_supplier' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sb_remarks' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sb_advanced' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sb_document' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'bl_sb_currency' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'bl_sb_summary' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'details_preview' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'integrated_edit_field10' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field11' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field12' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field29' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field16' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field17' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field18' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field19' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field1' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field2' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field4' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field7' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field8' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field9' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field13' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field15' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field3' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field5' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field6' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field14' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field20' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field21' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				) 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'edit_header' => array( 
				'edit_header' 
			),
			'hamburger' => array( 
				'hamburger' 
			),
			'edit_reset' => array( 
				'edit_reset' 
			),
			'edit_message' => array( 
				'edit_message' 
			),
			'edit_save' => array( 
				'edit_save' 
			),
			'edit_back_list' => array( 
				'edit_back_list' 
			),
			'edit_close' => array( 
				'edit_close' 
			),
			'integrated_edit_field' => array( 
				'integrated_edit_field2',
				'integrated_edit_field4',
				'integrated_edit_field7',
				'integrated_edit_field8',
				'integrated_edit_field9',
				'integrated_edit_field10',
				'integrated_edit_field11',
				'integrated_edit_field12',
				'integrated_edit_field13',
				'integrated_edit_field15',
				'integrated_edit_field16',
				'integrated_edit_field17',
				'integrated_edit_field18',
				'integrated_edit_field19',
				'integrated_edit_field29',
				'integrated_edit_field1',
				'integrated_edit_field',
				'integrated_edit_field3',
				'integrated_edit_field5',
				'integrated_edit_field6',
				'integrated_edit_field14',
				'integrated_edit_field20',
				'integrated_edit_field21' 
			),
			'edit_view' => array( 
				'edit_view' 
			),
			'details_preview' => array( 
				'details_preview' 
			),
			'section' => array( 
				'bl_sb_summary',
				'bl_sb_advanced',
				'bl_sb_currency',
				'bl_sb_remarks',
				'bl_sb_document',
				'bl_sb_supplier' 
			) 
		),
		'cellMaps' => array(
			'grid' => array(
				'cells' => array(
					'c3' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'bl_sb_supplier',
							'bl_sb_remarks',
							'bl_sb_advanced' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'bl_sb_document',
							'bl_sb_currency',
							'bl_sb_summary' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c4' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							1 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'details_preview' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c5' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							2 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							 
						),
						'fixedAtServer' => false,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 3 
			),
			'section' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field10',
							'integrated_edit_field11',
							'integrated_edit_field12' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section1' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field29' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section2' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field16',
							'integrated_edit_field17',
							'integrated_edit_field18',
							'integrated_edit_field19' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section3' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field1',
							'integrated_edit_field2',
							'integrated_edit_field4',
							'integrated_edit_field7',
							'integrated_edit_field8',
							'integrated_edit_field9' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section4' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field13',
							'integrated_edit_field15' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section5' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field',
							'integrated_edit_field3',
							'integrated_edit_field5',
							'integrated_edit_field6',
							'integrated_edit_field14',
							'integrated_edit_field20',
							'integrated_edit_field21' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			) 
		) 
	),
	'loginForm' => array(
		'loginForm' => 3 
	),
	'page' => array(
		'verticalBar' => false,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => false,
		'customButtons' => array( 
			 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'misc' => array(
		'type' => 'edit',
		'breadcrumb' => false,
		'nextPrev' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	),
	'edit' => array(
		'updateSelected' => false 
	) 
);
			$pageArray = array(
	'id' => 'edit',
	'type' => 'edit',
	'layoutId' => 'nomenu',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'edit-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'edit_message' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'below-grid' => array(
			'modelId' => 'edit-below-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c2' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'edit_save',
						'edit_back_list',
						'edit_close' 
					) 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'hamburger' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'edit-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'edit_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c3' 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c4',
							'colspan' => 2 
						) 
					) 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c5',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c3' => array(
					'model' => 'c3',
					'items' => array( 
						'bl_sb_supplier',
						'bl_sb_remarks',
						'bl_sb_advanced' 
					) 
				),
				'c' => array(
					'model' => 'c3',
					'items' => array( 
						'bl_sb_document',
						'bl_sb_currency',
						'bl_sb_summary' 
					) 
				),
				'c4' => array(
					'model' => 'c3',
					'items' => array( 
						'details_preview' 
					) 
				),
				'c5' => array(
					'model' => 'c3',
					'items' => array( 
						 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field10',
						'integrated_edit_field11',
						'integrated_edit_field12' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section1' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field29' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section2' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field16',
						'integrated_edit_field17',
						'integrated_edit_field18',
						'integrated_edit_field19' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section3' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field1',
						'integrated_edit_field2',
						'integrated_edit_field4',
						'integrated_edit_field7',
						'integrated_edit_field8',
						'integrated_edit_field9' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section4' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field13',
						'integrated_edit_field15' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section5' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field',
						'integrated_edit_field3',
						'integrated_edit_field5',
						'integrated_edit_field6',
						'integrated_edit_field14',
						'integrated_edit_field20',
						'integrated_edit_field21' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		) 
	),
	'items' => array(
		'edit_header' => array(
			'type' => 'edit_header' 
		),
		'hamburger' => array(
			'type' => 'hamburger',
			'items' => array( 
				'edit_reset',
				'edit_view' 
			) 
		),
		'edit_reset' => array(
			'type' => 'edit_reset' 
		),
		'edit_message' => array(
			'type' => 'edit_message' 
		),
		'edit_save' => array(
			'type' => 'edit_save' 
		),
		'edit_back_list' => array(
			'type' => 'edit_back_list' 
		),
		'edit_close' => array(
			'type' => 'edit_close' 
		),
		'integrated_edit_field2' => array(
			'field' => 'branch_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field4' => array(
			'field' => 'document_type',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field7' => array(
			'field' => 'supplier_invoice_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field8' => array(
			'field' => 'bill_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field9' => array(
			'field' => 'due_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field10' => array(
			'field' => 'supplier_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field11' => array(
			'field' => 'supplier_name_snapshot',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field12' => array(
			'field' => 'supplier_tin_snapshot',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field13' => array(
			'field' => 'currency_code',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field15' => array(
			'field' => 'exchange_rate',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field16' => array(
			'field' => 'department_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field17' => array(
			'field' => 'cost_center_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field18' => array(
			'field' => 'project_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field19' => array(
			'field' => 'project_task_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field29' => array(
			'field' => 'remarks',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'edit_view' => array(
			'type' => 'edit_view' 
		),
		'details_preview' => array(
			'type' => 'details_preview',
			'table' => 166290,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list' 
		),
		'integrated_edit_field1' => array(
			'field' => 'bill_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field' => array(
			'field' => 'subtotal_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field3' => array(
			'field' => 'discount_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field5' => array(
			'field' => 'input_vat_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field6' => array(
			'field' => 'withholding_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field14' => array(
			'field' => 'grand_total_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field20' => array(
			'field' => 'document_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'integrated_edit_field21' => array(
			'field' => 'posting_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0,
			'updateOnEdit' => false 
		),
		'bl_sb_summary' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Bill Summary' 
			),
			'location' => 'section5',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_advanced' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Advanced / Dimensions' 
			),
			'location' => 'section2',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_currency' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Currency' 
			),
			'location' => 'section4',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_remarks' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Remarks  ' 
			),
			'location' => 'section1',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_document' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Document' 
			),
			'location' => 'section3',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_supplier' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Supplier  ' 
			),
			'location' => 'section',
			'bsStyle' => 'default',
			'panelType' => 3 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'pageCSS' => '/* ============================================================
   BuildLedger - Supplier Bill Uniform 2-Column Card Layout
   Purpose:
   - Make section cards visually aligned
   - Add spacing between boxes
   - Keep Supplier Bill Detail grid full-width at bottom
   ============================================================ */

/* Add breathing room between left and right columns */
.r-edit-form td,
.r-view-form td {
    padding-left: 14px !important;
    padding-right: 14px !important;
    vertical-align: top !important;
}

/* General card spacing */
[data-itemid="bl_sb_supplier"],
[data-itemid="bl_sb_document"],
[data-itemid="bl_sb_remarks"],
[data-itemid="bl_sb_currency"],
[data-itemid="bl_sb_advanced"],
[data-itemid="bl_sb_summary"] {
    margin-bottom: 20px !important;
}

/* General section panel style */
[data-itemid="bl_sb_supplier"] .panel,
[data-itemid="bl_sb_document"] .panel,
[data-itemid="bl_sb_remarks"] .panel,
[data-itemid="bl_sb_currency"] .panel,
[data-itemid="bl_sb_advanced"] .panel,
[data-itemid="bl_sb_summary"] .panel {
    border-radius: 6px !important;
    overflow: hidden !important;
}

/* Cleaner heading */
[data-itemid="bl_sb_supplier"] .panel-heading,
[data-itemid="bl_sb_document"] .panel-heading,
[data-itemid="bl_sb_remarks"] .panel-heading,
[data-itemid="bl_sb_currency"] .panel-heading,
[data-itemid="bl_sb_advanced"] .panel-heading,
[data-itemid="bl_sb_summary"] .panel-heading {
    padding: 11px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Cleaner body padding */
[data-itemid="bl_sb_supplier"] .panel-body,
[data-itemid="bl_sb_document"] .panel-body,
[data-itemid="bl_sb_remarks"] .panel-body,
[data-itemid="bl_sb_currency"] .panel-body,
[data-itemid="bl_sb_advanced"] .panel-body,
[data-itemid="bl_sb_summary"] .panel-body {
    padding: 18px 22px !important;
}

/* ROW 1: Supplier and Document should have same visual height */
[data-itemid="bl_sb_supplier"] .panel,
[data-itemid="bl_sb_document"] .panel {
    min-height: 270px !important;
}

/* ROW 2: Remarks and Currency should align */
[data-itemid="bl_sb_remarks"] .panel,
[data-itemid="bl_sb_currency"] .panel {
    min-height: 215px !important;
}

/* ROW 3: Advanced and Summary should align */
[data-itemid="bl_sb_advanced"] .panel,
[data-itemid="bl_sb_summary"] .panel {
    min-height: 265px !important;
}

/* Form field spacing */
.form-group {
    margin-bottom: 14px !important;
}

/* Make inputs look consistent */
.form-control {
    min-height: 34px !important;
}

/* Detail grid should not stick too close to the sections */
.panel-info,
[data-itemid*="supplier_bill_detail"] {
    margin-top: 24px !important;
}

/* Detail table clean spacing */
.table th,
.table td {
    vertical-align: middle !important;
    white-space: nowrap;
}',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>