<?php
			$optionsArray = array( 'pdf' => array( 'pdfView' => false ),
'details' => array( 'sales_details' => array( 'displayPreview' => 1,
'previewPageId' => 'list_view' ),
'payments' => array( 'displayPreview' => 1,
'previewPageId' => 'list' ),
'sales_history_total' => array( 'displayPreview' => 1,
'previewPageId' => 'list1' ) ),
'master' => array( 'buyers' => array( 'preview' => false ) ),
'fields' => array( 'gridFields' => array( 'id',
'customer_name',
'paid',
'user',
'company_name',
'address_line_1',
'date_&_time',
'hot_line',
'email',
'header',
'address_line_2',
'footer',
'logo',
'total amount',
'difect',
'amount',
'customer_id',
'advance_id',
'details' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
'customer_name' => array( 'integrated_edit_field1' ),
'paid' => array( 'integrated_edit_field2' ),
'user' => array( 'integrated_edit_field3' ),
'company_name' => array( 'integrated_edit_field4' ),
'address_line_1' => array( 'integrated_edit_field5' ),
'date_&_time' => array( 'integrated_edit_field7' ),
'hot_line' => array( 'integrated_edit_field8' ),
'email' => array( 'integrated_edit_field10' ),
'header' => array( 'integrated_edit_field11' ),
'address_line_2' => array( 'integrated_edit_field6' ),
'footer' => array( 'integrated_edit_field12' ),
'logo' => array( 'integrated_edit_field13' ),
'total amount' => array( 'integrated_edit_field14',
'edit_field_label' ),
'difect' => array( 'integrated_edit_field15',
'edit_field_label3' ),
'amount' => array( 'integrated_edit_field16' ),
'customer_id' => array( 'integrated_edit_field20' ),
'advance_id' => array( 'integrated_edit_field9' ),
'details' => array( 'integrated_edit_field17' ) ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'top' => array( 'addd',
'view_back_list' ),
'above-grid' => array(  ),
'below-grid' => array(  ),
'grid' => array( 'edit_field_label3',
'text6',
'integrated_edit_field20',
'text12',
'integrated_edit_field1',
'text13',
'integrated_edit_field9',
'integrated_edit_field15',
'text5',
'integrated_edit_field',
'integrated_edit_field12',
'text8',
'integrated_edit_field7',
'integrated_edit_field10',
'details_preview1',
'integrated_edit_field2',
'text',
'integrated_edit_field3',
'text2',
'integrated_edit_field13',
'text3',
'integrated_edit_field4',
'integrated_edit_field8',
'integrated_edit_field5',
'integrated_edit_field6',
'integrated_edit_field11',
'details_preview2',
'details_preview',
'edit_field_label',
'integrated_edit_field14',
'text9',
'text10',
'text1',
'text7',
'integrated_edit_field16',
'integrated_edit_field17',
'text4',
'text11' ) ),
'formXtTags' => array( 'above-grid' => array(  ),
'below-grid' => array(  ) ),
'itemForms' => array( 'addd' => 'top',
'view_back_list' => 'top',
'edit_field_label3' => 'grid',
'text6' => 'grid',
'integrated_edit_field20' => 'grid',
'text12' => 'grid',
'integrated_edit_field1' => 'grid',
'text13' => 'grid',
'integrated_edit_field9' => 'grid',
'integrated_edit_field15' => 'grid',
'text5' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field12' => 'grid',
'text8' => 'grid',
'integrated_edit_field7' => 'grid',
'integrated_edit_field10' => 'grid',
'details_preview1' => 'grid',
'integrated_edit_field2' => 'grid',
'text' => 'grid',
'integrated_edit_field3' => 'grid',
'text2' => 'grid',
'integrated_edit_field13' => 'grid',
'text3' => 'grid',
'integrated_edit_field4' => 'grid',
'integrated_edit_field8' => 'grid',
'integrated_edit_field5' => 'grid',
'integrated_edit_field6' => 'grid',
'integrated_edit_field11' => 'grid',
'details_preview2' => 'grid',
'details_preview' => 'grid',
'edit_field_label' => 'grid',
'integrated_edit_field14' => 'grid',
'text9' => 'grid',
'text10' => 'grid',
'text1' => 'grid',
'text7' => 'grid',
'integrated_edit_field16' => 'grid',
'integrated_edit_field17' => 'grid',
'text4' => 'grid',
'text11' => 'grid' ),
'itemLocations' => array( 'edit_field_label3' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'text6' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field20' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'text12' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'text13' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field9' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field15' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'text5' => array( 'location' => 'grid',
'cellId' => 'c11' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c11' ),
'integrated_edit_field12' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'text8' => array( 'location' => 'grid',
'cellId' => 'c17' ),
'integrated_edit_field7' => array( 'location' => 'grid',
'cellId' => 'c17' ),
'integrated_edit_field10' => array( 'location' => 'grid',
'cellId' => 'c' ),
'details_preview1' => array( 'location' => 'grid',
'cellId' => 'c10' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c12' ),
'text' => array( 'location' => 'grid',
'cellId' => 'c8' ),
'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c8' ),
'text2' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'integrated_edit_field13' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'text3' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'integrated_edit_field4' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field8' => array( 'location' => 'grid',
'cellId' => 'c6' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c18' ),
'integrated_edit_field6' => array( 'location' => 'grid',
'cellId' => 'c19' ),
'integrated_edit_field11' => array( 'location' => 'grid',
'cellId' => 'c20' ),
'details_preview2' => array( 'location' => 'grid',
'cellId' => 'c21' ),
'details_preview' => array( 'location' => 'grid',
'cellId' => 'c22' ),
'edit_field_label' => array( 'location' => 'grid',
'cellId' => 'c26' ),
'integrated_edit_field14' => array( 'location' => 'grid',
'cellId' => 'c27' ),
'text9' => array( 'location' => 'grid',
'cellId' => 'c28' ),
'text10' => array( 'location' => 'grid',
'cellId' => 'c29' ),
'text1' => array( 'location' => 'grid',
'cellId' => 'c30' ),
'text7' => array( 'location' => 'grid',
'cellId' => 'c31' ),
'integrated_edit_field16' => array( 'location' => 'grid',
'cellId' => 'c14' ),
'integrated_edit_field17' => array( 'location' => 'grid',
'cellId' => 'c15' ),
'text4' => array( 'location' => 'grid',
'cellId' => 'c16' ),
'text11' => array( 'location' => 'grid',
'cellId' => 'c23' ) ),
'itemVisiblity' => array(  ) ),
'itemsByType' => array( 'view_back_list' => array( 'view_back_list' ),
'edit_field' => array( 'integrated_edit_field',
'integrated_edit_field1',
'integrated_edit_field2',
'integrated_edit_field3',
'integrated_edit_field4',
'integrated_edit_field5',
'integrated_edit_field7',
'integrated_edit_field8',
'integrated_edit_field10',
'integrated_edit_field11',
'integrated_edit_field6',
'integrated_edit_field12',
'integrated_edit_field13',
'integrated_edit_field14',
'integrated_edit_field15',
'integrated_edit_field16',
'integrated_edit_field20',
'integrated_edit_field9',
'integrated_edit_field17' ),
'text' => array( 'text5',
'text6',
'text8',
'text',
'text1',
'text2',
'text3',
'text4',
'text7',
'text9',
'text10',
'text11',
'text12',
'text13' ),
'custom_button' => array( 'addd' ),
'edit_field_label' => array( 'edit_field_label',
'edit_field_label3' ),
'details_preview' => array( 'details_preview',
'details_preview2',
'details_preview1' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c1' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'text2',
'integrated_edit_field13',
'text3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c4' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c18' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c19' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field6' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c6' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field8' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field10' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c20' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 6 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field11' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c11' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 7 ),
'tags' => array(  ),
'items' => array( 'text5',
'integrated_edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c7' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 8 ),
'tags' => array(  ),
'items' => array( 'text6',
'integrated_edit_field20',
'text12',
'integrated_edit_field1',
'text13',
'integrated_edit_field9' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c15' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 9 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field17' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c8' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 10 ),
'tags' => array(  ),
'items' => array( 'text',
'integrated_edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c17' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 11 ),
'tags' => array(  ),
'items' => array( 'text8',
'integrated_edit_field7' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c21' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 12 ),
'tags' => array(  ),
'items' => array( 'details_preview2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c25' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 13 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c22' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 14 ),
'tags' => array(  ),
'items' => array( 'details_preview' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c26' => array( 'cols' => array( 0,
1 ),
'rows' => array( 15 ),
'tags' => array( 'total_amount_fieldblock' ),
'items' => array( 'edit_field_label' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c27' => array( 'cols' => array( 2 ),
'rows' => array( 15 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field14' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 0 ),
'rows' => array( 16,
17 ),
'tags' => array(  ),
'items' => array( 'details_preview1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c16' => array( 'cols' => array( 1 ),
'rows' => array( 16 ),
'tags' => array(  ),
'items' => array( 'text4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c12' => array( 'cols' => array( 2 ),
'rows' => array( 16 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c23' => array( 'cols' => array( 1 ),
'rows' => array( 17 ),
'tags' => array(  ),
'items' => array( 'text11' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c14' => array( 'cols' => array( 2 ),
'rows' => array( 17 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field16' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 0,
1 ),
'rows' => array( 18 ),
'tags' => array( 'difect_fieldblock' ),
'items' => array( 'edit_field_label3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 2 ),
'rows' => array( 18 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field15' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c30' => array( 'cols' => array( 0,
1 ),
'rows' => array( 19 ),
'tags' => array(  ),
'items' => array( 'text1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c31' => array( 'cols' => array( 2 ),
'rows' => array( 19 ),
'tags' => array(  ),
'items' => array( 'text7' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c28' => array( 'cols' => array( 0,
1 ),
'rows' => array( 20 ),
'tags' => array(  ),
'items' => array( 'text9' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c29' => array( 'cols' => array( 2 ),
'rows' => array( 20 ),
'tags' => array(  ),
'items' => array( 'text10' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c2' => array( 'cols' => array( 0,
1,
2 ),
'rows' => array( 21 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field12' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 3,
'height' => 22 ) ) ),
'loginForm' => array( 'loginForm' => 3 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'hasCustomButtons' => true,
'customButtons' => array( 'New_Button' ) ),
'misc' => array( 'type' => 'view',
'breadcrumb' => false,
'nextPrev' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array( 'New_Button' ) ) );
			$pageArray = array( 'id' => 'view',
'type' => 'view',
'layoutId' => 'nomenu',
'disabled' => 0,
'default' => 0,
'forms' => array( 'top' => array( 'modelId' => 'view-header',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'addd',
'view_back_list' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center' ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'view-above-grid',
'grid' => array(  ),
'cells' => array(  ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'view-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 1 ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'simple-edit',
'grid' => array( array( 'section' => '',
'cells' => array( array( 'cell' => 'c1',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c4',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c18',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c19',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c6',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c20',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c11',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c7',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c15',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c8',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c17',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c21',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c25',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c22',
'colspan' => 3 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c26',
'colspan' => 2 ),
array( 'cell' => 'c27' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c10',
'rowspan' => 2 ),
array( 'cell' => 'c16' ),
array( 'cell' => 'c12',
'colspan' => 1 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c23' ),
array( 'cell' => 'c14' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c5',
'colspan' => 2 ),
array( 'cell' => 'c9',
'colspan' => 1 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c30',
'colspan' => 2 ),
array( 'cell' => 'c31' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c28',
'colspan' => 2 ),
array( 'cell' => 'c29' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c2',
'colspan' => 3 ) ) ) ),
'cells' => array( 'c5' => array( 'model' => 'c3',
'items' => array( 'edit_field_label3' ),
'align' => 'right' ),
'c7' => array( 'model' => 'c2',
'items' => array( 'text6',
'integrated_edit_field20',
'text12',
'integrated_edit_field1',
'text13',
'integrated_edit_field9' ),
'align' => 'left' ),
'c9' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field15' ),
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'c11' => array( 'model' => 'c2',
'items' => array( 'text5',
'integrated_edit_field' ),
'padding' => array( 'top' => '10px' ),
'align' => 'left' ),
'c2' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field12' ),
'align' => 'center',
'border' => array( array( 'side' => 'top',
'width' => '3px',
'color' => '#000000' ) ) ),
'c17' => array( 'model' => 'c2',
'items' => array( 'text8',
'integrated_edit_field7' ),
'align' => 'left' ),
'c' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field10' ),
'align' => 'center' ),
'c10' => array( 'model' => 'c3',
'items' => array( 'details_preview1' ),
'align' => 'center' ),
'c12' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field2' ),
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'c8' => array( 'model' => 'c3',
'items' => array( 'text',
'integrated_edit_field3' ),
'orientation' => 'horizontal' ),
'c1' => array( 'model' => 'c3',
'items' => array( 'text2',
'integrated_edit_field13',
'text3' ),
'align' => 'center',
'orientation' => 'horizontal' ),
'c4' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field4' ),
'align' => 'center' ),
'c6' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field8' ),
'align' => 'center',
'orientation' => 'horizontal' ),
'c18' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field5' ),
'align' => 'center' ),
'c19' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field6' ),
'align' => 'center' ),
'c20' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field11' ),
'border' => array( array( 'side' => 'bottom',
'width' => '5px',
'color' => '#000000' ) ),
'align' => 'center' ),
'c21' => array( 'model' => 'c2',
'items' => array( 'details_preview2' ) ),
'c22' => array( 'model' => 'c2',
'items' => array( 'details_preview' ) ),
'c25' => array( 'model' => 'c2',
'items' => array(  ) ),
'c26' => array( 'model' => 'c2',
'items' => array( 'edit_field_label' ),
'align' => 'right' ),
'c27' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field14' ),
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'c28' => array( 'model' => 'c3',
'items' => array( 'text9' ),
'align' => 'center' ),
'c29' => array( 'model' => 'c3',
'items' => array( 'text10' ),
'orientation' => 'horizontal',
'align' => 'center' ),
'c30' => array( 'model' => 'c3',
'items' => array( 'text1' ),
'align' => 'center',
'padding' => array( 'top' => '40px' ) ),
'c31' => array( 'model' => 'c3',
'items' => array( 'text7' ),
'padding' => array( 'top' => '40px' ),
'align' => 'center' ),
'c14' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field16' ),
'align' => 'right',
'border' => array( array( 'side' => '',
'width' => '1px',
'color' => '#000000' ) ) ),
'c15' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field17' ) ),
'c16' => array( 'model' => 'c3',
'items' => array( 'text4' ),
'align' => 'right' ),
'c23' => array( 'model' => 'c3',
'items' => array( 'text11' ),
'align' => 'right' ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => false,
'separateLabels' => false ) ),
'items' => array( 'view_back_list' => array( 'type' => 'view_back_list',
'buttonSize' => 'large',
'buttonStyle' => 'warning' ),
'integrated_edit_field' => array( 'field' => 'id',
'type' => 'edit_field',
'orientation' => 1,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'italic' => true ),
'integrated_edit_field1' => array( 'field' => 'customer_name',
'type' => 'edit_field',
'orientation' => 1,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'italic' => true ),
'integrated_edit_field2' => array( 'field' => 'paid',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px' ),
'integrated_edit_field3' => array( 'field' => 'user',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'italic' => true ),
'integrated_edit_field4' => array( 'field' => 'company_name',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '22px',
'joined' => false,
'separated' => true,
'bold' => true ),
'integrated_edit_field5' => array( 'field' => 'address_line_1',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true ),
'text5' => array( 'type' => 'text',
'label' => array( 'text' => 'Sales Id - ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px',
'bold' => false ),
'text6' => array( 'type' => 'text',
'label' => array( 'text' => 'Customer Name - ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'addd' => array( 'eventId' => 'New_Button',
'label' => array( 'text' => 'New Sale',
'type' => 0 ),
'type' => 'custom_button',
'buttonSize' => 'large',
'buttonStyle' => 'success',
'icon' => array( 'glyph' => 'plus' ) ),
'integrated_edit_field7' => array( 'field' => 'date_&_time',
'type' => 'edit_field',
'orientation' => 1,
'joined' => false,
'separated' => true,
'font-size' => '20px' ),
'text8' => array( 'type' => 'text',
'label' => array( 'text' => 'Date & Time - ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'integrated_edit_field8' => array( 'field' => 'hot_line',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true ),
'integrated_edit_field10' => array( 'field' => 'email',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true,
'mobileDisplay' => '' ),
'integrated_edit_field11' => array( 'field' => 'header',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true ),
'integrated_edit_field6' => array( 'field' => 'address_line_2',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true ),
'integrated_edit_field12' => array( 'field' => 'footer',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px' ),
'integrated_edit_field13' => array( 'field' => 'logo',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true ),
'integrated_edit_field14' => array( 'field' => 'total amount',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'underline' => false,
'bold' => true ),
'integrated_edit_field15' => array( 'field' => 'difect',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'bold' => true ),
'edit_field_label' => array( 'type' => 'edit_field_label',
'field' => 'total amount',
'separated' => true,
'font-size' => '20px',
'bold' => true,
'nowrap' => true ),
'edit_field_label3' => array( 'type' => 'edit_field_label',
'field' => 'difect',
'separated' => true,
'font-size' => '20px' ),
'text' => array( 'type' => 'text',
'label' => array( 'text' => 'User - ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text1' => array( 'type' => 'text',
'label' => array( 'text' => '....................................................',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text2' => array( 'type' => 'text',
'label' => array( 'text' => ' ',
'type' => 0 ),
'editedByRte' => false ),
'text3' => array( 'type' => 'text',
'label' => array( 'text' => ' ',
'type' => 0 ),
'editedByRte' => false ),
'details_preview' => array( 'type' => 'details_preview',
'table' => 'payments',
'items' => array(  ),
'popup' => false,
'pageId' => 'list' ),
'details_preview2' => array( 'type' => 'details_preview',
'table' => 'sales_details',
'items' => array(  ),
'popup' => false,
'pageId' => 'list_view' ),
'text4' => array( 'type' => 'text',
'label' => array( 'text' => 'Paid',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px',
'bold' => true,
'padding' => array( 'right' => '5px' ) ),
'text7' => array( 'type' => 'text',
'label' => array( 'text' => '....................................................',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text9' => array( 'type' => 'text',
'label' => array( 'text' => 'Customer signature',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'text10' => array( 'type' => 'text',
'label' => array( 'text' => 'For New Samgi',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'integrated_edit_field16' => array( 'field' => 'amount',
'type' => 'edit_field',
'orientation' => 0,
'font-size' => '20px',
'joined' => false,
'separated' => true ),
'integrated_edit_field20' => array( 'field' => 'customer_id',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px',
'italic' => true ),
'text11' => array( 'type' => 'text',
'label' => array( 'text' => 'Advance',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px',
'bold' => true ),
'text12' => array( 'type' => 'text',
'label' => array( 'text' => ' / ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'integrated_edit_field9' => array( 'field' => 'advance_id',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'font-size' => '20px' ),
'text13' => array( 'type' => 'text',
'label' => array( 'text' => ' / ',
'type' => 0 ),
'editedByRte' => false,
'font-size' => '20px' ),
'integrated_edit_field17' => array( 'field' => 'details',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'padding' => array( 'left' => '25px' ),
'font-size' => '20px' ),
'details_preview1' => array( 'type' => 'details_preview',
'table' => 'sales_history_total',
'items' => array(  ),
'popup' => false,
'pageId' => 'list1',
'hideEmptyPreview' => true ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>