<?php 
error_reporting('0');
if(!isset($_SESSION)){
    session_start();
}
//DB Connection

$host     = 'localhost';
$username = 'sourbhlogistics_transportal';
$password = 'Alpine@2411';
$database = 'sourbhlogistics_transportal';
$conn     = mysqli_connect($host,$username,$password,$database);
mysqli_query($conn,"set sql_mode = '' ") or die(mysqli_error());
/*mysqli_query($conn,"set sql_mode = '' ") or die(mysqli_error()); */
// FILE UPLODE CONFIG
$config['attachment']['valid_types']    	= array('pdf', 'doc', 'docx',  'png',  'jpg', 'jpeg', 'PDF', 'DOC', 'DOCx',  'PNG',  'JPG', 'JPEG');
$config['attachment']['file_size']      	= 1000000000000000000000000000; //10MB
$config['attachment']['folder_path']    	= '../assets/upload/pan/';
$config['attachment']['rc_folder_path'] 	= '../assets/upload/rc/';
$config['attachment']['dec_folder_path']	= '../assets/upload/declaration/';
$config['attachment']['emp_folder_path']    = '../assets/upload/employee/';
$config['attachment']['driver_folder_path'] = '../assets/upload/driver/';
$config['attachment']['vendor_folder_path'] = '../assets/upload/vendor/';
$config['attachment']['lhc_folder_path']    = '../assets/upload/lhc_document/';

// BRANCH
$branch     = "SELECT * FROM `branch_mst` WHERE `id` ='".$_SESSION['branch_id']."'";
$branch_res = mysqli_query($conn,$branch);
$branch_row = mysqli_fetch_assoc($branch_res);
$prifix     = $branch_row['prifix'];

//COMMON
$common_setting 				= "SELECT * FROM `sys_settings` WHERE id = '1'";
$common_setting_res 			= mysqli_query($conn,$common_setting);
$common_setting_row 			= mysqli_fetch_assoc($common_setting_res);
$codeType 						= $common_setting_row['code_type'];
$backup_type 		    		= $common_setting_row['backup_type'];
$clone_db_path['local_path']    = $common_setting_row['file_backup_path'];

/*END COMMON*/

$base_url 						 = "";
$root=(isset($_SERVER['HTTPS']) ? "https://" : "http://").$_SERVER['HTTP_HOST'];
$root.= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);

date_default_timezone_set('Asia/Kolkata');

require 'function.php';
include 'date_time_helper.php';

$year_master        = combine(getAllRecords('year_mst'), 'short_year', 'startdate');
$short_year_master  = combine(getAllRecords('year_mst'), 'short_year', 'print_year');
$year               = @$year_master[$_SESSION['fin_year']];
$financial_years    = @$short_year_master[$_SESSION['fin_year']];

checkLogin();

// role management
$permission['ROLE MANAGEMENT']['role_show'] 	= 'Show';
$permission['ROLE MANAGEMENT']['role_add'] 		= 'Add';
$permission['ROLE MANAGEMENT']['role_edit'] 	= 'Edit';
$permission['ROLE MANAGEMENT']['role_delete'] 	= 'Delete';
$permission['ROLE MANAGEMENT']['role_list'] 	= 'List';

// user management
$permission['USER MANAGEMENT']['user_show'] 	= 'Show';
$permission['USER MANAGEMENT']['user_add'] 		= 'Add';
$permission['USER MANAGEMENT']['user_edit'] 	= 'Edit';
$permission['USER MANAGEMENT']['user_delete'] 	= 'Delete';
$permission['USER MANAGEMENT']['user_list'] 	= 'List';

// vendor management
$permission['VENDOR MASTER']['vendor_show'] 	= 'Show';
$permission['VENDOR MASTER']['vendor_add'] 		= 'Add';
$permission['VENDOR MASTER']['vendor_edit'] 	= 'Edit';
$permission['VENDOR MASTER']['vendor_delete'] 	= 'Delete';
$permission['VENDOR MASTER']['vendor_list'] 	= 'List';

// vendor management
$permission['ACCOUNT GROUP']['account_show'] 	= 'Show';
$permission['ACCOUNT GROUP']['account_add']     = 'Add';
$permission['ACCOUNT GROUP']['account_edit'] 	= 'Edit';
$permission['ACCOUNT GROUP']['account_delete'] 	= 'Delete';
$permission['ACCOUNT GROUP']['account_list'] 	= 'List';

