<?php
global $runnerTableSettings;
$runnerTableSettings['trip_ticket'] = array(
	'name' => 'trip_ticket',
	'shortName' => 'trip_ticket',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'trip_ticket',
	'afterAddDetail' => 'trip_ticket',
	'detailsBadgeColor' => 'edca00',
	'strOrderBy' => 'order by id desc',
	'orderInfo' => array( 
		array(
			'index' => 1,
			'dir' => 'DESC',
			'field' => 'id' 
		) 
	),
	'sql' => 'SELECT
	id,
	"" AS `print`,
	control_no,
	trip_ticket_no,
	form_type,
	logistics_job_id,
	delivery_receipt_id,
	request_dispatch_plan_id,
	request_date,
	trip_date_from,
	trip_date_to,
	issue_date,
	dispatch_datetime,
	return_datetime,
	driver_employee_id,
	driver_name,
	driver_contact_no,
	helper_employee_id,
	helper_name,
	helper_contact_no,
	vehicle_id,
	primary_plate_no,
	alternate_plate_no,
	plate_no,
	vehicle_type,
	transporter_type,
	third_party_provider_id,
	provider_id,
	route_from_location_id,
	route_to_location_id,
	route_description,
	destination_text,
	authorized_passengers_text,
	purpose,
	cargo_description,
	odometer_out,
	fuel_out,
	fuel_before_estimate,
	dashboard_photo_before,
	odometer_in,
	fuel_in,
	fuel_after_estimate,
	dashboard_photo_after,
	total_distance_km,
	gasoline_issued_liters,
	gasoline_purchased_liters,
	gasoline_balance_liters,
	gear_oil_liters,
	motor_oil_liters,
	brake_fluid_liters,
	grease_used_liters,
	requested_by_employee_id,
	requested_by_name,
	requested_by_position,
	requested_by_office,
	requested_date,
	approved_by,
	approved_by_name,
	approved_by_position,
	approved_date,
	certified_correct_by_id,
	certified_correct_by_name,
	certified_correct_by_pos,
	certified_correct_date,
	signed_by_driver,
	signed_date_driver,
	signed_by_authorized,
	signed_date_authorized,
	actual_departure,
	actual_arrival,
	trip_status,
	delivery_status,
	remarks,
	created_by,
	created_at,
	updated_by,
	updated_at,
	status
FROM
	trip_ticket
	
	order by id desc
',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'control_no' => array(
			'name' => 'control_no',
			'goodName' => 'control_no',
			'strField' => 'control_no',
			'index' => 3,
			'sqlExpression' => 'control_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'trip_ticket_no' => array(
			'name' => 'trip_ticket_no',
			'goodName' => 'trip_ticket_no',
			'strField' => 'trip_ticket_no',
			'index' => 4,
			'sqlExpression' => 'trip_ticket_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'form_type' => array(
			'name' => 'form_type',
			'goodName' => 'form_type',
			'strField' => 'form_type',
			'index' => 5,
			'sqlExpression' => 'form_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'logistics_job_id' => array(
			'name' => 'logistics_job_id',
			'goodName' => 'logistics_job_id',
			'strField' => 'logistics_job_id',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'logistics_job_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'delivery_receipt_id' => array(
			'name' => 'delivery_receipt_id',
			'goodName' => 'delivery_receipt_id',
			'strField' => 'delivery_receipt_id',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'delivery_receipt_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'request_date' => array(
			'name' => 'request_date',
			'goodName' => 'request_date',
			'strField' => 'request_date',
			'index' => 9,
			'type' => 7,
			'sqlExpression' => 'request_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'trip_date_from' => array(
			'name' => 'trip_date_from',
			'goodName' => 'trip_date_from',
			'strField' => 'trip_date_from',
			'index' => 10,
			'type' => 7,
			'sqlExpression' => 'trip_date_from',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'required' => true,
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'trip_date_to' => array(
			'name' => 'trip_date_to',
			'goodName' => 'trip_date_to',
			'strField' => 'trip_date_to',
			'index' => 11,
			'type' => 7,
			'sqlExpression' => 'trip_date_to',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'required' => true,
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'issue_date' => array(
			'name' => 'issue_date',
			'goodName' => 'issue_date',
			'strField' => 'issue_date',
			'index' => 12,
			'type' => 7,
			'sqlExpression' => 'issue_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'dispatch_datetime' => array(
			'name' => 'dispatch_datetime',
			'goodName' => 'dispatch_datetime',
			'strField' => 'dispatch_datetime',
			'index' => 13,
			'type' => 135,
			'sqlExpression' => 'dispatch_datetime',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'return_datetime' => array(
			'name' => 'return_datetime',
			'goodName' => 'return_datetime',
			'strField' => 'return_datetime',
			'index' => 14,
			'type' => 135,
			'sqlExpression' => 'return_datetime',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'driver_employee_id' => array(
			'name' => 'driver_employee_id',
			'goodName' => 'driver_employee_id',
			'strField' => 'driver_employee_id',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'driver_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'driver_name' => array(
			'name' => 'driver_name',
			'goodName' => 'driver_name',
			'strField' => 'driver_name',
			'index' => 16,
			'sqlExpression' => 'driver_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'helper_employee_id' => array(
			'name' => 'helper_employee_id',
			'goodName' => 'helper_employee_id',
			'strField' => 'helper_employee_id',
			'index' => 18,
			'type' => 3,
			'sqlExpression' => 'helper_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'helper_name' => array(
			'name' => 'helper_name',
			'goodName' => 'helper_name',
			'strField' => 'helper_name',
			'index' => 19,
			'sqlExpression' => 'helper_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'vehicle_id' => array(
			'name' => 'vehicle_id',
			'goodName' => 'vehicle_id',
			'strField' => 'vehicle_id',
			'index' => 21,
			'type' => 3,
			'sqlExpression' => 'vehicle_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'primary_plate_no' => array(
			'name' => 'primary_plate_no',
			'goodName' => 'primary_plate_no',
			'strField' => 'primary_plate_no',
			'index' => 22,
			'sqlExpression' => 'primary_plate_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'alternate_plate_no' => array(
			'name' => 'alternate_plate_no',
			'goodName' => 'alternate_plate_no',
			'strField' => 'alternate_plate_no',
			'index' => 23,
			'sqlExpression' => 'alternate_plate_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'plate_no' => array(
			'name' => 'plate_no',
			'goodName' => 'plate_no',
			'strField' => 'plate_no',
			'index' => 24,
			'sqlExpression' => 'plate_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'logistics_vehicle',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'id',
					'lookupOrderBy' => 'plate_no',
					'lookupAllowAdd' => true,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'driver_employee_id',
							'lookupField' => 'id' 
						),
						array(
							'masterField' => 'driver_name',
							'lookupField' => 'driver_name' 
						) 
					) 
				) 
			),
			'tableName' => 'trip_ticket',
			'viewLinkTable' => 'logistics_vehicle',
			'viewLinkLookup' => true 
		),
		'vehicle_type' => array(
			'name' => 'vehicle_type',
			'goodName' => 'vehicle_type',
			'strField' => 'vehicle_type',
			'index' => 25,
			'sqlExpression' => 'vehicle_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'transporter_type' => array(
			'name' => 'transporter_type',
			'goodName' => 'transporter_type',
			'strField' => 'transporter_type',
			'index' => 26,
			'type' => 129,
			'sqlExpression' => 'transporter_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'INTERNAL',
						'THIRD_PARTY' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'third_party_provider_id' => array(
			'name' => 'third_party_provider_id',
			'goodName' => 'third_party_provider_id',
			'strField' => 'third_party_provider_id',
			'index' => 27,
			'type' => 3,
			'sqlExpression' => 'third_party_provider_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'route_from_location_id' => array(
			'name' => 'route_from_location_id',
			'goodName' => 'route_from_location_id',
			'strField' => 'route_from_location_id',
			'index' => 29,
			'type' => 3,
			'sqlExpression' => 'route_from_location_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'route_to_location_id' => array(
			'name' => 'route_to_location_id',
			'goodName' => 'route_to_location_id',
			'strField' => 'route_to_location_id',
			'index' => 30,
			'type' => 3,
			'sqlExpression' => 'route_to_location_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'route_description' => array(
			'name' => 'route_description',
			'goodName' => 'route_description',
			'strField' => 'route_description',
			'index' => 31,
			'type' => 201,
			'sqlExpression' => 'route_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'destination_text' => array(
			'name' => 'destination_text',
			'goodName' => 'destination_text',
			'strField' => 'destination_text',
			'index' => 32,
			'type' => 201,
			'sqlExpression' => 'destination_text',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area',
					'required' => true 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'authorized_passengers_text' => array(
			'name' => 'authorized_passengers_text',
			'goodName' => 'authorized_passengers_text',
			'strField' => 'authorized_passengers_text',
			'index' => 33,
			'type' => 201,
			'sqlExpression' => 'authorized_passengers_text',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'purpose' => array(
			'name' => 'purpose',
			'goodName' => 'purpose',
			'strField' => 'purpose',
			'index' => 34,
			'sqlExpression' => 'purpose',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'cargo_description' => array(
			'name' => 'cargo_description',
			'goodName' => 'cargo_description',
			'strField' => 'cargo_description',
			'index' => 35,
			'type' => 201,
			'sqlExpression' => 'cargo_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'odometer_out' => array(
			'name' => 'odometer_out',
			'goodName' => 'odometer_out',
			'strField' => 'odometer_out',
			'index' => 36,
			'type' => 14,
			'sqlExpression' => 'odometer_out',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'fuel_out' => array(
			'name' => 'fuel_out',
			'goodName' => 'fuel_out',
			'strField' => 'fuel_out',
			'index' => 37,
			'type' => 14,
			'sqlExpression' => 'fuel_out',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'odometer_in' => array(
			'name' => 'odometer_in',
			'goodName' => 'odometer_in',
			'strField' => 'odometer_in',
			'index' => 40,
			'type' => 14,
			'sqlExpression' => 'odometer_in',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'fuel_in' => array(
			'name' => 'fuel_in',
			'goodName' => 'fuel_in',
			'strField' => 'fuel_in',
			'index' => 41,
			'type' => 14,
			'sqlExpression' => 'fuel_in',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'total_distance_km' => array(
			'name' => 'total_distance_km',
			'goodName' => 'total_distance_km',
			'strField' => 'total_distance_km',
			'index' => 44,
			'type' => 14,
			'sqlExpression' => 'total_distance_km',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'gasoline_issued_liters' => array(
			'name' => 'gasoline_issued_liters',
			'goodName' => 'gasoline_issued_liters',
			'strField' => 'gasoline_issued_liters',
			'index' => 45,
			'type' => 14,
			'sqlExpression' => 'gasoline_issued_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'gasoline_purchased_liters' => array(
			'name' => 'gasoline_purchased_liters',
			'goodName' => 'gasoline_purchased_liters',
			'strField' => 'gasoline_purchased_liters',
			'index' => 46,
			'type' => 14,
			'sqlExpression' => 'gasoline_purchased_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'gasoline_balance_liters' => array(
			'name' => 'gasoline_balance_liters',
			'goodName' => 'gasoline_balance_liters',
			'strField' => 'gasoline_balance_liters',
			'index' => 47,
			'type' => 14,
			'sqlExpression' => 'gasoline_balance_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'gear_oil_liters' => array(
			'name' => 'gear_oil_liters',
			'goodName' => 'gear_oil_liters',
			'strField' => 'gear_oil_liters',
			'index' => 48,
			'type' => 14,
			'sqlExpression' => 'gear_oil_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'motor_oil_liters' => array(
			'name' => 'motor_oil_liters',
			'goodName' => 'motor_oil_liters',
			'strField' => 'motor_oil_liters',
			'index' => 49,
			'type' => 14,
			'sqlExpression' => 'motor_oil_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'brake_fluid_liters' => array(
			'name' => 'brake_fluid_liters',
			'goodName' => 'brake_fluid_liters',
			'strField' => 'brake_fluid_liters',
			'index' => 50,
			'type' => 14,
			'sqlExpression' => 'brake_fluid_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'grease_used_liters' => array(
			'name' => 'grease_used_liters',
			'goodName' => 'grease_used_liters',
			'strField' => 'grease_used_liters',
			'index' => 51,
			'type' => 14,
			'sqlExpression' => 'grease_used_liters',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'requested_by_employee_id' => array(
			'name' => 'requested_by_employee_id',
			'goodName' => 'requested_by_employee_id',
			'strField' => 'requested_by_employee_id',
			'index' => 52,
			'type' => 3,
			'sqlExpression' => 'requested_by_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'requested_by_name' => array(
			'name' => 'requested_by_name',
			'goodName' => 'requested_by_name',
			'strField' => 'requested_by_name',
			'index' => 53,
			'sqlExpression' => 'requested_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'requested_by_position' => array(
			'name' => 'requested_by_position',
			'goodName' => 'requested_by_position',
			'strField' => 'requested_by_position',
			'index' => 54,
			'sqlExpression' => 'requested_by_position',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'requested_by_office' => array(
			'name' => 'requested_by_office',
			'goodName' => 'requested_by_office',
			'strField' => 'requested_by_office',
			'index' => 55,
			'sqlExpression' => 'requested_by_office',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'requested_date' => array(
			'name' => 'requested_date',
			'goodName' => 'requested_date',
			'strField' => 'requested_date',
			'index' => 56,
			'type' => 135,
			'sqlExpression' => 'requested_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'approved_by' => array(
			'name' => 'approved_by',
			'goodName' => 'approved_by',
			'strField' => 'approved_by',
			'index' => 57,
			'type' => 3,
			'sqlExpression' => 'approved_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'approved_by_name' => array(
			'name' => 'approved_by_name',
			'goodName' => 'approved_by_name',
			'strField' => 'approved_by_name',
			'index' => 58,
			'sqlExpression' => 'approved_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'approved_by_position' => array(
			'name' => 'approved_by_position',
			'goodName' => 'approved_by_position',
			'strField' => 'approved_by_position',
			'index' => 59,
			'sqlExpression' => 'approved_by_position',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'approved_date' => array(
			'name' => 'approved_date',
			'goodName' => 'approved_date',
			'strField' => 'approved_date',
			'index' => 60,
			'type' => 135,
			'sqlExpression' => 'approved_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'certified_correct_by_id' => array(
			'name' => 'certified_correct_by_id',
			'goodName' => 'certified_correct_by_id',
			'strField' => 'certified_correct_by_id',
			'index' => 61,
			'type' => 3,
			'sqlExpression' => 'certified_correct_by_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'certified_correct_by_name' => array(
			'name' => 'certified_correct_by_name',
			'goodName' => 'certified_correct_by_name',
			'strField' => 'certified_correct_by_name',
			'index' => 62,
			'sqlExpression' => 'certified_correct_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'certified_correct_by_pos' => array(
			'name' => 'certified_correct_by_pos',
			'goodName' => 'certified_correct_by_pos',
			'strField' => 'certified_correct_by_pos',
			'index' => 63,
			'sqlExpression' => 'certified_correct_by_pos',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'certified_correct_date' => array(
			'name' => 'certified_correct_date',
			'goodName' => 'certified_correct_date',
			'strField' => 'certified_correct_date',
			'index' => 64,
			'type' => 135,
			'sqlExpression' => 'certified_correct_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'signed_by_driver' => array(
			'name' => 'signed_by_driver',
			'goodName' => 'signed_by_driver',
			'strField' => 'signed_by_driver',
			'index' => 65,
			'type' => 2,
			'sqlExpression' => 'signed_by_driver',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'signed_date_driver' => array(
			'name' => 'signed_date_driver',
			'goodName' => 'signed_date_driver',
			'strField' => 'signed_date_driver',
			'index' => 66,
			'type' => 135,
			'sqlExpression' => 'signed_date_driver',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'signed_by_authorized' => array(
			'name' => 'signed_by_authorized',
			'goodName' => 'signed_by_authorized',
			'strField' => 'signed_by_authorized',
			'index' => 67,
			'type' => 2,
			'sqlExpression' => 'signed_by_authorized',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'signed_date_authorized' => array(
			'name' => 'signed_date_authorized',
			'goodName' => 'signed_date_authorized',
			'strField' => 'signed_date_authorized',
			'index' => 68,
			'type' => 135,
			'sqlExpression' => 'signed_date_authorized',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'actual_departure' => array(
			'name' => 'actual_departure',
			'goodName' => 'actual_departure',
			'strField' => 'actual_departure',
			'index' => 69,
			'type' => 135,
			'sqlExpression' => 'actual_departure',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'actual_arrival' => array(
			'name' => 'actual_arrival',
			'goodName' => 'actual_arrival',
			'strField' => 'actual_arrival',
			'index' => 70,
			'type' => 135,
			'sqlExpression' => 'actual_arrival',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'trip_status' => array(
			'name' => 'trip_status',
			'goodName' => 'trip_status',
			'strField' => 'trip_status',
			'index' => 71,
			'type' => 129,
			'sqlExpression' => 'trip_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DRAFT',
						'FOR_APPROVAL',
						'APPROVED',
						'DISPATCHED',
						'ARRIVED',
						'CLOSED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 73,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'created_by' => array(
			'name' => 'created_by',
			'goodName' => 'created_by',
			'strField' => 'created_by',
			'index' => 74,
			'type' => 3,
			'sqlExpression' => 'created_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 75,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'updated_by' => array(
			'name' => 'updated_by',
			'goodName' => 'updated_by',
			'strField' => 'updated_by',
			'index' => 76,
			'type' => 3,
			'sqlExpression' => 'updated_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 77,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'request_dispatch_plan_id' => array(
			'name' => 'request_dispatch_plan_id',
			'goodName' => 'request_dispatch_plan_id',
			'strField' => 'request_dispatch_plan_id',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'request_dispatch_plan_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'driver_contact_no' => array(
			'name' => 'driver_contact_no',
			'goodName' => 'driver_contact_no',
			'strField' => 'driver_contact_no',
			'index' => 17,
			'sqlExpression' => 'driver_contact_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'helper_contact_no' => array(
			'name' => 'helper_contact_no',
			'goodName' => 'helper_contact_no',
			'strField' => 'helper_contact_no',
			'index' => 20,
			'sqlExpression' => 'helper_contact_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'provider_id' => array(
			'name' => 'provider_id',
			'goodName' => 'provider_id',
			'strField' => 'provider_id',
			'index' => 28,
			'type' => 3,
			'sqlExpression' => 'provider_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'fuel_before_estimate' => array(
			'name' => 'fuel_before_estimate',
			'goodName' => 'fuel_before_estimate',
			'strField' => 'fuel_before_estimate',
			'index' => 38,
			'type' => 129,
			'sqlExpression' => 'fuel_before_estimate',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'EMPTY',
						'1/4',
						'1/2',
						'3/4',
						'FULL' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'dashboard_photo_before' => array(
			'name' => 'dashboard_photo_before',
			'goodName' => 'dashboard_photo_before',
			'strField' => 'dashboard_photo_before',
			'index' => 39,
			'sqlExpression' => 'dashboard_photo_before',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'fuel_after_estimate' => array(
			'name' => 'fuel_after_estimate',
			'goodName' => 'fuel_after_estimate',
			'strField' => 'fuel_after_estimate',
			'index' => 42,
			'type' => 129,
			'sqlExpression' => 'fuel_after_estimate',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'EMPTY',
						'1/4',
						'1/2',
						'3/4',
						'FULL' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'dashboard_photo_after' => array(
			'name' => 'dashboard_photo_after',
			'goodName' => 'dashboard_photo_after',
			'strField' => 'dashboard_photo_after',
			'index' => 43,
			'sqlExpression' => 'dashboard_photo_after',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'delivery_status' => array(
			'name' => 'delivery_status',
			'goodName' => 'delivery_status',
			'strField' => 'delivery_status',
			'index' => 72,
			'type' => 129,
			'sqlExpression' => 'delivery_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'PLANNED',
						'ASSIGNED',
						'DISPATCHED',
						'IN_TRANSIT',
						'DELIVERED',
						'RECEIVED',
						'FAILED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		),
		'print' => array(
			'name' => 'print',
			'goodName' => 'print',
			'strField' => 'print',
			'index' => 2,
			'sqlExpression' => '""',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Custom',
					'customExpression' => 'if($data[\'status\'] =="Approved"){


}

else
{
$value ="";
}

$value = "<a href=\'" . $_SESSION["path"] . "frameset?__report=TripTicketF_DSWD.rptdesign&txnid=".$data[\'id\']."&ea=".$_SESSION["ea"]."&&__dpi=96&__format=pdf&__pageoverflow=2&__overwrite=false\'>Print</a>";
' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => '' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 78,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'Pending',
						'Approved' 
					) 
				) 
			),
			'tableName' => 'trip_ticket' 
		) 
	),
	'detailsTables' => array( 
		'trip_ticket_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	"" AS `print`,
	control_no,
	trip_ticket_no,
	form_type,
	logistics_job_id,
	delivery_receipt_id,
	request_dispatch_plan_id,
	request_date,
	trip_date_from,
	trip_date_to,
	issue_date,
	dispatch_datetime,
	return_datetime,
	driver_employee_id,
	driver_name,
	driver_contact_no,
	helper_employee_id,
	helper_name,
	helper_contact_no,
	vehicle_id,
	primary_plate_no,
	alternate_plate_no,
	plate_no,
	vehicle_type,
	transporter_type,
	third_party_provider_id,
	provider_id,
	route_from_location_id,
	route_to_location_id,
	route_description,
	destination_text,
	authorized_passengers_text,
	purpose,
	cargo_description,
	odometer_out,
	fuel_out,
	fuel_before_estimate,
	dashboard_photo_before,
	odometer_in,
	fuel_in,
	fuel_after_estimate,
	dashboard_photo_after,
	total_distance_km,
	gasoline_issued_liters,
	gasoline_purchased_liters,
	gasoline_balance_liters,
	gear_oil_liters,
	motor_oil_liters,
	brake_fluid_liters,
	grease_used_liters,
	requested_by_employee_id,
	requested_by_name,
	requested_by_position,
	requested_by_office,
	requested_date,
	approved_by,
	approved_by_name,
	approved_by_position,
	approved_date,
	certified_correct_by_id,
	certified_correct_by_name,
	certified_correct_by_pos,
	certified_correct_date,
	signed_by_driver,
	signed_date_driver,
	signed_by_authorized,
	signed_date_authorized,
	actual_departure,
	actual_arrival,
	trip_status,
	delivery_status,
	remarks,
	created_by,
	created_at,
	updated_by,
	updated_at,
	status
FROM
	trip_ticket
	
	order by id desc
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => '""',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => 'print',
				'expression' => array(
					'sql' => '""',
					'parsed' => true,
					'type' => 'NonParsedEntity' 
				),
				'encrypted' => false,
				'columnName' => 'print' 
			),
			array(
				'sql' => 'control_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'control_no' 
				),
				'encrypted' => false,
				'columnName' => 'control_no' 
			),
			array(
				'sql' => 'trip_ticket_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'trip_ticket_no' 
				),
				'encrypted' => false,
				'columnName' => 'trip_ticket_no' 
			),
			array(
				'sql' => 'form_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'form_type' 
				),
				'encrypted' => false,
				'columnName' => 'form_type' 
			),
			array(
				'sql' => 'logistics_job_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'logistics_job_id' 
				),
				'encrypted' => false,
				'columnName' => 'logistics_job_id' 
			),
			array(
				'sql' => 'delivery_receipt_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'delivery_receipt_id' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_receipt_id' 
			),
			array(
				'sql' => 'request_dispatch_plan_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'request_dispatch_plan_id' 
				),
				'encrypted' => false,
				'columnName' => 'request_dispatch_plan_id' 
			),
			array(
				'sql' => 'request_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'request_date' 
				),
				'encrypted' => false,
				'columnName' => 'request_date' 
			),
			array(
				'sql' => 'trip_date_from',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'trip_date_from' 
				),
				'encrypted' => false,
				'columnName' => 'trip_date_from' 
			),
			array(
				'sql' => 'trip_date_to',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'trip_date_to' 
				),
				'encrypted' => false,
				'columnName' => 'trip_date_to' 
			),
			array(
				'sql' => 'issue_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'issue_date' 
				),
				'encrypted' => false,
				'columnName' => 'issue_date' 
			),
			array(
				'sql' => 'dispatch_datetime',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'dispatch_datetime' 
				),
				'encrypted' => false,
				'columnName' => 'dispatch_datetime' 
			),
			array(
				'sql' => 'return_datetime',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'return_datetime' 
				),
				'encrypted' => false,
				'columnName' => 'return_datetime' 
			),
			array(
				'sql' => 'driver_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'driver_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'driver_employee_id' 
			),
			array(
				'sql' => 'driver_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'driver_name' 
				),
				'encrypted' => false,
				'columnName' => 'driver_name' 
			),
			array(
				'sql' => 'driver_contact_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'driver_contact_no' 
				),
				'encrypted' => false,
				'columnName' => 'driver_contact_no' 
			),
			array(
				'sql' => 'helper_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'helper_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'helper_employee_id' 
			),
			array(
				'sql' => 'helper_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'helper_name' 
				),
				'encrypted' => false,
				'columnName' => 'helper_name' 
			),
			array(
				'sql' => 'helper_contact_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'helper_contact_no' 
				),
				'encrypted' => false,
				'columnName' => 'helper_contact_no' 
			),
			array(
				'sql' => 'vehicle_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'vehicle_id' 
				),
				'encrypted' => false,
				'columnName' => 'vehicle_id' 
			),
			array(
				'sql' => 'primary_plate_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'primary_plate_no' 
				),
				'encrypted' => false,
				'columnName' => 'primary_plate_no' 
			),
			array(
				'sql' => 'alternate_plate_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'alternate_plate_no' 
				),
				'encrypted' => false,
				'columnName' => 'alternate_plate_no' 
			),
			array(
				'sql' => 'plate_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'plate_no' 
				),
				'encrypted' => false,
				'columnName' => 'plate_no' 
			),
			array(
				'sql' => 'vehicle_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'vehicle_type' 
				),
				'encrypted' => false,
				'columnName' => 'vehicle_type' 
			),
			array(
				'sql' => 'transporter_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'transporter_type' 
				),
				'encrypted' => false,
				'columnName' => 'transporter_type' 
			),
			array(
				'sql' => 'third_party_provider_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'third_party_provider_id' 
				),
				'encrypted' => false,
				'columnName' => 'third_party_provider_id' 
			),
			array(
				'sql' => 'provider_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'provider_id' 
				),
				'encrypted' => false,
				'columnName' => 'provider_id' 
			),
			array(
				'sql' => 'route_from_location_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'route_from_location_id' 
				),
				'encrypted' => false,
				'columnName' => 'route_from_location_id' 
			),
			array(
				'sql' => 'route_to_location_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'route_to_location_id' 
				),
				'encrypted' => false,
				'columnName' => 'route_to_location_id' 
			),
			array(
				'sql' => 'route_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'route_description' 
				),
				'encrypted' => false,
				'columnName' => 'route_description' 
			),
			array(
				'sql' => 'destination_text',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'destination_text' 
				),
				'encrypted' => false,
				'columnName' => 'destination_text' 
			),
			array(
				'sql' => 'authorized_passengers_text',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'authorized_passengers_text' 
				),
				'encrypted' => false,
				'columnName' => 'authorized_passengers_text' 
			),
			array(
				'sql' => 'purpose',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'purpose' 
				),
				'encrypted' => false,
				'columnName' => 'purpose' 
			),
			array(
				'sql' => 'cargo_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'cargo_description' 
				),
				'encrypted' => false,
				'columnName' => 'cargo_description' 
			),
			array(
				'sql' => 'odometer_out',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'odometer_out' 
				),
				'encrypted' => false,
				'columnName' => 'odometer_out' 
			),
			array(
				'sql' => 'fuel_out',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'fuel_out' 
				),
				'encrypted' => false,
				'columnName' => 'fuel_out' 
			),
			array(
				'sql' => 'fuel_before_estimate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'fuel_before_estimate' 
				),
				'encrypted' => false,
				'columnName' => 'fuel_before_estimate' 
			),
			array(
				'sql' => 'dashboard_photo_before',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'dashboard_photo_before' 
				),
				'encrypted' => false,
				'columnName' => 'dashboard_photo_before' 
			),
			array(
				'sql' => 'odometer_in',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'odometer_in' 
				),
				'encrypted' => false,
				'columnName' => 'odometer_in' 
			),
			array(
				'sql' => 'fuel_in',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'fuel_in' 
				),
				'encrypted' => false,
				'columnName' => 'fuel_in' 
			),
			array(
				'sql' => 'fuel_after_estimate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'fuel_after_estimate' 
				),
				'encrypted' => false,
				'columnName' => 'fuel_after_estimate' 
			),
			array(
				'sql' => 'dashboard_photo_after',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'dashboard_photo_after' 
				),
				'encrypted' => false,
				'columnName' => 'dashboard_photo_after' 
			),
			array(
				'sql' => 'total_distance_km',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'total_distance_km' 
				),
				'encrypted' => false,
				'columnName' => 'total_distance_km' 
			),
			array(
				'sql' => 'gasoline_issued_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'gasoline_issued_liters' 
				),
				'encrypted' => false,
				'columnName' => 'gasoline_issued_liters' 
			),
			array(
				'sql' => 'gasoline_purchased_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'gasoline_purchased_liters' 
				),
				'encrypted' => false,
				'columnName' => 'gasoline_purchased_liters' 
			),
			array(
				'sql' => 'gasoline_balance_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'gasoline_balance_liters' 
				),
				'encrypted' => false,
				'columnName' => 'gasoline_balance_liters' 
			),
			array(
				'sql' => 'gear_oil_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'gear_oil_liters' 
				),
				'encrypted' => false,
				'columnName' => 'gear_oil_liters' 
			),
			array(
				'sql' => 'motor_oil_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'motor_oil_liters' 
				),
				'encrypted' => false,
				'columnName' => 'motor_oil_liters' 
			),
			array(
				'sql' => 'brake_fluid_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'brake_fluid_liters' 
				),
				'encrypted' => false,
				'columnName' => 'brake_fluid_liters' 
			),
			array(
				'sql' => 'grease_used_liters',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'grease_used_liters' 
				),
				'encrypted' => false,
				'columnName' => 'grease_used_liters' 
			),
			array(
				'sql' => 'requested_by_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'requested_by_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_employee_id' 
			),
			array(
				'sql' => 'requested_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'requested_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_name' 
			),
			array(
				'sql' => 'requested_by_position',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'requested_by_position' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_position' 
			),
			array(
				'sql' => 'requested_by_office',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'requested_by_office' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_office' 
			),
			array(
				'sql' => 'requested_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'requested_date' 
				),
				'encrypted' => false,
				'columnName' => 'requested_date' 
			),
			array(
				'sql' => 'approved_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'approved_by' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by' 
			),
			array(
				'sql' => 'approved_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'approved_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_name' 
			),
			array(
				'sql' => 'approved_by_position',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'approved_by_position' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_position' 
			),
			array(
				'sql' => 'approved_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'approved_date' 
				),
				'encrypted' => false,
				'columnName' => 'approved_date' 
			),
			array(
				'sql' => 'certified_correct_by_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'certified_correct_by_id' 
				),
				'encrypted' => false,
				'columnName' => 'certified_correct_by_id' 
			),
			array(
				'sql' => 'certified_correct_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'certified_correct_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'certified_correct_by_name' 
			),
			array(
				'sql' => 'certified_correct_by_pos',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'certified_correct_by_pos' 
				),
				'encrypted' => false,
				'columnName' => 'certified_correct_by_pos' 
			),
			array(
				'sql' => 'certified_correct_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'certified_correct_date' 
				),
				'encrypted' => false,
				'columnName' => 'certified_correct_date' 
			),
			array(
				'sql' => 'signed_by_driver',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'signed_by_driver' 
				),
				'encrypted' => false,
				'columnName' => 'signed_by_driver' 
			),
			array(
				'sql' => 'signed_date_driver',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'signed_date_driver' 
				),
				'encrypted' => false,
				'columnName' => 'signed_date_driver' 
			),
			array(
				'sql' => 'signed_by_authorized',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'signed_by_authorized' 
				),
				'encrypted' => false,
				'columnName' => 'signed_by_authorized' 
			),
			array(
				'sql' => 'signed_date_authorized',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'signed_date_authorized' 
				),
				'encrypted' => false,
				'columnName' => 'signed_date_authorized' 
			),
			array(
				'sql' => 'actual_departure',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'actual_departure' 
				),
				'encrypted' => false,
				'columnName' => 'actual_departure' 
			),
			array(
				'sql' => 'actual_arrival',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'actual_arrival' 
				),
				'encrypted' => false,
				'columnName' => 'actual_arrival' 
			),
			array(
				'sql' => 'trip_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'trip_status' 
				),
				'encrypted' => false,
				'columnName' => 'trip_status' 
			),
			array(
				'sql' => 'delivery_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'delivery_status' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_status' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'created_by' 
				),
				'encrypted' => false,
				'columnName' => 'created_by' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'updated_by' 
				),
				'encrypted' => false,
				'columnName' => 'updated_by' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'trip_ticket',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'trip_ticket',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'control_no',
						'trip_ticket_no',
						'form_type',
						'logistics_job_id',
						'delivery_receipt_id',
						'request_dispatch_plan_id',
						'request_date',
						'trip_date_from',
						'trip_date_to',
						'issue_date',
						'dispatch_datetime',
						'return_datetime',
						'driver_employee_id',
						'driver_name',
						'driver_contact_no',
						'helper_employee_id',
						'helper_name',
						'helper_contact_no',
						'vehicle_id',
						'primary_plate_no',
						'alternate_plate_no',
						'plate_no',
						'vehicle_type',
						'transporter_type',
						'third_party_provider_id',
						'provider_id',
						'route_from_location_id',
						'route_to_location_id',
						'origin_source_type',
						'origin_saved_location_id',
						'destination_source_type',
						'destination_saved_location_id',
						'origin_location_name',
						'origin_address',
						'origin_lat',
						'origin_lng',
						'destination_location_name',
						'destination_address',
						'destination_lat',
						'destination_lng',
						'expected_departure_datetime',
						'expected_arrival_datetime',
						'expected_travel_minutes',
						'expected_distance_km',
						'expected_eta_source',
						'expected_eta_computed_at',
						'current_lat',
						'current_lng',
						'eta_text',
						'eta_updated_at',
						'route_description',
						'destination_text',
						'authorized_passengers_text',
						'purpose',
						'cargo_description',
						'odometer_out',
						'fuel_out',
						'fuel_before_estimate',
						'dashboard_photo_before',
						'odometer_out_photo',
						'fuel_out_photo',
						'odometer_in',
						'fuel_in',
						'fuel_after_estimate',
						'dashboard_photo_after',
						'odometer_in_photo',
						'fuel_in_photo',
						'goods_photo',
						'label_photo',
						'goods_received_photo',
						'receiver_signature_photo',
						'receiver_name',
						'receiver_contact_no',
						'received_datetime',
						'app_completion_remarks',
						'total_distance_km',
						'gasoline_issued_liters',
						'gasoline_purchased_liters',
						'gasoline_balance_liters',
						'gear_oil_liters',
						'motor_oil_liters',
						'brake_fluid_liters',
						'grease_used_liters',
						'requested_by_employee_id',
						'requested_by_name',
						'requested_by_position',
						'requested_by_office',
						'requested_date',
						'approved_by',
						'approved_by_name',
						'approved_by_position',
						'approved_date',
						'certified_correct_by_id',
						'certified_correct_by_name',
						'certified_correct_by_pos',
						'certified_correct_date',
						'signed_by_driver',
						'signed_date_driver',
						'signed_by_authorized',
						'signed_date_authorized',
						'actual_departure',
						'actual_arrival',
						'trip_status',
						'delivery_status',
						'app_trip_status',
						'app_start_datetime',
						'app_start_lat',
						'app_start_lng',
						'app_start_by',
						'app_end_datetime',
						'app_end_lat',
						'app_end_lng',
						'app_end_by',
						'remarks',
						'created_by',
						'created_at',
						'updated_by',
						'updated_at',
						'status' 
					),
					'name' => 'trip_ticket' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			array(
				'sql' => 'id desc',
				'parsed' => true,
				'type' => 'OrderByListItem',
				'column' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'trip_ticket',
					'name' => 'id' 
				),
				'asc' => false,
				'columnNumber' => 1 
			) 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => 0,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 30,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 31,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 32,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 33,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 34,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 35,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 36,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 37,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 38,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 39,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 40,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 41,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 42,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 43,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 44,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 45,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 46,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 47,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 48,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 49,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 50,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 51,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 52,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 53,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 54,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 55,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 56,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 57,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 58,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 59,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 60,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 61,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 62,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 63,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 64,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 65,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 66,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 67,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 68,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 69,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 70,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 71,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 72,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 73,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 74,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 75,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 76,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 77,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	"" AS `print`,
	control_no,
	trip_ticket_no,
	form_type,
	logistics_job_id,
	delivery_receipt_id,
	request_dispatch_plan_id,
	request_date,
	trip_date_from,
	trip_date_to,
	issue_date,
	dispatch_datetime,
	return_datetime,
	driver_employee_id,
	driver_name,
	driver_contact_no,
	helper_employee_id,
	helper_name,
	helper_contact_no,
	vehicle_id,
	primary_plate_no,
	alternate_plate_no,
	plate_no,
	vehicle_type,
	transporter_type,
	third_party_provider_id,
	provider_id,
	route_from_location_id,
	route_to_location_id,
	route_description,
	destination_text,
	authorized_passengers_text,
	purpose,
	cargo_description,
	odometer_out,
	fuel_out,
	fuel_before_estimate,
	dashboard_photo_before,
	odometer_in,
	fuel_in,
	fuel_after_estimate,
	dashboard_photo_after,
	total_distance_km,
	gasoline_issued_liters,
	gasoline_purchased_liters,
	gasoline_balance_liters,
	gear_oil_liters,
	motor_oil_liters,
	brake_fluid_liters,
	grease_used_liters,
	requested_by_employee_id,
	requested_by_name,
	requested_by_position,
	requested_by_office,
	requested_date,
	approved_by,
	approved_by_name,
	approved_by_position,
	approved_date,
	certified_correct_by_id,
	certified_correct_by_name,
	certified_correct_by_pos,
	certified_correct_date,
	signed_by_driver,
	signed_date_driver,
	signed_by_authorized,
	signed_date_authorized,
	actual_departure,
	actual_arrival,
	trip_status,
	delivery_status,
	remarks,
	created_by,
	created_at,
	updated_by,
	updated_at,
	status',
		'fromListSql' => 'FROM
	trip_ticket',
		'orderBySql' => 'order by id desc',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'trip_ticket',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'control_no',
			'trip_ticket_no',
			'form_type',
			'logistics_job_id',
			'delivery_receipt_id',
			'request_date',
			'trip_date_from',
			'trip_date_to',
			'issue_date',
			'dispatch_datetime',
			'return_datetime',
			'driver_employee_id',
			'driver_name',
			'helper_employee_id',
			'helper_name',
			'vehicle_id',
			'primary_plate_no',
			'alternate_plate_no',
			'plate_no',
			'vehicle_type',
			'transporter_type',
			'third_party_provider_id',
			'route_from_location_id',
			'route_to_location_id',
			'route_description',
			'destination_text',
			'authorized_passengers_text',
			'purpose',
			'cargo_description',
			'odometer_out',
			'fuel_out',
			'odometer_in',
			'fuel_in',
			'total_distance_km',
			'gasoline_issued_liters',
			'gasoline_purchased_liters',
			'gasoline_balance_liters',
			'gear_oil_liters',
			'motor_oil_liters',
			'brake_fluid_liters',
			'grease_used_liters',
			'requested_by_employee_id',
			'requested_by_name',
			'requested_by_position',
			'requested_by_office',
			'requested_date',
			'approved_by',
			'approved_by_name',
			'approved_by_position',
			'approved_date',
			'certified_correct_by_id',
			'certified_correct_by_name',
			'certified_correct_by_pos',
			'certified_correct_date',
			'signed_by_driver',
			'signed_date_driver',
			'signed_by_authorized',
			'signed_date_authorized',
			'actual_departure',
			'actual_arrival',
			'trip_status',
			'remarks',
			'created_by',
			'created_at',
			'updated_by',
			'updated_at',
			'request_dispatch_plan_id',
			'driver_contact_no',
			'helper_contact_no',
			'provider_id',
			'fuel_before_estimate',
			'dashboard_photo_before',
			'fuel_after_estimate',
			'dashboard_photo_after',
			'delivery_status',
			'print',
			'status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'control_no',
			'trip_ticket_no',
			'form_type',
			'logistics_job_id',
			'delivery_receipt_id',
			'request_date',
			'trip_date_from',
			'trip_date_to',
			'issue_date',
			'dispatch_datetime',
			'return_datetime',
			'driver_employee_id',
			'driver_name',
			'helper_employee_id',
			'helper_name',
			'vehicle_id',
			'primary_plate_no',
			'alternate_plate_no',
			'plate_no',
			'vehicle_type',
			'transporter_type',
			'third_party_provider_id',
			'route_from_location_id',
			'route_to_location_id',
			'route_description',
			'destination_text',
			'authorized_passengers_text',
			'purpose',
			'cargo_description',
			'odometer_out',
			'fuel_out',
			'odometer_in',
			'fuel_in',
			'total_distance_km',
			'gasoline_issued_liters',
			'gasoline_purchased_liters',
			'gasoline_balance_liters',
			'gear_oil_liters',
			'motor_oil_liters',
			'brake_fluid_liters',
			'grease_used_liters',
			'requested_by_employee_id',
			'requested_by_name',
			'requested_by_position',
			'requested_by_office',
			'requested_date',
			'approved_by',
			'approved_by_name',
			'approved_by_position',
			'approved_date',
			'certified_correct_by_id',
			'certified_correct_by_name',
			'certified_correct_by_pos',
			'certified_correct_date',
			'signed_by_driver',
			'signed_date_driver',
			'signed_by_authorized',
			'signed_date_authorized',
			'actual_departure',
			'actual_arrival',
			'trip_status',
			'remarks',
			'created_by',
			'created_at',
			'updated_by',
			'updated_at',
			'request_dispatch_plan_id',
			'driver_contact_no',
			'helper_contact_no',
			'provider_id',
			'fuel_before_estimate',
			'dashboard_photo_before',
			'fuel_after_estimate',
			'dashboard_photo_after',
			'delivery_status',
			'print',
			'status' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['trip_ticket'] = array(
	'tableCaption' => 'Trip Ticket',
	'fieldLabels' => array(
		'id' => 'ID',
		'control_no' => 'Control No.',
		'trip_ticket_no' => 'Trip Ticket No.',
		'form_type' => 'Form Type',
		'logistics_job_id' => 'Logistics Job ID',
		'delivery_receipt_id' => 'Delivery Receipt ID',
		'request_date' => 'Request Date',
		'trip_date_from' => 'Trip Date From',
		'trip_date_to' => 'Trip Date To',
		'issue_date' => 'Issue Date',
		'dispatch_datetime' => 'Dispatch Datetime',
		'return_datetime' => 'Return Datetime',
		'driver_employee_id' => 'Driver Employee ID',
		'driver_name' => 'Driver Name',
		'helper_employee_id' => 'Helper Employee ID',
		'helper_name' => 'Helper Name',
		'vehicle_id' => 'Vehicle ID',
		'primary_plate_no' => 'Primary Plate No.',
		'alternate_plate_no' => 'Alternate Plate No.',
		'plate_no' => 'Plate No.',
		'vehicle_type' => 'Vehicle Type',
		'transporter_type' => 'Transporter Type',
		'third_party_provider_id' => 'Third Party Provider ID',
		'route_from_location_id' => 'Route From Location ID',
		'route_to_location_id' => 'Route To Location ID',
		'route_description' => 'Route Description',
		'destination_text' => 'Destination',
		'authorized_passengers_text' => 'Authorized Passengers Text',
		'purpose' => 'Purpose',
		'cargo_description' => 'Cargo Description',
		'odometer_out' => 'Odometer Out',
		'fuel_out' => 'Fuel Out',
		'odometer_in' => 'Odometer In',
		'fuel_in' => 'Fuel In',
		'total_distance_km' => 'Total Distance (km)',
		'gasoline_issued_liters' => 'Gasoline Issued Liters',
		'gasoline_purchased_liters' => 'Gasoline Purchased Liters',
		'gasoline_balance_liters' => 'Gasoline Balance Liters',
		'gear_oil_liters' => 'Gear Oil Liters',
		'motor_oil_liters' => 'Motor Oil Liters',
		'brake_fluid_liters' => 'Brake Fluid Liters',
		'grease_used_liters' => 'Grease Used Liters',
		'requested_by_employee_id' => 'Requested By Employee ID',
		'requested_by_name' => 'Requested by Name',
		'requested_by_position' => 'Requested by Position',
		'requested_by_office' => 'Requested by Office',
		'requested_date' => 'Requested Date',
		'approved_by' => 'Approved by',
		'approved_by_name' => 'Approved by Name',
		'approved_by_position' => 'Approved by Position',
		'approved_date' => 'Approved Date',
		'certified_correct_by_id' => 'Certified Correct by ID',
		'certified_correct_by_name' => 'Certified Correct by Name',
		'certified_correct_by_pos' => 'Certified Correct by POS',
		'certified_correct_date' => 'Certified Correct Date',
		'signed_by_driver' => 'Signed by Driver',
		'signed_date_driver' => 'Signed Date Driver',
		'signed_by_authorized' => 'Signed By Authorized',
		'signed_date_authorized' => 'Signed Date Authorized',
		'actual_departure' => 'Actual Departure',
		'actual_arrival' => 'Actual Arrival',
		'trip_status' => 'Trip Status',
		'remarks' => 'Remarks',
		'created_by' => 'Created by',
		'created_at' => 'Created At',
		'updated_by' => 'Updated by',
		'updated_at' => 'Updated At',
		'request_dispatch_plan_id' => 'Request Dispatch Plan ID',
		'driver_contact_no' => 'Driver Contact No.',
		'helper_contact_no' => 'Helper Contact No.',
		'provider_id' => 'Provider ID',
		'fuel_before_estimate' => 'Fuel Before Estimate',
		'dashboard_photo_before' => 'Dashboard Photo Before',
		'fuel_after_estimate' => 'Fuel After Estimate',
		'dashboard_photo_after' => 'Dashboard Photo After',
		'delivery_status' => 'Delivery Status',
		'print' => 'Print',
		'status' => 'Status' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'control_no' => '',
		'trip_ticket_no' => '',
		'form_type' => '',
		'logistics_job_id' => '',
		'delivery_receipt_id' => '',
		'request_date' => '',
		'trip_date_from' => '',
		'trip_date_to' => '',
		'issue_date' => '',
		'dispatch_datetime' => '',
		'return_datetime' => '',
		'driver_employee_id' => '',
		'driver_name' => '',
		'helper_employee_id' => '',
		'helper_name' => '',
		'vehicle_id' => '',
		'primary_plate_no' => '',
		'alternate_plate_no' => '',
		'plate_no' => '',
		'vehicle_type' => '',
		'transporter_type' => '',
		'third_party_provider_id' => '',
		'route_from_location_id' => '',
		'route_to_location_id' => '',
		'route_description' => '',
		'destination_text' => '',
		'authorized_passengers_text' => '',
		'purpose' => '',
		'cargo_description' => '',
		'odometer_out' => '',
		'fuel_out' => '',
		'odometer_in' => '',
		'fuel_in' => '',
		'total_distance_km' => '',
		'gasoline_issued_liters' => '',
		'gasoline_purchased_liters' => '',
		'gasoline_balance_liters' => '',
		'gear_oil_liters' => '',
		'motor_oil_liters' => '',
		'brake_fluid_liters' => '',
		'grease_used_liters' => '',
		'requested_by_employee_id' => '',
		'requested_by_name' => '',
		'requested_by_position' => '',
		'requested_by_office' => '',
		'requested_date' => '',
		'approved_by' => '',
		'approved_by_name' => '',
		'approved_by_position' => '',
		'approved_date' => '',
		'certified_correct_by_id' => '',
		'certified_correct_by_name' => '',
		'certified_correct_by_pos' => '',
		'certified_correct_date' => '',
		'signed_by_driver' => '',
		'signed_date_driver' => '',
		'signed_by_authorized' => '',
		'signed_date_authorized' => '',
		'actual_departure' => '',
		'actual_arrival' => '',
		'trip_status' => '',
		'remarks' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_by' => '',
		'updated_at' => '',
		'request_dispatch_plan_id' => '',
		'driver_contact_no' => '',
		'helper_contact_no' => '',
		'provider_id' => '',
		'fuel_before_estimate' => '',
		'dashboard_photo_before' => '',
		'fuel_after_estimate' => '',
		'dashboard_photo_after' => '',
		'delivery_status' => '',
		'print' => '',
		'status' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'control_no' => '',
		'trip_ticket_no' => '',
		'form_type' => '',
		'logistics_job_id' => '',
		'delivery_receipt_id' => '',
		'request_date' => '',
		'trip_date_from' => '',
		'trip_date_to' => '',
		'issue_date' => '',
		'dispatch_datetime' => '',
		'return_datetime' => '',
		'driver_employee_id' => '',
		'driver_name' => '',
		'helper_employee_id' => '',
		'helper_name' => '',
		'vehicle_id' => '',
		'primary_plate_no' => '',
		'alternate_plate_no' => '',
		'plate_no' => '',
		'vehicle_type' => '',
		'transporter_type' => '',
		'third_party_provider_id' => '',
		'route_from_location_id' => '',
		'route_to_location_id' => '',
		'route_description' => '',
		'destination_text' => '',
		'authorized_passengers_text' => '',
		'purpose' => '',
		'cargo_description' => '',
		'odometer_out' => '',
		'fuel_out' => '',
		'odometer_in' => '',
		'fuel_in' => '',
		'total_distance_km' => '',
		'gasoline_issued_liters' => '',
		'gasoline_purchased_liters' => '',
		'gasoline_balance_liters' => '',
		'gear_oil_liters' => '',
		'motor_oil_liters' => '',
		'brake_fluid_liters' => '',
		'grease_used_liters' => '',
		'requested_by_employee_id' => '',
		'requested_by_name' => '',
		'requested_by_position' => '',
		'requested_by_office' => '',
		'requested_date' => '',
		'approved_by' => '',
		'approved_by_name' => '',
		'approved_by_position' => '',
		'approved_date' => '',
		'certified_correct_by_id' => '',
		'certified_correct_by_name' => '',
		'certified_correct_by_pos' => '',
		'certified_correct_date' => '',
		'signed_by_driver' => '',
		'signed_date_driver' => '',
		'signed_by_authorized' => '',
		'signed_date_authorized' => '',
		'actual_departure' => '',
		'actual_arrival' => '',
		'trip_status' => '',
		'remarks' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_by' => '',
		'updated_at' => '',
		'request_dispatch_plan_id' => '',
		'driver_contact_no' => '',
		'helper_contact_no' => '',
		'provider_id' => '',
		'fuel_before_estimate' => '',
		'dashboard_photo_before' => '',
		'fuel_after_estimate' => '',
		'dashboard_photo_after' => '',
		'delivery_status' => '',
		'print' => '',
		'status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>