<?php
			$optionsArray = array(
	'pdf' => array(
		'pdfView' => false 
	),
	'details' => array(
		'purchaserequestdetail' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		) 
	),
	'fields' => array(
		'gridFields' => array( 
			 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					'custom_button1',
					'custom_button2',
					'custom_button' 
				),
				'below-grid' => array( 
					'view_back_list1',
					'custom_button4',
					'custom_button5',
					'custom_button3' 
				),
				'supertop' => array( 
					'expand_menu_button',
					'collapse_button',
					'snippet3' 
				),
				'left' => array( 
					'logo',
					'expand_button',
					'menu' 
				),
				'top' => array( 
					'view_back_list' 
				),
				'grid' => array( 
					'snippet',
					'details_preview',
					'snippet1',
					'snippet2',
					'snippet4' 
				) 
			),
			'formXtTags' => array(
				'top' => array( 
					'back_button' 
				) 
			),
			'itemForms' => array(
				'custom_button1' => 'above-grid',
				'custom_button2' => 'above-grid',
				'custom_button' => 'above-grid',
				'view_back_list1' => 'below-grid',
				'custom_button4' => 'below-grid',
				'custom_button5' => 'below-grid',
				'custom_button3' => 'below-grid',
				'expand_menu_button' => 'supertop',
				'collapse_button' => 'supertop',
				'snippet3' => 'supertop',
				'logo' => 'left',
				'expand_button' => 'left',
				'menu' => 'left',
				'view_back_list' => 'top',
				'snippet' => 'grid',
				'details_preview' => 'grid',
				'snippet1' => 'grid',
				'snippet2' => 'grid',
				'snippet4' => 'grid' 
			),
			'itemLocations' => array(
				'snippet' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'details_preview' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'snippet1' => array(
					'location' => 'grid',
					'cellId' => 'c1' 
				),
				'snippet2' => array(
					'location' => 'grid',
					'cellId' => 'c2' 
				),
				'snippet4' => array(
					'location' => 'grid',
					'cellId' => 'c2' 
				) 
			),
			'itemVisiblity' => array(
				'expand_menu_button' => 2,
				'expand_button' => 5 
			) 
		),
		'itemsByType' => array(
			'view_back_list' => array( 
				'view_back_list',
				'view_back_list1' 
			),
			'snippet' => array( 
				'snippet',
				'snippet1',
				'snippet2',
				'snippet3',
				'snippet4' 
			),
			'details_preview' => array( 
				'details_preview' 
			),
			'logo' => array( 
				'logo' 
			),
			'menu' => array( 
				'menu' 
			),
			'expand_menu_button' => array( 
				'expand_menu_button' 
			),
			'collapse_button' => array( 
				'collapse_button' 
			),
			'custom_button' => array( 
				'custom_button',
				'custom_button1',
				'custom_button2',
				'custom_button3',
				'custom_button4',
				'custom_button5' 
			),
			'expand_button' => array( 
				'expand_button' 
			) 
		),
		'cellMaps' => array(
			'grid' => array(
				'cells' => array(
					'c3' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'snippet' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							1 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'details_preview' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							2 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'snippet1' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c2' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							3 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'snippet2',
							'snippet4' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 4 
			) 
		) 
	),
	'loginForm' => array(
		'loginForm' => 3 
	),
	'page' => array(
		'verticalBar' => true,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => true,
		'customButtons' => array( 
			64850,
			64856,
			64853,
			64850,
			64856,
			64853 
		),
		'codeSnippets' => array( 
			66058,
			66154,
			64877,
			64515,
			64883 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			array(
				'id' => 'main',
				'horizontal' => false 
			) 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'misc' => array(
		'type' => 'view',
		'breadcrumb' => false,
		'nextPrev' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			64850,
			64856,
			64853,
			64850,
			64856,
			64853 
		) 
	) 
);
			$pageArray = array(
	'id' => 'view',
	'type' => 'view',
	'layoutId' => 'leftbar',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'view-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1',
							'colspan' => 1 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						 
					) 
				),
				'c' => array(
					'model' => 'c1',
					'items' => array( 
						'custom_button1',
						'custom_button2',
						'custom_button' 
					) 
				) 
			),
			'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_list1' 
					) 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'custom_button4',
						'custom_button5',
						'custom_button3' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'supertop' => array(
			'modelId' => 'leftbar-top-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1',
							'colspan' => 1 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'expand_menu_button',
						'collapse_button',
						'snippet3' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'left' => array(
			'modelId' => 'leftbar-menu',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c0' 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c0' => array(
					'model' => 'c0',
					'items' => array( 
						'logo',
						'expand_button' 
					) 
				),
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'menu' 
					) 
				) 
			),
			'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_back_list' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c3' 
						) 
					),
					'section' => '' 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c' 
						) 
					) 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					) 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c2' 
						) 
					) 
				) 
			),
			'cells' => array(
				'c3' => array(
					'model' => 'c3',
					'items' => array( 
						'snippet' 
					) 
				),
				'c' => array(
					'model' => 'c3',
					'items' => array( 
						'details_preview' 
					),
					'customCSS' => '/* ======================================================
   PURCHASE REQUEST DETAIL CARD
====================================================== */


.pr-detail-card{


background:#f7f7f7!important;

border-radius:8px!important;

padding:20px!important;

margin-top:20px!important;

width:100%!important;

box-sizing:border-box!important;


}





/* TITLE BAR */


.pr-detail-title{


background:#302f92!important;

color:white!important;

font-size:14px!important;

font-weight:600!important;

padding:15px!important;

border-radius:3px!important;

margin-bottom:15px!important;


}







/* TABLE RESET */


.pr-detail-table{


width:100%!important;

border-collapse:separate!important;

border-spacing:0 10px!important;

table-layout:fixed!important;


}







/* REMOVE HEADER STYLE */


.pr-detail-table th{


display:none!important;


}







/* DATA CELLS */


.pr-detail-table td{


background:white!important;

border:none!important;

padding:0!important;

height:45px!important;

font-size:13px!important;

color:#333!important;

vertical-align:middle!important;


}






/* EACH BOX */


.pr-detail-table td > div,
.pr-detail-table td{


padding-left:15px!important;

padding-right:15px!important;


}







/* COLUMN WIDTHS */


.pr-detail-facility{


width:18%!important;


}




.pr-detail-item{


width:28%!important;


}





.pr-detail-sku{


width:20%!important;


}





.pr-detail-unit{


width:12%!important;


}





.pr-detail-qty{


width:12%!important;

text-align:left!important;


}





.pr-detail-remarks{


width:15%!important;


}





/* ROUND FIRST AND LAST */


.pr-detail-table td:first-child{


border-radius:4px 0 0 4px!important;


}



.pr-detail-table td:last-child{


border-radius:0 4px 4px 0!important;


}






@media(max-width:900px){


.pr-detail-table{


display:block!important;

overflow-x:auto!important;


}


}' 
				),
				'c1' => array(
					'model' => 'c3',
					'items' => array( 
						'snippet1' 
					) 
				),
				'c2' => array(
					'model' => 'c3',
					'items' => array( 
						'snippet2',
						'snippet4' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		) 
	),
	'items' => array(
		'view_back_list' => array(
			'type' => 'view_back_list',
			'icon' => array(
				'style' => 0 
			) 
		),
		'snippet' => array(
			'type' => 'snippet',
			'eventGid' => 66058 
		),
		'details_preview' => array(
			'type' => 'details_preview',
			'table' => 8534,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list',
			'customCSS' => '/* ======================================================
   PURCHASE REQUEST DETAIL CARD
====================================================== */


.pr-detail-card{


background:#f7f7f7!important;

border-radius:8px!important;

padding:20px!important;

margin-top:20px!important;

width:100%!important;

box-sizing:border-box!important;


}





/* TITLE BAR */


.pr-detail-title{


background:#302f92!important;

color:white!important;

font-size:14px!important;

font-weight:600!important;

padding:15px!important;

border-radius:3px!important;

margin-bottom:15px!important;


}







/* TABLE RESET */


.pr-detail-table{


width:100%!important;

border-collapse:separate!important;

border-spacing:0 10px!important;

table-layout:fixed!important;


}







/* REMOVE HEADER STYLE */


.pr-detail-table th{


display:none!important;


}







/* DATA CELLS */


.pr-detail-table td{


background:white!important;

border:none!important;

padding:0!important;

height:45px!important;

font-size:13px!important;

color:#333!important;

vertical-align:middle!important;


}






/* EACH BOX */


.pr-detail-table td > div,
.pr-detail-table td{


padding-left:15px!important;

padding-right:15px!important;


}







/* COLUMN WIDTHS */


.pr-detail-facility{


width:18%!important;


}




.pr-detail-item{


width:28%!important;


}





.pr-detail-sku{


width:20%!important;


}





.pr-detail-unit{


width:12%!important;


}





.pr-detail-qty{


width:12%!important;

text-align:left!important;


}





.pr-detail-remarks{


width:15%!important;


}





/* ROUND FIRST AND LAST */


.pr-detail-table td:first-child{


border-radius:4px 0 0 4px!important;


}



.pr-detail-table td:last-child{


border-radius:0 4px 4px 0!important;


}






@media(max-width:900px){


.pr-detail-table{


display:block!important;

overflow-x:auto!important;


}


}' 
		),
		'snippet1' => array(
			'type' => 'snippet',
			'eventGid' => 66154 
		),
		'snippet2' => array(
			'type' => 'snippet',
			'eventGid' => 64877,
			'customCSS' => '/* ======================================================
   FORCE APPROVALS FULL WIDTH
====================================================== */


.pr-section{

width:100%!important;

max-width:none!important;

box-sizing:border-box!important;

display:block!important;


}




.pr-grid{


width:100%!important;

grid-template-columns:1fr 1fr!important;

gap:18px 30px!important;


}




.pr-section-title{


width:100%!important;

box-sizing:border-box!important;


}




.pr-value{


width:100%!important;

box-sizing:border-box!important;


}




/* EXPAND PHPRUNNER CUSTOM EVENT AREA */


body .rnr-cells,


body .rnr-bare-edit,


body .rnr-field-area,


body .rnr-custom-event{


width:100%!important;

max-width:none!important;


}' 
		),
		'logo' => array(
			'type' => 'logo' 
		),
		'menu' => array(
			'type' => 'menu' 
		),
		'expand_menu_button' => array(
			'type' => 'expand_menu_button' 
		),
		'collapse_button' => array(
			'type' => 'collapse_button' 
		),
		'snippet3' => array(
			'type' => 'snippet',
			'eventGid' => 64515 
		),
		'view_back_list1' => array(
			'type' => 'view_back_list',
			'icon' => array(
				'style' => 0 
			) 
		),
		'snippet4' => array(
			'type' => 'snippet',
			'eventGid' => 64883 
		),
		'custom_button' => array(
			'type' => 'custom_button',
			'eventGid' => 64850,
			'label' => array(
				'text' => 'Approve',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			),
			'customCSS' => '/* ======================================================
   APPROVE BUTTON
====================================================== */


.pr-btn-approve{


background:#4caf50!important;

color:white!important;

border:1px solid #4caf50!important;

height:34px!important;

padding:0 18px!important;

border-radius:6px!important;

font-size:13px!important;

font-weight:500!important;

display:inline-flex!important;

align-items:center!important;

justify-content:center!important;

gap:6px!important;

cursor:pointer!important;

text-decoration:none!important;


}



.pr-btn-approve:hover{


background:#43a047!important;

color:white!important;


}' 
		),
		'custom_button1' => array(
			'type' => 'custom_button',
			'eventGid' => 64856,
			'label' => array(
				'text' => 'Cancel',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			),
			'customCSS' => '/* ======================================================
   CANCEL BUTTON
====================================================== */


.pr-btn-cancel{


background:#ffffff!important;

color:#333333!important;

border:1px solid #333333!important;

height:34px!important;

padding:0 18px!important;

border-radius:6px!important;

font-size:13px!important;

font-weight:500!important;

display:inline-flex!important;

align-items:center!important;

justify-content:center!important;

gap:6px!important;

cursor:pointer!important;

text-decoration:none!important;


}



.pr-btn-cancel:hover{


background:#f5f5f5!important;

color:#333333!important;


}' 
		),
		'custom_button2' => array(
			'type' => 'custom_button',
			'eventGid' => 64853,
			'label' => array(
				'text' => 'Return',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			),
			'customCSS' => '/* ======================================================
   RETURN BUTTON
====================================================== */


.pr-btn-return{


background:#ef233c!important;

color:white!important;

border:1px solid #ef233c!important;

height:34px!important;

padding:0 18px!important;

border-radius:6px!important;

font-size:13px!important;

font-weight:500!important;

display:inline-flex!important;

align-items:center!important;

justify-content:center!important;

gap:6px!important;

cursor:pointer!important;

text-decoration:none!important;


}



.pr-btn-return:hover{


background:#d90429!important;

color:white!important;


}' 
		),
		'custom_button3' => array(
			'type' => 'custom_button',
			'eventGid' => 64850,
			'label' => array(
				'text' => 'Approve',
				'type' => 0 
			),
			'icon' => array(
				'style' => 0 
			) 
		),
		'custom_button4' => array(
			'type' => 'custom_button',
			'eventGid' => 64856,
			'label' => array(
				'text' => 'Cancel',
				'type' => 0 
			),
			'icon' => array(
				 
			) 
		),
		'custom_button5' => array(
			'type' => 'custom_button',
			'eventGid' => 64853,
			'label' => array(
				'text' => 'Return',
				'type' => 0 
			),
			'icon' => array(
				 
			) 
		),
		'expand_button' => array(
			'type' => 'expand_button' 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>