// truck master
$permission['TRUCK MASTER']['truck_show']     	= 'Show';
$permission['TRUCK MASTER']['truck_add']     	= 'Add';
$permission['TRUCK MASTER']['truck_edit'] 		= 'Edit';
$permission['TRUCK MASTER']['truck_delete'] 	= 'Delete';
$permission['TRUCK MASTER']['truck_list'] 		= 'List';

// driver master
$permission['DRIVER MASTER']['driver_show']     = 'Show';
$permission['DRIVER MASTER']['driver_add']     	= 'Add';
$permission['DRIVER MASTER']['driver_edit'] 	= 'Edit';
$permission['DRIVER MASTER']['driver_delete'] 	= 'Delete';
$permission['DRIVER MASTER']['driver_list'] 	= 'List';

// company master 
$permission['COMPANY MASTER']['company_show']   = 'Show';
$permission['COMPANY MASTER']['company_add']    = 'Add';
$permission['COMPANY MASTER']['company_edit'] 	= 'Edit';
$permission['COMPANY MASTER']['company_delete'] = 'Delete';
$permission['COMPANY MASTER']['company_list'] 	= 'List';

// ACCOUNT MASTER 
$permission['ACCOUNT MASTER']['accountm_show']    = 'Show';
$permission['ACCOUNT MASTER']['accountm_add']     = 'Add';
$permission['ACCOUNT MASTER']['accountm_edit'] 	  = 'Edit';
$permission['ACCOUNT MASTER']['accountm_delete']  = 'Delete';
$permission['ACCOUNT MASTER']['accountm_list'] 	  = 'List';


// BRANCH MASTER 
$permission['BRANCH MASTER']['branch_show']    	 = 'Show';
$permission['BRANCH MASTER']['branch_add']    	 = 'Add';
$permission['BRANCH MASTER']['branch_edit'] 	 = 'Edit';
$permission['BRANCH MASTER']['branch_delete']    = 'Delete';
$permission['BRANCH MASTER']['branch_list'] 	 = 'List';


// DOCUMENT MASTER 
$permission['DOCUMENT MASTER']['doc_show']    = 'Show';
$permission['DOCUMENT MASTER']['doc_add']    = 'Add';
$permission['DOCUMENT MASTER']['doc_edit']   = 'Edit';
$permission['DOCUMENT MASTER']['doc_delete'] = 'Delete';
$permission['DOCUMENT MASTER']['doc_list']   = 'List';


// LR 
$permission['LR']['lr_show']    = 'Show';
$permission['LR']['lr_add']    = 'Add';
$permission['LR']['lr_edit']   = 'Edit';
$permission['LR']['lr_delete'] = 'Delete';
$permission['LR']['lr_list']   = 'List';

// LR OPEING
$permission['LR OPEING']['lro_show']   = 'Show';
$permission['LR OPEING']['lro_add']    = 'Add';
$permission['LR OPEING']['lro_edit']   = 'Edit';
$permission['LR OPEING']['lro_delete'] = 'Delete';
$permission['LR OPEING']['lro_list']   = 'List';

// LHC 
$permission['LHC']['lhc_show']    		= 'Show';
$permission['LHC']['lhc_add']    		= 'Add';
$permission['LHC']['lhc_edit']   		= 'Edit';
$permission['LHC']['lhc_delete'] 		= 'Delete';
$permission['LHC']['lhc_list']   		= 'List';

// LHC BALANCE PAYMENT
$permission['LHC PAYMENT']['lhc_balance_payment_show']          = 'Show';
$permission['LHC PAYMENT']['lhc_balance_payment_add']           = 'Add';
$permission['LHC PAYMENT']['lhc_balance_payment_edit']          = 'Edit';
$permission['LHC PAYMENT']['lhc_balance_payment_delete']        = 'Delete';
$permission['LHC PAYMENT']['lhc_balance_payment_list']          = 'List';
// BILL
$permission['BILL']['bill_show']   = 'Show';
$permission['BILL']['bill_add']    = 'Add';
$permission['BILL']['bill_edit']   = 'Edit';
$permission['BILL']['bill_delete'] = 'Delete';
$permission['BILL']['bill_list']   = 'List';



