<?php
			$optionsArray = array(
	'details' => array(
		'supplier_payment_application' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		) 
	),
	'captcha' => array(
		'captcha' => false 
	),
	'fields' => array(
		'gridFields' => array( 
			'branch_id',
			'payment_date',
			'supplier_id',
			'currency_code',
			'exchange_rate',
			'payment_method_id',
			'bank_account_id',
			'reference_no',
			'gross_payment_amount',
			'withholding_amount',
			'bank_charge_amount',
			'net_cash_amount',
			'remarks',
			'applied_amount',
			'unapplied_amount',
			'payment_no',
			'approval_status',
			'document_status',
			'posting_status',
			'created_at',
			'approved_at',
			'posted_at' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'updateOnEditFields' => array( 
			 
		),
		'fieldItems' => array(
			'branch_id' => array( 
				'integrated_edit_field2' 
			),
			'payment_date' => array( 
				'integrated_edit_field5' 
			),
			'supplier_id' => array( 
				'integrated_edit_field6' 
			),
			'currency_code' => array( 
				'integrated_edit_field7' 
			),
			'exchange_rate' => array( 
				'integrated_edit_field8' 
			),
			'payment_method_id' => array( 
				'integrated_edit_field9' 
			),
			'bank_account_id' => array( 
				'integrated_edit_field10' 
			),
			'reference_no' => array( 
				'integrated_edit_field11' 
			),
			'gross_payment_amount' => array( 
				'integrated_edit_field12' 
			),
			'withholding_amount' => array( 
				'integrated_edit_field13' 
			),
			'bank_charge_amount' => array( 
				'integrated_edit_field14' 
			),
			'net_cash_amount' => array( 
				'integrated_edit_field15' 
			),
			'remarks' => array( 
				'integrated_edit_field21' 
			),
			'applied_amount' => array( 
				'integrated_edit_field' 
			),
			'unapplied_amount' => array( 
				'integrated_edit_field1' 
			),
			'payment_no' => array( 
				'integrated_edit_field3' 
			),
			'approval_status' => array( 
				'integrated_edit_field4' 
			),
			'document_status' => array( 
				'integrated_edit_field16' 
			),
			'posting_status' => array( 
				'integrated_edit_field17' 
			),
			'created_at' => array( 
				'integrated_edit_field18' 
			),
			'approved_at' => array( 
				'integrated_edit_field19' 
			),
			'posted_at' => array( 
				'integrated_edit_field20' 
			) 
		) 
	),
	'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_sp_supplier',
					'bl_sp_method',
					'bl_sp_remarks',
					'bl_sp_audit',
					'bl_sp_document',
					'bl_sp_currency',
					'bl_sp_summary',
					'details_preview' 
				),
				'section' => array( 
					'integrated_edit_field3',
					'integrated_edit_field2',
					'integrated_edit_field5',
					'integrated_edit_field11' 
				),
				'section1' => array( 
					'integrated_edit_field7',
					'integrated_edit_field8' 
				),
				'section2' => array( 
					'integrated_edit_field12',
					'integrated_edit_field13',
					'integrated_edit_field14',
					'integrated_edit_field15',
					'integrated_edit_field',
					'integrated_edit_field1' 
				),
				'section3' => array( 
					'integrated_edit_field6' 
				),
				'section4' => array( 
					'integrated_edit_field9',
					'integrated_edit_field10' 
				),
				'section5' => array( 
					'integrated_edit_field21' 
				),
				'section6' => array( 
					'integrated_edit_field4',
					'integrated_edit_field16',
					'integrated_edit_field17',
					'integrated_edit_field18',
					'integrated_edit_field19',
					'integrated_edit_field20' 
				) 
			),
			'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_sp_supplier' => 'grid',
				'bl_sp_method' => 'grid',
				'bl_sp_remarks' => 'grid',
				'bl_sp_audit' => 'grid',
				'bl_sp_document' => 'grid',
				'bl_sp_currency' => 'grid',
				'bl_sp_summary' => 'grid',
				'details_preview' => 'grid',
				'integrated_edit_field3' => 'section',
				'integrated_edit_field2' => 'section',
				'integrated_edit_field5' => 'section',
				'integrated_edit_field11' => 'section',
				'integrated_edit_field7' => 'section1',
				'integrated_edit_field8' => 'section1',
				'integrated_edit_field12' => 'section2',
				'integrated_edit_field13' => 'section2',
				'integrated_edit_field14' => 'section2',
				'integrated_edit_field15' => 'section2',
				'integrated_edit_field' => 'section2',
				'integrated_edit_field1' => 'section2',
				'integrated_edit_field6' => 'section3',
				'integrated_edit_field9' => 'section4',
				'integrated_edit_field10' => 'section4',
				'integrated_edit_field21' => 'section5',
				'integrated_edit_field4' => 'section6',
				'integrated_edit_field16' => 'section6',
				'integrated_edit_field17' => 'section6',
				'integrated_edit_field18' => 'section6',
				'integrated_edit_field19' => 'section6',
				'integrated_edit_field20' => 'section6' 
			),
			'itemLocations' => array(
				'bl_sp_supplier' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sp_method' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sp_remarks' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sp_audit' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'bl_sp_document' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'bl_sp_currency' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'bl_sp_summary' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'details_preview' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'integrated_edit_field3' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field2' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field5' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field11' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field7' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field8' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field12' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field13' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field14' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field15' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field1' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field6' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field9' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field10' => array(
					'location' => 'section4',
					'cellId' => 'c1' 
				),
				'integrated_edit_field21' => array(
					'location' => 'section5',
					'cellId' => 'c1' 
				),
				'integrated_edit_field4' => array(
					'location' => 'section6',
					'cellId' => 'c1' 
				),
				'integrated_edit_field16' => array(
					'location' => 'section6',
					'cellId' => 'c1' 
				),
				'integrated_edit_field17' => array(
					'location' => 'section6',
					'cellId' => 'c1' 
				),
				'integrated_edit_field18' => array(
					'location' => 'section6',
					'cellId' => 'c1' 
				),
				'integrated_edit_field19' => array(
					'location' => 'section6',
					'cellId' => 'c1' 
				),
				'integrated_edit_field20' => array(
					'location' => 'section6',
					'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_field5',
				'integrated_edit_field6',
				'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_field15',
				'integrated_edit_field21',
				'integrated_edit_field',
				'integrated_edit_field1',
				'integrated_edit_field3',
				'integrated_edit_field4',
				'integrated_edit_field16',
				'integrated_edit_field17',
				'integrated_edit_field18',
				'integrated_edit_field19',
				'integrated_edit_field20' 
			),
			'edit_view' => array( 
				'edit_view' 
			),
			'details_preview' => array( 
				'details_preview' 
			),
			'section' => array( 
				'bl_sp_supplier',
				'bl_sp_document',
				'bl_sp_method',
				'bl_sp_currency',
				'bl_sp_remarks',
				'bl_sp_summary',
				'bl_sp_audit' 
			) 
		),
		'cellMaps' => array(
			'grid' => array(
				'cells' => array(
					'c3' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'bl_sp_supplier',
							'bl_sp_method',
							'bl_sp_remarks',
							'bl_sp_audit' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'bl_sp_document',
							'bl_sp_currency',
							'bl_sp_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_field3',
							'integrated_edit_field2',
							'integrated_edit_field5',
							'integrated_edit_field11' 
						),
						'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_field7',
							'integrated_edit_field8' 
						),
						'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_field12',
							'integrated_edit_field13',
							'integrated_edit_field14',
							'integrated_edit_field15',
							'integrated_edit_field',
							'integrated_edit_field1' 
						),
						'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_field6' 
						),
						'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_field9',
							'integrated_edit_field10' 
						),
						'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' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section6' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field4',
							'integrated_edit_field16',
							'integrated_edit_field17',
							'integrated_edit_field18',
							'integrated_edit_field19',
							'integrated_edit_field20' 
						),
						'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_sp_supplier',
						'bl_sp_method',
						'bl_sp_remarks',
						'bl_sp_audit' 
					) 
				),
				'c' => array(
					'model' => 'c3',
					'items' => array( 
						'bl_sp_document',
						'bl_sp_currency',
						'bl_sp_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_field3',
						'integrated_edit_field2',
						'integrated_edit_field5',
						'integrated_edit_field11' 
					) 
				) 
			),
			'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_field7',
						'integrated_edit_field8' 
					) 
				) 
			),
			'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_field12',
						'integrated_edit_field13',
						'integrated_edit_field14',
						'integrated_edit_field15',
						'integrated_edit_field',
						'integrated_edit_field1' 
					) 
				) 
			),
			'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_field6' 
					) 
				) 
			),
			'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_field9',
						'integrated_edit_field10' 
					) 
				) 
			),
			'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' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section6' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field4',
						'integrated_edit_field16',
						'integrated_edit_field17',
						'integrated_edit_field18',
						'integrated_edit_field19',
						'integrated_edit_field20' 
					) 
				) 
			),
			'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 
		),
		'integrated_edit_field5' => array(
			'field' => 'payment_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field6' => array(
			'field' => 'supplier_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field7' => array(
			'field' => 'currency_code',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field8' => array(
			'field' => 'exchange_rate',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field9' => array(
			'field' => 'payment_method_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field10' => array(
			'field' => 'bank_account_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field11' => array(
			'field' => 'reference_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field12' => array(
			'field' => 'gross_payment_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field13' => array(
			'field' => 'withholding_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field14' => array(
			'field' => 'bank_charge_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field15' => array(
			'field' => 'net_cash_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field21' => array(
			'field' => 'remarks',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'edit_view' => array(
			'type' => 'edit_view' 
		),
		'details_preview' => array(
			'type' => 'details_preview',
			'table' => 162942,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list' 
		),
		'integrated_edit_field' => array(
			'field' => 'applied_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field1' => array(
			'field' => 'unapplied_amount',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field3' => array(
			'field' => 'payment_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field4' => array(
			'field' => 'approval_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field16' => array(
			'field' => 'document_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field17' => array(
			'field' => 'posting_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field18' => array(
			'field' => 'created_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field19' => array(
			'field' => 'approved_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field20' => array(
			'field' => 'posted_at',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'bl_sp_supplier' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Supplier ' 
			),
			'location' => 'section3',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_document' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Payment Document' 
			),
			'location' => 'section',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_method' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Payment Method' 
			),
			'location' => 'section4',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_currency' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Currency' 
			),
			'location' => 'section1',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_remarks' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Remarks ' 
			),
			'location' => 'section5',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_summary' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Payment Summary' 
			),
			'location' => 'section2',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'bl_sp_audit' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Audit / Status' 
			),
			'location' => 'section6',
			'bsStyle' => 'default',
			'panelType' => 3 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'pageCSS' => '/* ============================================================
   BuildLedger Supplier Payment Form - Uniform Sections + Spacing
   Use on:
   supplier_payment Add page Custom CSS
   supplier_payment Edit page Custom CSS
   supplier_payment View page Custom CSS
   ============================================================ */

.panel {
    margin-bottom: 22px !important;
    border-radius: 4px !important;
    border: 1px solid #dddddd !important;
    box-shadow: none !important;
}

.panel-heading {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    background: linear-gradient(#f7f7f7, #e9e9e9) !important;
}

.panel-body {
    padding: 20px 28px !important;
}

[data-itemid="bl_sp_supplier"] .panel-body,
[data-itemid="bl_sp_document"] .panel-body,
[data-itemid="bl_sp_method"] .panel-body,
[data-itemid="bl_sp_currency"] .panel-body,
[data-itemid="bl_sp_remarks"] .panel-body,
[data-itemid="bl_sp_summary"] .panel-body,
[data-itemid="bl_sp_audit"] .panel-body {
    padding: 20px 28px !important;
}

[data-itemid="bl_sp_supplier"],
[data-itemid="bl_sp_document"],
[data-itemid="bl_sp_method"],
[data-itemid="bl_sp_currency"],
[data-itemid="bl_sp_remarks"],
[data-itemid="bl_sp_summary"],
[data-itemid="bl_sp_audit"] {
    margin-bottom: 22px !important;
}

[data-itemid="bl_sp_supplier"] .panel,
[data-itemid="bl_sp_document"] .panel {
    min-height: 205px !important;
}

[data-itemid="bl_sp_method"] .panel,
[data-itemid="bl_sp_currency"] .panel {
    min-height: 230px !important;
}

[data-itemid="bl_sp_remarks"] .panel,
[data-itemid="bl_sp_summary"] .panel {
    min-height: 270px !important;
}

[data-itemid="bl_sp_audit"] .panel {
    min-height: 270px !important;
}

.form-group {
    margin-bottom: 14px !important;
}

.form-control {
    max-width: 100% !important;
}

textarea.form-control {
    min-height: 92px !important;
}

.rnr-c,
.bs-gridcell,
[data-cellid],
[data-pageid] .bs-gridcell {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.rnr-c:first-child,
.bs-gridcell:first-child {
    padding-left: 0 !important;
}

.rnr-c:last-child,
.bs-gridcell:last-child {
    padding-right: 0 !important;
}

[data-itemtype="details_preview"],
[data-itemtype="details"],
.r-details-wrapper,
.details-grid {
    margin-top: 28px !important;
    margin-bottom: 22px !important;
}

.rnr-gridtable,
.table {
    margin-top: 10px !important;
}

.rnr-gridtable th,
.rnr-gridtable td,
.table th,
.table td {
    padding: 8px 10px !important;
    vertical-align: middle !important;
}

input[name*="net_cash_amount"],
input[name*="applied_amount"],
input[name*="unapplied_amount"] {
    background-color: #f7f7f7 !important;
}

.container,
.bs-pagepanel {
    max-width: 1280px !important;
}

@media (max-width: 991px) {
    .rnr-c,
    .bs-gridcell,
    [data-cellid],
    [data-pageid] .bs-gridcell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .panel {
        margin-bottom: 18px !important;
    }

    [data-itemid="bl_sp_supplier"] .panel,
    [data-itemid="bl_sp_document"] .panel,
    [data-itemid="bl_sp_method"] .panel,
    [data-itemid="bl_sp_currency"] .panel,
    [data-itemid="bl_sp_remarks"] .panel,
    [data-itemid="bl_sp_summary"] .panel,
    [data-itemid="bl_sp_audit"] .panel {
        min-height: auto !important;
    }
}',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>