<?php
			$optionsArray = array(
	'pdf' => array(
		'pdfView' => false 
	),
	'details' => array(
		'supplier_bill_detail' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		) 
	),
	'fields' => array(
		'gridFields' => array( 
			'branch_id',
			'document_type',
			'bill_no',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'supplier_name_snapshot',
			'supplier_tin_snapshot',
			'currency_code',
			'exchange_rate',
			'subtotal_amount',
			'discount_amount',
			'input_vat_amount',
			'withholding_amount',
			'grand_total_amount',
			'approval_status',
			'document_status',
			'posting_status',
			'remarks',
			'created_at',
			'approved_at',
			'posted_at' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'branch_id' => array( 
				'integrated_edit_field3' 
			),
			'document_type' => array( 
				'integrated_edit_field5' 
			),
			'bill_no' => array( 
				'integrated_edit_field7' 
			),
			'supplier_invoice_no' => array( 
				'integrated_edit_field8' 
			),
			'bill_date' => array( 
				'integrated_edit_field9' 
			),
			'due_date' => array( 
				'integrated_edit_field10' 
			),
			'supplier_id' => array( 
				'integrated_edit_field11' 
			),
			'supplier_name_snapshot' => array( 
				'integrated_edit_field12' 
			),
			'supplier_tin_snapshot' => array( 
				'integrated_edit_field13' 
			),
			'currency_code' => array( 
				'integrated_edit_field14' 
			),
			'exchange_rate' => array( 
				'integrated_edit_field16' 
			),
			'subtotal_amount' => array( 
				'integrated_edit_field21' 
			),
			'discount_amount' => array( 
				'integrated_edit_field22' 
			),
			'input_vat_amount' => array( 
				'integrated_edit_field23' 
			),
			'withholding_amount' => array( 
				'integrated_edit_field24' 
			),
			'grand_total_amount' => array( 
				'integrated_edit_field25' 
			),
			'approval_status' => array( 
				'integrated_edit_field27' 
			),
			'document_status' => array( 
				'integrated_edit_field28' 
			),
			'posting_status' => array( 
				'integrated_edit_field29' 
			),
			'remarks' => array( 
				'integrated_edit_field30' 
			),
			'created_at' => array( 
				'integrated_edit_field34' 
			),
			'approved_at' => array( 
				'integrated_edit_field35' 
			),
			'posted_at' => array( 
				'integrated_edit_field36' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => true,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					'custom_button',
					'custom_button1' 
				),
				'below-grid' => array( 
					'view_back_list',
					'view_close',
					'hamburger' 
				),
				'top' => array( 
					'view_header' 
				),
				'grid' => array( 
					'bl_sb_supplier',
					'bl_sb_remarks',
					'bl_sb_advanced',
					'details_preview',
					'bl_sb_document',
					'bl_sb_currency',
					'bl_sb_summary' 
				),
				'section' => array( 
					'integrated_edit_field11',
					'integrated_edit_field12',
					'integrated_edit_field13' 
				),
				'section1' => array( 
					'integrated_edit_field30' 
				),
				'section2' => array( 
					'integrated_edit_field27',
					'integrated_edit_field28',
					'integrated_edit_field29',
					'integrated_edit_field34',
					'integrated_edit_field35',
					'integrated_edit_field36' 
				),
				'section3' => array( 
					'integrated_edit_field7',
					'integrated_edit_field3',
					'integrated_edit_field5',
					'integrated_edit_field8',
					'integrated_edit_field9',
					'integrated_edit_field10' 
				),
				'section4' => array( 
					'integrated_edit_field14',
					'integrated_edit_field16' 
				),
				'section5' => array( 
					'integrated_edit_field21',
					'integrated_edit_field22',
					'integrated_edit_field23',
					'integrated_edit_field24',
					'integrated_edit_field25' 
				) 
			),
			'formXtTags' => array(
				 
			),
			'itemForms' => array(
				'custom_button' => 'above-grid',
				'custom_button1' => 'above-grid',
				'view_back_list' => 'below-grid',
				'view_close' => 'below-grid',
				'hamburger' => 'below-grid',
				'view_header' => 'top',
				'bl_sb_supplier' => 'grid',
				'bl_sb_remarks' => 'grid',
				'bl_sb_advanced' => 'grid',
				'details_preview' => 'grid',
				'bl_sb_document' => 'grid',
				'bl_sb_currency' => 'grid',
				'bl_sb_summary' => 'grid',
				'integrated_edit_field11' => 'section',
				'integrated_edit_field12' => 'section',
				'integrated_edit_field13' => 'section',
				'integrated_edit_field30' => 'section1',
				'integrated_edit_field27' => 'section2',
				'integrated_edit_field28' => 'section2',
				'integrated_edit_field29' => 'section2',
				'integrated_edit_field34' => 'section2',
				'integrated_edit_field35' => 'section2',
				'integrated_edit_field36' => 'section2',
				'integrated_edit_field7' => 'section3',
				'integrated_edit_field3' => 'section3',
				'integrated_edit_field5' => 'section3',
				'integrated_edit_field8' => 'section3',
				'integrated_edit_field9' => 'section3',
				'integrated_edit_field10' => 'section3',
				'integrated_edit_field14' => 'section4',
				'integrated_edit_field16' => 'section4',
				'integrated_edit_field21' => 'section5',
				'integrated_edit_field22' => 'section5',
				'integrated_edit_field23' => 'section5',
				'integrated_edit_field24' => 'section5',
				'integrated_edit_field25' => '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' 
				),
				'details_preview' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'bl_sb_document' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'bl_sb_currency' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'bl_sb_summary' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'integrated_edit_field11' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field12' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field13' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field30' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field27' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field28' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field29' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field34' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field35' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field36' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field7' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field3' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field5' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field8' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field9' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field10' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field14' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field16' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field21' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field22' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field23' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field24' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field25' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				) 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'view_header' => array( 
				'view_header' 
			),
			'view_back_list' => array( 
				'view_back_list' 
			),
			'view_close' => array( 
				'view_close' 
			),
			'integrated_edit_field' => array( 
				'integrated_edit_field3',
				'integrated_edit_field5',
				'integrated_edit_field7',
				'integrated_edit_field8',
				'integrated_edit_field9',
				'integrated_edit_field10',
				'integrated_edit_field11',
				'integrated_edit_field12',
				'integrated_edit_field13',
				'integrated_edit_field14',
				'integrated_edit_field16',
				'integrated_edit_field21',
				'integrated_edit_field22',
				'integrated_edit_field23',
				'integrated_edit_field24',
				'integrated_edit_field25',
				'integrated_edit_field27',
				'integrated_edit_field28',
				'integrated_edit_field29',
				'integrated_edit_field30',
				'integrated_edit_field34',
				'integrated_edit_field35',
				'integrated_edit_field36' 
			),
			'hamburger' => array( 
				'hamburger' 
			),
			'view_edit' => array( 
				'view_edit' 
			),
			'custom_button' => array( 
				'custom_button',
				'custom_button1' 
			),
			'details_preview' => array( 
				'details_preview' 
			),
			'section' => array( 
				'bl_sb_supplier',
				'bl_sb_document',
				'bl_sb_remarks',
				'bl_sb_currency',
				'bl_sb_advanced',
				'bl_sb_summary' 
			) 
		),
		'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 
					),
					'c4' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'bl_sb_document',
							'bl_sb_currency',
							'bl_sb_summary' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							1 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'details_preview' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 2 
			),
			'section' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field11',
							'integrated_edit_field12',
							'integrated_edit_field13' 
						),
						'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_field30' 
						),
						'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_field27',
							'integrated_edit_field28',
							'integrated_edit_field29',
							'integrated_edit_field34',
							'integrated_edit_field35',
							'integrated_edit_field36' 
						),
						'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_field7',
							'integrated_edit_field3',
							'integrated_edit_field5',
							'integrated_edit_field8',
							'integrated_edit_field9',
							'integrated_edit_field10' 
						),
						'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_field14',
							'integrated_edit_field16' 
						),
						'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_field21',
							'integrated_edit_field22',
							'integrated_edit_field23',
							'integrated_edit_field24',
							'integrated_edit_field25' 
						),
						'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' => true,
		'customButtons' => array( 
			162621,
			162617 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'misc' => array(
		'type' => 'view',
		'breadcrumb' => false,
		'nextPrev' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			162621,
			162617 
		) 
	) 
);
			$pageArray = array(
	'id' => 'view',
	'type' => 'view',
	'layoutId' => 'nomenu',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'view-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'custom_button',
						'custom_button1' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'below-grid' => array(
			'modelId' => 'view-below-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c2' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'view_back_list',
						'view_close' 
					) 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'hamburger' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'view-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'view_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c3' 
						),
						array(
							'cell' => 'c4' 
						) 
					),
					'section' => '' 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c',
							'colspan' => 2 
						) 
					) 
				) 
			),
			'cells' => array(
				'c3' => array(
					'model' => 'c3',
					'items' => array( 
						'bl_sb_supplier',
						'bl_sb_remarks',
						'bl_sb_advanced' 
					) 
				),
				'c' => array(
					'model' => 'c3',
					'items' => array( 
						'details_preview' 
					) 
				),
				'c4' => array(
					'model' => 'c3',
					'items' => array( 
						'bl_sb_document',
						'bl_sb_currency',
						'bl_sb_summary' 
					) 
				) 
			),
			'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_field11',
						'integrated_edit_field12',
						'integrated_edit_field13' 
					) 
				) 
			),
			'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_field30' 
					) 
				) 
			),
			'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_field27',
						'integrated_edit_field28',
						'integrated_edit_field29',
						'integrated_edit_field34',
						'integrated_edit_field35',
						'integrated_edit_field36' 
					) 
				) 
			),
			'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_field7',
						'integrated_edit_field3',
						'integrated_edit_field5',
						'integrated_edit_field8',
						'integrated_edit_field9',
						'integrated_edit_field10' 
					) 
				) 
			),
			'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_field14',
						'integrated_edit_field16' 
					) 
				) 
			),
			'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_field21',
						'integrated_edit_field22',
						'integrated_edit_field23',
						'integrated_edit_field24',
						'integrated_edit_field25' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		) 
	),
	'items' => array(
		'view_header' => array(
			'type' => 'view_header' 
		),
		'view_back_list' => array(
			'type' => 'view_back_list' 
		),
		'view_close' => array(
			'type' => 'view_close' 
		),
		'integrated_edit_field3' => array(
			'field' => 'branch_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field5' => array(
			'field' => 'document_type',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field7' => array(
			'field' => 'bill_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field8' => array(
			'field' => 'supplier_invoice_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field9' => array(
			'field' => 'bill_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field10' => array(
			'field' => 'due_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field11' => array(
			'field' => 'supplier_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field12' => array(
			'field' => 'supplier_name_snapshot',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field13' => array(
			'field' => 'supplier_tin_snapshot',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field14' => array(
			'field' => 'currency_code',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field16' => array(
			'field' => 'exchange_rate',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field21' => array(
			'field' => 'subtotal_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field22' => array(
			'field' => 'discount_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field23' => array(
			'field' => 'input_vat_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field24' => array(
			'field' => 'withholding_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field25' => array(
			'field' => 'grand_total_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field27' => array(
			'field' => 'approval_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field28' => array(
			'field' => 'document_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field29' => array(
			'field' => 'posting_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field30' => array(
			'field' => 'remarks',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field34' => array(
			'field' => 'created_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field35' => array(
			'field' => 'approved_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field36' => array(
			'field' => 'posted_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'hamburger' => array(
			'type' => 'hamburger',
			'items' => array( 
				'view_edit' 
			) 
		),
		'view_edit' => array(
			'type' => 'view_edit' 
		),
		'custom_button' => array(
			'type' => 'custom_button',
			'eventGid' => 162621,
			'label' => array(
				'text' => 'post_supplier_bill',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			) 
		),
		'custom_button1' => array(
			'type' => 'custom_button',
			'eventGid' => 162617,
			'label' => array(
				'text' => 'reverse_supplier_bill',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			) 
		),
		'details_preview' => array(
			'type' => 'details_preview',
			'table' => 166290,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list' 
		),
		'bl_sb_supplier' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Supplier' 
			),
			'location' => 'section',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_document' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Document' 
			),
			'location' => 'section3',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_remarks' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Remarks  ' 
			),
			'location' => 'section1',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_currency' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Currency' 
			),
			'location' => 'section4',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_advanced' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Audit / Status ' 
			),
			'location' => 'section2',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sb_summary' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Bill Summary' 
			),
			'location' => 'section5',
			'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(
		 
	) 
);
		?>