// BANK RECEIPT
$permission['BANK RECEIPT']['bank_receipt_show']    = 'Show';
$permission['BANK RECEIPT']['bank_receipt_add']    = 'Add';
$permission['BANK RECEIPT']['bank_receipt_edit']   = 'Edit';
$permission['BANK RECEIPT']['bank_receipt_delete'] = 'Delete';
$permission['BANK RECEIPT']['bank_receipt_list']   = 'List';

// BANK PAYMENT
$permission['BANK PAYMENT']['bank_payment_show']    = 'Show';
$permission['BANK PAYMENT']['bank_payment_add']    = 'Add';
$permission['BANK PAYMENT']['bank_payment_edit']   = 'Edit';
$permission['BANK PAYMENT']['bank_payment_delete'] = 'Delete';
$permission['BANK PAYMENT']['bank_payment_list']   = 'List';

// CASH RECEIPT
$permission['CASH RECEIPT']['cash_receipt_show']    = 'Show';
$permission['CASH RECEIPT']['cash_receipt_add']    = 'Add';
$permission['CASH RECEIPT']['cash_receipt_edit']   = 'Edit';
$permission['CASH RECEIPT']['cash_receipt_delete'] = 'Delete';
$permission['CASH RECEIPT']['cash_receipt_list']   = 'List';

// CASH PAYMENT
$permission['CASH PAYMENT']['cash_payment_show']    = 'Show';
$permission['CASH PAYMENT']['cash_payment_add']    = 'Add';
$permission['CASH PAYMENT']['cash_payment_edit']   = 'Edit';
$permission['CASH PAYMENT']['cash_payment_delete'] = 'Delete';
$permission['CASH PAYMENT']['cash_payment_list']   = 'List';

// TAX
$permission['TAX']['tax_show']    = 'Show';
$permission['TAX']['tax_add']     = 'Add';
$permission['TAX']['tax_edit']    = 'Edit';
$permission['TAX']['tax_delete']  = 'Delete';
$permission['TAX']['tax_list']    = 'List';


// MR
$permission['MR']['mr_show']    = 'Show';
$permission['MR']['mr_add']    = 'Add';
$permission['MR']['mr_edit']   = 'Edit';
$permission['MR']['mr_delete'] = 'Delete';
$permission['MR']['mr_list']   = 'List';

$permission['COMMISSION_FLAG']['commission_show']   = 'Show';
$permission['COMMISSION_FLAG']['commission_add']    = 'Add';
$permission['COMMISSION_FLAG']['commission_edit']   = 'Edit';
$permission['COMMISSION_FLAG']['commission_delete'] = 'Delete';
$permission['COMMISSION_FLAG']['commission_list']   = 'List';

// OPENIING BALANCE
$permission['OPENIING BALANCE']['ob_show']    = 'Show';
$permission['OPENIING BALANCE']['ob_add']    = 'Add';
$permission['OPENIING BALANCE']['ob_edit']   = 'Edit';
$permission['OPENIING BALANCE']['ob_delete'] = 'Delete';
$permission['OPENIING BALANCE']['ob_list']   = 'List';

// ACCOUNTING CONTROL
$permission['ACCOUNTING CONTROL']['ac_show']    = 'Show';
$permission['ACCOUNTING CONTROL']['ac_add']    = 'Add';
$permission['ACCOUNTING CONTROL']['ac_edit']   = 'Edit';
$permission['ACCOUNTING CONTROL']['ac_delete'] = 'Delete';
$permission['ACCOUNTING CONTROL']['ac_list']   = 'List';

// JOURNAL VOUCHER
$permission['JOURNAL VOUCHER']['jv_show']    = 'Show';
$permission['JOURNAL VOUCHER']['jv_add']    = 'Add';
$permission['JOURNAL VOUCHER']['jv_edit']   = 'Edit';
$permission['JOURNAL VOUCHER']['jv_delete'] = 'Delete';
$permission['JOURNAL VOUCHER']['jv_list']   = 'List';

// TRACKING
$permission['TRACKING']['tr_show']    = 'Show';
$permission['TRACKING']['tr_add']    = 'Add';
$permission['TRACKING']['tr_edit']   = 'Edit';
$permission['TRACKING']['tr_delete'] = 'Delete';
$permission['TRACKING']['tr_list']   = 'List';

//TRIP
$permission['TRIP']['trip_show']   = 'Show';
$permission['TRIP']['trip_add']    = 'Add';
$permission['TRIP']['trip_edit']   = 'Edit';
$permission['TRIP']['trip_delete'] = 'Delete';
$permission['TRIP']['trip_list']   = 'List';



// employee
$permission['EMPLOYEE']['emp_show']    = 'Show';
$permission['EMPLOYEE']['emp_add']    = 'Add';
$permission['EMPLOYEE']['emp_edit']   = 'Edit';
$permission['EMPLOYEE']['emp_delete'] = 'Delete';
$permission['EMPLOYEE']['emp_list']   = 'List';

// GENERAL SALES
$permission['GENERAL SALES']['general_sales_show']   = 'Show';
$permission['GENERAL SALES']['general_sales_add']    = 'Add';
$permission['GENERAL SALES']['general_sales_edit']   = 'Edit';
$permission['GENERAL SALES']['general_sales_delete'] = 'Delete';
$permission['GENERAL SALES']['general_sales_list']   = 'List';

// GENERAL PURCHASE
$permission['GENERAL PURCHASE']['general_purchase_show']   = 'Show';
$permission['GENERAL PURCHASE']['general_purchase_add']    = 'Add';
$permission['GENERAL PURCHASE']['general_purchase_edit']   = 'Edit';
$permission['GENERAL PURCHASE']['general_purchase_delete'] = 'Delete';
$permission['GENERAL PURCHASE']['general_purchase_list']   = 'List';

// LR QUERY
$permission['LR QUERY']['lr_query_show']   = 'Show';
$permission['LR QUERY']['lr_query_add']    = 'Add';
$permission['LR QUERY']['lr_query_edit']   = 'Edit';
$permission['LR QUERY']['lr_query_delete'] = 'Delete';
$permission['LR QUERY']['lr_query_list']   = 'List';

//  GENERAL LEDGER
$permission['GENERAL LEDGER']['general_ledger_show']   = 'Show';
$permission['GENERAL LEDGER']['general_ledger_add']    = 'Add';
$permission['GENERAL LEDGER']['general_ledger_edit']   = 'Edit';
$permission['GENERAL LEDGER']['general_ledger_delete'] = 'Delete';
$permission['GENERAL LEDGER']['general_ledger_list']   = 'List';


//BOOKING REGISTER
$permission['BOOKING REGISTER']['booking_register_show']   = 'Show';
$permission['BOOKING REGISTER']['booking_register_add']    = 'Add';
$permission['BOOKING REGISTER']['booking_register_edit']   = 'Edit';
$permission['BOOKING REGISTER']['booking_register_delete'] = 'Delete';
$permission['BOOKING REGISTER']['booking_register_list']   = 'List';


//PENDING LR FOR LHC
$permission['PENDING LR FOR LHC']['pending_lr_for_lhc_show']   = 'Show';
$permission['PENDING LR FOR LHC']['pending_lr_for_lhc_add']    = 'Add';
$permission['PENDING LR FOR LHC']['pending_lr_for_lhc_edit']   = 'Edit';
$permission['PENDING LR FOR LHC']['pending_lr_for_lhc_delete'] = 'Delete';
$permission['PENDING LR FOR LHC']['pending_lr_for_lhc_list']   = 'List';

//PENDING LR FOR BILLING
$permission['PENDING LR FOR BILLING']['pending_lr_for_billing_show']   = 'Show';
$permission['PENDING LR FOR BILLING']['pending_lr_for_billing_add']    = 'Add';
$permission['PENDING LR FOR BILLING']['pending_lr_for_billing_edit']   = 'Edit';
$permission['PENDING LR FOR BILLING']['pending_lr_for_billing_delete'] = 'Delete';
$permission['PENDING LR FOR BILLING']['pending_lr_for_billing_list']   = 'List';

//BILLING REGISTER
$permission['BILLING REGISTER']['billing_register_show']   = 'Show';
$permission['BILLING REGISTER']['billing_register_add']    = 'Add';
$permission['BILLING REGISTER']['billing_register_edit']   = 'Edit';
$permission['BILLING REGISTER']['billing_register_delete'] = 'Delete';
$permission['BILLING REGISTER']['billing_register_list']   = 'List';

//BILLING SUMMERY
$permission['BILLING SUMMERY']['billing_summery_show']   = 'Show';
$permission['BILLING SUMMERY']['billing_summery_add']    = 'Add';
$permission['BILLING SUMMERY']['billing_summery_edit']   = 'Edit';
$permission['BILLING SUMMERY']['billing_summery_delete'] = 'Delete';
$permission['BILLING SUMMERY']['billing_summery_list']   = 'List';

//LHC REGISTER
$permission['LHC REGISTER']['lhc_register_show']   = 'Show';
$permission['LHC REGISTER']['lhc_register_add']    = 'Add';
$permission['LHC REGISTER']['lhc_register_edit']   = 'Edit';
$permission['LHC REGISTER']['lhc_register_delete'] = 'Delete';
$permission['LHC REGISTER']['lhc_register_list']   = 'List';

//TDS PAYABLE
$permission['TDS PAYABLE']['tds_payable_show']   = 'Show';
$permission['TDS PAYABLE']['tds_payable_add']    = 'Add';
$permission['TDS PAYABLE']['tds_payable_edit']   = 'Edit';
$permission['TDS PAYABLE']['tds_payable_delete'] = 'Delete';
$permission['TDS PAYABLE']['tds_payable_list']   = 'List';

//TDS PAYABLE
$permission['TDS RECEIVABLE']['tds_receivable_show']   = 'Show';
$permission['TDS RECEIVABLE']['tds_receivable_add']    = 'Add';
$permission['TDS RECEIVABLE']['tds_receivable_edit']   = 'Edit';
$permission['TDS RECEIVABLE']['tds_receivable_delete'] = 'Delete';
$permission['TDS RECEIVABLE']['tds_receivable_list']   = 'List';

//PENDING LHC REGISTER
$permission['PENDING LHC REGISTER']['pending_lhc_register_show']   = 'Show';
$permission['PENDING LHC REGISTER']['pending_lhc_register_add']    = 'Add';
$permission['PENDING LHC REGISTER']['pending_lhc_register_edit']   = 'Edit';
$permission['PENDING LHC REGISTER']['pending_lhc_register_delete'] = 'Delete';
$permission['PENDING LHC REGISTER']['pending_lhc_register_list']   = 'List';

//PENDING LHC FOR BALANCE PAYMENT
$permission['PENDING LHC FOR BALANCE PAYMENT']['pending_lhc_balance_payment_show']   = 'Show';
$permission['PENDING LHC FOR BALANCE PAYMENT']['pending_lhc_balance_payment_add']    = 'Add';
$permission['PENDING LHC FOR BALANCE PAYMENT']['pending_lhc_balance_payment_edit']   = 'Edit';
$permission['PENDING LHC FOR BALANCE PAYMENT']['pending_lhc_balance_payment_delete'] = 'Delete';
$permission['PENDING LHC FOR BALANCE PAYMENT']['pending_lhc_balance_payment_list']   = 'List';

//MR REGISTER
$permission['MR REGISTER']['mr_register_show']   = 'Show';
$permission['MR REGISTER']['mr_register_add']    = 'Add';
$permission['MR REGISTER']['mr_register_edit']   = 'Edit';
$permission['MR REGISTER']['mr_register_delete'] = 'Delete';
$permission['MR REGISTER']['mr_register_list']   = 'List';

//OUTSTANDING REPORT
$permission['OUTSTANDING REPORT']['outstanding_report_show']   = 'Show';
$permission['OUTSTANDING REPORT']['outstanding_report_add']    = 'Add';
$permission['OUTSTANDING REPORT']['outstanding_report_edit']   = 'Edit';
$permission['OUTSTANDING REPORT']['outstanding_report_delete'] = 'Delete';
$permission['OUTSTANDING REPORT']['outstanding_report_list']   = 'List';

//TRACKING REPORT
$permission['TRACKING REPORT']['tracking_report_show']   = 'Show';
$permission['TRACKING REPORT']['tracking_report_add']    = 'Add';
$permission['TRACKING REPORT']['tracking_report_edit']   = 'Edit';
$permission['TRACKING REPORT']['tracking_report_delete'] = 'Delete';
$permission['TRACKING REPORT']['tracking_report_list']   = 'List';

//GST REGISTER
$permission['GST REGISTER']['gst_register_show']   = 'Show';
$permission['GST REGISTER']['gst_register_add']    = 'Add';
$permission['GST REGISTER']['gst_register_edit']   = 'Edit';
$permission['GST REGISTER']['gst_register_delete'] = 'Delete';
$permission['GST REGISTER']['gst_register_list']   = 'List';


$permission['TRIP WISE']['trip_wise_show']   = 'Show';
$permission['TRIP WISE']['trip_wise_add']    = 'Add';
$permission['TRIP WISE']['trip_wise_edit']   = 'Edit';
$permission['TRIP WISE']['trip_wise_delete'] = 'Delete';
$permission['TRIP WISE']['trip_wise_list']   = 'List';

//CREDIT NOTE
$permission['CREDIT NOTE']['credit_note_show']   = 'Show';
$permission['CREDIT NOTE']['credit_note_add']    = 'Add';
$permission['CREDIT NOTE']['credit_note_edit']   = 'Edit';
$permission['CREDIT NOTE']['credit_note_delete'] = 'Delete';
$permission['CREDIT NOTE']['credit_note_list']   = 'List';

//DEBIT NOTE
$permission['DEBIT NOTE']['debit_note_show']   = 'Show';
$permission['DEBIT NOTE']['debit_note_add']    = 'Add';
$permission['DEBIT NOTE']['debit_note_edit']   = 'Edit';
$permission['DEBIT NOTE']['debit_note_delete'] = 'Delete';
$permission['DEBIT NOTE']['debit_note_list']   = 'List';

/*MODULE*/
$module = array();
$module_cnt = 0;
$module[++$module_cnt]['id'] 	= '1';
$module[$module_cnt]['title']   = 'LR';

$module[++$module_cnt]['id'] 	= '2';
$module[$module_cnt]['title']   = 'LHC';

$module[++$module_cnt]['id'] 	= '3';
$module[$module_cnt]['title']   = 'BILL';

$module[++$module_cnt]['id'] 	= '4';
$module[$module_cnt]['title']   = 'MR';

$module[++$module_cnt]['id'] 	= '5';
$module[$module_cnt]['title']   = 'CONTRACT';

$module[++$module_cnt]['id'] 	= '6';
$module[$module_cnt]['title']   = 'BALANCE ADVICE';

$module[++$module_cnt]['id'] 	= '7';
$module[$module_cnt]['title']   = 'CONTRACT LHC';

$module[++$module_cnt]['id'] 	= '8';
$module[$module_cnt]['title']   = 'GANERAL SALES';

$module[++$module_cnt]['id'] 	= '9';
$module[$module_cnt]['title']   = 'GANERAL PURCHASE';

/*BLOOD GROUP*/
$blood_group = array();
$blood_group_cnt = 0;
$blood_group[++$blood_group_cnt]['id'] 	= '1';
$blood_group[$blood_group_cnt]['title'] = 'A+';

$blood_group[++$blood_group_cnt]['id'] 	= '2';
$blood_group[$blood_group_cnt]['title'] = 'O+';

$blood_group[++$blood_group_cnt]['id'] 	= '3';
$blood_group[$blood_group_cnt]['title'] = 'B+';

$blood_group[++$blood_group_cnt]['id'] 	= '4';
$blood_group[$blood_group_cnt]['title'] = 'AB+';

$blood_group[++$blood_group_cnt]['id'] 	= '5';
$blood_group[$blood_group_cnt]['title'] = 'A-';

$blood_group[++$blood_group_cnt]['id'] 	= '6';
$blood_group[$blood_group_cnt]['title'] = 'O-';

$blood_group[++$blood_group_cnt]['id'] 	= '7';
$blood_group[$blood_group_cnt]['title'] = 'B-';

$blood_group[++$blood_group_cnt]['id'] 	= '8';
$blood_group[$blood_group_cnt]['title'] = 'AB-';

/*PHONE BOOK CATEGORY*/
$pbc = array();
$pbc_cnt = 0;
$pbc[++$pbc_cnt]['id'] 	= '1';
$pbc[$pbc_cnt]['title'] = 'STAFF';

$pbc[++$pbc_cnt]['id'] 	= '2';
$pbc[$pbc_cnt]['title'] = 'VENDOR';

$pbc[++$pbc_cnt]['id'] 	= '3';
$pbc[$pbc_cnt]['title'] = 'TRUCK OWNER';

$pbc[++$pbc_cnt]['id'] 	= '4';
$pbc[$pbc_cnt]['title'] = 'SERVICE PROVIDER';

$pbc[++$pbc_cnt]['id'] 	= '5';
$pbc[$pbc_cnt]['title'] = 'BUSINESS';

$pbc[++$pbc_cnt]['id'] 	= '6';
$pbc[$pbc_cnt]['title'] = 'OTHER';

?>