| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/application/configs/ |
Upload File : |
<?php
$mainCategory = array(
"MOD01" => array('moduleName' => 'dashboard', 'ControllerName' => 'agency', 'Title' => 'Dashboard', 'url' => 'dashboard/agency', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => 0),
// For CRM
"MOD02" => array('moduleName' => 'crm', 'ControllerName' => '', 'Title' => "CRM / Sales", 'url' => '', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => 0),
"CRM01" => array('moduleName' => 'crm', 'ControllerName' => 'lead', 'Title' => "Leads", 'url' => 'crm/lead/index/filter/fresh', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD02"),
"CRM02" => array('moduleName' => 'crm', 'ControllerName' => 'query', 'Title' => "Queries", 'url' => 'crm/query', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD02"),
"CRM12" => array('moduleName' => 'crm', 'ControllerName' => 'query', 'Title' => "Confirmed Queries", 'url' => 'crm/query/index/filter/confirmed', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD02"),
"CRM03" => array('moduleName' => 'crm', 'ControllerName' => 'listcustomer', 'Title' => "B2C Customer(s)", 'url' => 'crm/listcustomer', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD02"),
"CRM04" => array('moduleName' => 'crm', 'ControllerName' => 'customer-proposal', 'Title' => "B2C Proposal(s)", 'url' => 'crm/customer-proposal', 'isDisplay' => 0, 'order' => 4, 'Type' => 3, 'Category' => "MOD02"),
"CRM05" => array('moduleName' => 'crm', 'ControllerName' => 'customer-response', 'Title' => "Customers Response", 'url' => 'crm/customer-response', 'isDisplay' => 0, 'order' => 5, 'Type' => 3, 'Category' => "MOD02"),
"CRM06" => array('moduleName' => 'crm', 'ControllerName' => 'listb2bcustomer', 'Title' => "B2B Customer(s)", 'url' => 'crm/listb2bcustomer', 'isDisplay' => 0, 'order' => 6, 'Type' => 3, 'Category' => "MOD02"),
"CRM07" => array('moduleName' => 'crm', 'ControllerName' => 'b2b-proposal', 'Title' => "B2B Proposal(s)", 'url' => 'crm/b2b-proposal', 'isDisplay' => 0, 'order' => 7, 'Type' => 2, 'Category' => "MOD02"),
"CRM08" => array('moduleName' => 'supplier', 'ControllerName' => 'index', 'Title' => "My Suppliers", 'url' => 'supplier', 'isDisplay' => 1, 'order' => 8, 'Type' => 1, 'Category' => "MOD02"),
"CRM09" => array('moduleName' => 'supplier', 'ControllerName' => 'package-enquiry', 'Title' => "Supplier Package Enquiry", 'url' => 'supplier/package-enquiry', 'isDisplay' => 1, 'order' => 9, 'Type' => 3, 'Category' => "MOD22"),
"CRM10" => array('moduleName' => 'crm', 'ControllerName' => 'listachievecustomer', 'Title' => "Archived Leads", 'url' => 'crm/listachievecustomer', 'isDisplay' => 1, 'order' => 10, 'Type' => 3, 'Category' => "MOD02"),
"CRM11" => array('moduleName' => 'crm', 'ControllerName' => 'call-logs', 'Title' => "Call Logs", 'url' => 'crm/call-logs', 'isDisplay' => 0, 'order' => 1, 'Type' => 3, 'Category' => "MOD02"),
"CRM13" => array('moduleName' => 'crm', 'ControllerName' => 'wa-chat-box', 'Title' => "WA Chat Box", 'url' => 'crm/wa-chat-box', 'isDisplay' => 1, 'order' => 13, 'Type' => 2, 'Category' => "MOD02"),
// Fro Booking
"MOD03" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'Bookings', 'url' => '', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => 0),
"BOK01" => array('moduleName' => 'default', 'ControllerName' => 'booking-flight', 'Title' => 'Flights Ticket', 'url' => 'booking-flight', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD03"),
"BOK02" => array('moduleName' => 'default', 'ControllerName' => 'booking-flight', 'Title' => 'Flights Booking Queue', 'url' => 'booking-flight/queue', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"BOK03" => array('moduleName' => 'default', 'ControllerName' => 'bookinghotel', 'Title' => 'Hotels', 'url' => 'bookinghotel', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD03"),
"BOK04" => array('moduleName' => 'default', 'ControllerName' => 'packagesearch', 'Title' => 'Packages', 'url' => 'packagesearch/package-booking-list', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD03"),
//"BOK05" => array('moduleName' => 'default', 'ControllerName' => 'activities', 'Title' => 'Activities', 'url' => 'activities/activity-booking-list', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD03"),
"BOK06" => array('moduleName' => 'visa', 'ControllerName' => 'visamaster', 'Title' => 'Visa', 'url' => 'visa/visamaster/visa-booking-list', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD03"),
"BOK07" => array('moduleName' => 'transport', 'ControllerName' => 'booking-transport', 'Title' => 'Transfer', 'url' => 'transport/booking-transport', 'isDisplay' => 1, 'order' => 7, 'Type' => 3, 'Category' => "MOD03"),
// For Inventory
"MOD04" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'My Inventory', 'url' => '', 'isDisplay' => 1, 'order' => 6, 'Type' => 1, 'Category' => 0),
"INV01" => array('moduleName' => 'default', 'ControllerName' => 'package', 'Title' => 'Packages', 'url' => 'package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD04"),
"INV02" => array('moduleName' => 'default', 'ControllerName' => 'accommodation', 'Title' => 'Hotels', 'url' => 'accommodation/manage', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => "MOD04"),
// "INV03" => array('moduleName' => 'default', 'ControllerName' => 'activities', 'Title' => 'Activities', 'url' => 'activities/manage-activities', 'isDisplay' => 0, 'order' => 3, 'Type' => 1, 'Category' => "MOD04"),
"INV04" => array('moduleName' => 'default', 'ControllerName' => 'sightseeing', 'Title' => 'Sightseeing', 'url' => 'sightseeing/manage-sightseeing', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => "MOD04"),
"INV05" => array('moduleName' => 'transport', 'ControllerName' => 'transport', 'Title' => 'Vehicles', 'url' => 'transport/transport/manage-transport', 'isDisplay' => 1, 'order' => 5, 'Type' => 1, 'Category' => "MOD04"),
"INV06" => array('moduleName' => 'transport', 'ControllerName' => 'transports-route', 'Title' => 'Transport Routes', 'url' => 'transport/transports-route', 'isDisplay' => 1, 'order' => 6, 'Type' => 1, 'Category' => "MOD04"),
"INV07" => array('moduleName' => 'transport', 'ControllerName' => 'transports-bus-route', 'Title' => 'Bus Pickup Location', 'url' => 'transport/transports-bus-route', 'isDisplay' => 0, 'order' => 7, 'Type' => 1, 'Category' => "MOD04"),
"INV08" => array('moduleName' => 'visa', 'ControllerName' => 'visamaster', 'Title' => 'Visa', 'url' => 'visa/visamaster', 'isDisplay' => 1, 'order' => 8, 'Type' => 3, 'Category' => "MOD04"),
// "INV11" => array('moduleName' => 'visa', 'ControllerName' => 'visa-pickup-location', 'Title' => 'Visa Pickup Location', 'url' => 'visa/visa-pickup-location', 'isDisplay' => 1, 'order' => 8, 'Type' => 1, 'Category' => "MOD04"),
"INV09" => array('moduleName' => 'default', 'ControllerName' => 'itinerary-description', 'Title' => 'Itinerary Description', 'url' => 'itinerary-description', 'isDisplay' => 1, 'order' => 9, 'Type' => 1, 'Category' => "MOD04"),
"INV10" => array('moduleName' => 'default', 'ControllerName' => 'inventory-detail', 'Title' => 'Group Departures', 'url' => 'inventory-detail', 'isDisplay' => 1, 'order' => 10, 'Type' => 1, 'Category' => "MOD04"),
"INV12" => array('moduleName' => 'default', 'ControllerName' => 'master', 'Title' => 'Area Master', 'url' => 'master/area-master', 'isDisplay' => 0, 'order' => 11, 'Type' => 1, 'Category' => "MOD04"),
"INV13" => array('moduleName' => 'flight-inventory', 'ControllerName' => 'index', 'Title' => 'Flight Series Fare', 'url' => 'flight-inventory', 'isDisplay' => 0, 'order' => 11, 'Type' => 1, 'Category' => "MOD04"),
"INV14" => array('moduleName' => 'restaturants', 'ControllerName' => 'index', 'Title' => 'Restaturants', 'url' => 'restaturants', 'isDisplay' => 1, 'order' => 12, 'Type' => 1, 'Category' => "MOD04"),
"INV15" => array('moduleName' => 'event', 'ControllerName' => 'index', 'Title' => 'Events', 'url' => 'event', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => "MOD04"),
"INV16" => array('moduleName' => 'default', 'ControllerName' => 'misc', 'Title' => 'Misc', 'url' => 'misc', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => "MOD04"),
// GTX Network
"MOD05" => array('moduleName' => 'gtxnetwork', 'ControllerName' => '', 'Title' => 'GTX Network', 'url' => '', 'isDisplay' => 1, 'order' => 10, 'Type' => 1, 'Category' => 0),
"GTX01" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'network-proposal', 'Title' => 'GTX Network Proposal', 'url' => 'gtxnetwork/network-proposal', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD05"),
"GTX02" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'network-enquiry', 'Title' => 'GTX Network Enquiry', 'url' => 'gtxnetwork/network-enquiry', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD05"),
"GTX03" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'my-network-enquiry', 'Title' => 'My Network Enquiry', 'url' => 'gtxnetwork/my-network-enquiry', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD05"),
"GTX04" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'web-suppliers', 'Title' => 'Web Suppliers', 'url' => 'gtxnetwork/web-suppliers', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD05"),
"GTX05" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'my-sales-network', 'Title' => 'My Sales Network', 'url' => 'gtxnetwork/my-sales-network', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD05"),
"GTX06" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'web-suppliers', 'Title' => 'My Published Package', 'url' => 'gtxnetwork/web-suppliers/published', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD05"),
// For Finance
"MOD06" => array('moduleName' => 'finance', 'ControllerName' => '', 'Title' => 'Finance', 'url' => '', 'isDisplay' => 1, 'order' => 9, 'Type' => 1, 'Category' => 0),
"FIN01" => array('moduleName' => 'finance', 'ControllerName' => 'payment-detail', 'Title' => 'Daily Collection', 'url' => 'finance/payment-detail', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD06"),
"FIN02" => array('moduleName' => 'finance', 'ControllerName' => 'sales-report', 'Title' => 'Sales Report', 'url' => 'finance/sales-report', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD06"),
"FIN03" => array('moduleName' => 'finance', 'ControllerName' => 'miscellaneous', 'Title' => 'Invoice', 'url' => 'finance/miscellaneous', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD06"),
"FIN04" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Query Status Report (Count)', 'url' => 'report/query-status-report/index', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN05" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Query Status Report (Value)', 'url' => 'report/query-status-report/value-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
// "FIN06" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Lead/Query Follow Up Report','url'=>'report/query-status-report/lead-query-followup','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
"FIN07" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Sourcewise Lead Report', 'url' => 'report/query-status-report/lead-source-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN08" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Agent Wise Report', 'url' => 'report/query-status-report/lead-status-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN09" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Destination Wise Report', 'url' => 'report/query-status-report/destination-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
// "FIN10" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Booking Reports','url'=>'report/query-status-report/booking-report','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
// "FIN11" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Sales Report','url'=>'report/query-status-report/sales-report','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
"FIN12" => array('moduleName' => 'report', 'ControllerName' => 'campaign-success-report', 'Title' => 'Campaign Success Report', 'url' => 'report/query-status-report/campaign-success-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN13" => array('moduleName' => 'report', 'ControllerName' => 'b2b-report', 'Title' => 'B2B Report', 'url' => 'report/b2b-report', 'isDisplay' => 1, 'order' => 4, 'Type' => 2, 'Category' => "MOD14"),
"FIN14" => array('moduleName' => 'finance', 'ControllerName' => 'deposit-request', 'Title' => 'B2B Deposit Request', 'url' => 'report/deposit-request', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD06"),
"FIN15" => array('moduleName' => 'finance', 'ControllerName' => 'arrival-report', 'Title' => 'CheckIn Report', 'url' => 'report/arrival-report', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD14"),
"FIN16" => array('moduleName' => 'finance', 'ControllerName' => 'b2b-deposit-request', 'Title' => 'B2B Deposit Request', 'url' => 'finance/b2b-deposit-request', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD06"),
"FIN17" => array('moduleName' => 'finance', 'ControllerName' => 'checkout-report', 'Title' => 'Checkout Report', 'url' => 'report/checkout-report', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD14"),
"FIN18" => array('moduleName' => 'report', 'ControllerName' => 'debtors-report', 'Title' => 'Debtors Report', 'url' => 'report/debtors-report', 'isDisplay' => 1, 'order' => 6, 'Type' => 2, 'Category' => "MOD14"),
"FIN19" => array('moduleName' => 'finance', 'ControllerName' => 'credit-note', 'Title' => 'Credit Note', 'url' => 'finance/credit-note', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD06"),
"FIN20" => array('moduleName' => 'report', 'ControllerName' => 'dcr-report', 'Title' => 'DCR Report', 'url' => 'report/dcr-report', 'isDisplay' => 1, 'order' => 7, 'Type' => 2, 'Category' => "MOD14"),
"FIN21" => array('moduleName' => 'finance', 'ControllerName' => 'my-wallet-history', 'Title' => 'My Wallet History', 'url' => 'finance/my-wallet-history', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD06"),
"FIN22" => array('moduleName' => 'finance', 'ControllerName' => 'tcs-report', 'Title' => 'TCS Collection Report', 'url' => 'finance/tcs-report', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD06"),
"FIN23" => array('moduleName' => 'finance', 'ControllerName' => 'tcs-report', 'Title' => 'TCS Provisional Report', 'url' => 'finance/tcs-report/provisional', 'isDisplay' => 0, 'order' => 9, 'Type' => 2, 'Category' => "MOD06"),
"FIN24" => array('moduleName' => 'finance', 'ControllerName' => 'gst-report', 'Title' => 'Tax Collection Report', 'url' => 'finance/gst-report', 'isDisplay' => 1, 'order' => 10, 'Type' => 2, 'Category' => "MOD06"),
"FIN25" => array('moduleName' => 'finance', 'ControllerName' => 'gst-report', 'Title' => 'Tax Paid to Vendors', 'url' => 'finance/gst-report/tax-paid', 'isDisplay' => 0, 'order' => 11, 'Type' => 2, 'Category' => "MOD06"),
"FIN26" => array('moduleName' => 'finance', 'ControllerName' => 'reward-points', 'Title' => 'Reward Points', 'url' => 'finance/reward-points', 'isDisplay' => 0, 'order' => 12, 'Type' => 2, 'Category' => "MOD06"),
"FIN27" => array('moduleName' => 'finance', 'ControllerName' => 'b2c-customer', 'Title' => 'B2C Customer', 'url' => 'finance/b2c-customer', 'isDisplay' => 0, 'order' => 13, 'Type' => 2, 'Category' => "MOD06"),
"FIN28" => array('moduleName' => 'finance', 'ControllerName' => 'finance/bnpl-agencies', 'Title' => 'Bnpl Agencies', 'url' => 'finance/bnpl-agencies', 'isDisplay' => 1, 'order' => 13, 'Type' => 2, 'Category' => "MOD06"),
// // For To do`s
"MOD07" => array('moduleName' => 'dashboard', 'ControllerName' => 'view-all-to-do', 'Title' => 'To Do`s', 'url' => 'dashboard/view-all-to-do/index/type/1', 'isDisplay' => 1, 'order' => 5, 'Type' => 1, 'Category' => 0),
// For Megic Box
"MOD08" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'Magic Box', 'url' => '', 'isDisplay' => 1, 'order' => 11, 'Type' => 1, 'Category' => 0),
"MAG01" => array('moduleName' => 'crm', 'ControllerName' => 'customer-profiling', 'Title' => 'Magic Prospects', 'url' => 'crm/customer-profiling', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD08"),
"MAG02" => array('moduleName' => 'crm', 'ControllerName' => 'historical-data', 'Title' => 'Historical Data', 'url' => 'crm/historical-data', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD08"),
// For Markenting
"MOD09" => array('moduleName' => 'marketing', 'ControllerName' => '', 'Title' => 'Marketing', 'url' => '', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => 0),
"MAR01" => array('moduleName' => 'marketing', 'ControllerName' => 'dashboard', 'Title' => 'Dashboard', 'url' => 'marketing/dashboard', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD09"),
"MAR02" => array('moduleName' => 'marketing', 'ControllerName' => 'list', 'Title' => 'Lists', 'url' => 'marketing/list', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD09"),
"MAR03" => array('moduleName' => 'marketing', 'ControllerName' => 'template', 'Title' => 'Email Templates', 'url' => 'marketing/template', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD09"),
"MAR04" => array('moduleName' => 'marketing', 'ControllerName' => 'campaign', 'Title' => 'Campaigns', 'url' => 'marketing/campaign', 'isDisplay' => 1, 'order' => 4, 'Type' => 2, 'Category' => "MOD09"),
"MAR05" => array('moduleName' => 'marketing', 'ControllerName' => 'campaign', 'Title' => 'Default Campaigns', 'url' => 'marketing/campaign/default-campaign', 'isDisplay' => 1, 'order' => 5, 'Type' => 3, 'Category' => "MOD09"),
"MAR10" => array('moduleName' => 'marketing', 'ControllerName' => 'coupon', 'Title' => 'Coupon Code', 'url' => 'marketing/coupon', 'isDisplay' => 0, 'order' => 10, 'Type' => 3, 'Category' => "MOD09"),
// For Staff Management
"MOD10" => array('moduleName' => 'staff-management', 'ControllerName' => '', 'Title' => 'Staff Management', 'url' => '', 'isDisplay' => 1, 'order' => 12, 'Type' => 1, 'Category' => 0),
"STA01" => array('moduleName' => 'staff-management', 'ControllerName' => 'roles', 'Title' => 'Roles', 'url' => 'staff-management/roles', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD10"),
"STA02" => array('moduleName' => 'staff-management', 'ControllerName' => 'department', 'Title' => 'Department', 'url' => 'staff-management/department', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD10"),
"STA03" => array('moduleName' => 'staff-management', 'ControllerName' => 'index', 'Title' => 'Staff', 'url' => 'staff-management', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD10"),
"STA04" => array('moduleName' => 'staff-management', 'ControllerName' => 'b2b-agency', 'Title' => 'B2B Agency', 'url' => 'staff-management/b2b-agency', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD10"),
"STA05" => array('moduleName' => 'staff-management', 'ControllerName' => 'new-b2b-agency', 'Title' => 'B2B Agency Request', 'url' => 'staff-management/new-b2b-agency', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD10"),
"STA06" => array('moduleName' => 'staff-management', 'ControllerName' => 'dmc-supplier', 'Title' => 'DMC Supplier', 'url' => 'staff-management/dmc-supplier', 'isDisplay' => 1, 'order' => 6, 'Type' => 2, 'Category' => "MOD10"),
// For Setting
"MOD11" => array('moduleName' => 'settings', 'ControllerName' => '', 'Title' => 'Settings', 'url' => '', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => 0),
"SET01" => array('moduleName' => 'default', 'ControllerName' => 'login', 'Title' => 'Company Profile', 'url' => 'dashboard/agency/company-profile', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD11"),
"SET02" => array('moduleName' => 'settings', 'ControllerName' => 'term-conditions', 'Title' => 'Term & Conditions', 'url' => 'settings/term-conditions', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD11"),
"SET03" => array('moduleName' => 'settings', 'ControllerName' => 'email-templates', 'Title' => 'Email Templates', 'url' => 'settings/email-templates', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD11"),
"SET04" => array('moduleName' => 'settings', 'ControllerName' => 'agency-market-place', 'Title' => 'B2B Mark Up', 'url' => 'settings/agency-market-place', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD11"),
"SET05" => array('moduleName' => 'settings', 'ControllerName' => 'lead-source', 'Title' => 'Lead Source', 'url' => 'settings/lead-source', 'isDisplay' => 1, 'order' => 5, 'Type' => 3, 'Category' => "MOD11"),
"SET06" => array('moduleName' => 'settings', 'ControllerName' => 'check-points', 'Title' => 'Manage Notifications', 'url' => 'settings/check-points', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD11"),
"SET07" => array('moduleName' => 'subscription', 'ControllerName' => 'index', 'Title' => 'Your Subscription Plan', 'url' => 'subscription/index/your-plan', 'isDisplay' => 1, 'order' => 7, 'Type' => 3, 'Category' => "MOD11"),
"SET09" => array('moduleName' => 'visa', 'ControllerName' => 'embassy', 'Title' => 'Embassy Master', 'url' => 'visa/embassy/', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD11"),
"SET08" => array('moduleName' => 'visa', 'ControllerName' => 'visa-doc', 'Title' => 'Visa Doc', 'url' => 'visa/visa-doc/', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD11"),
"SET10" => array('moduleName' => 'settings', 'ControllerName' => 'communications', 'Title' => 'Communications', 'url' => 'settings/communications/sender-id', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD11"),
"MOD13" => array('moduleName' => 'markup', 'ControllerName' => '', 'Title' => 'Markup', 'url' => 'markup', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => 'MOD11'),
// For Refer
"MOD12" => array('moduleName' => 'refer', 'ControllerName' => '', 'Title' => 'Refer & Earn', 'url' => '', 'isDisplay' => 1, 'order' => 14, 'Type' => 1, 'Category' => 0),
"REF01" => array('moduleName' => 'refer', 'ControllerName' => 'index', 'Title' => 'Refer', 'url' => 'refer', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD12"),
"REF02" => array('moduleName' => 'refer', 'ControllerName' => 'list', 'Title' => 'List', 'url' => 'refer/index/list', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD12"),
// For Default
"MOD14" => array('moduleName' => 'report', 'ControllerName' => '', 'Title' => 'Reports', 'url' => '', 'isDisplay' => 1, 'order' => 7, 'Type' => 1, 'Category' => 0),
"MOD15" => array('moduleName' => 'visa', 'ControllerName' => '', 'Title' => 'Visa', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD16" => array('moduleName' => 'transport', 'ControllerName' => '', 'Title' => 'Transport', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD17" => array('moduleName' => 'payment', 'ControllerName' => '', 'Title' => 'Payment', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD18" => array('moduleName' => 'gtxlead', 'ControllerName' => '', 'Title' => 'Manage Landing Page', 'url' => 'gtxlead', 'isDisplay' => 1, 'order' => 7, 'Type' => 1, 'Category' => 'MOD09'),
"MAR06" => array('moduleName' => 'gtxlead', 'ControllerName' => 'campaign-url-builder', 'Title' => 'Campaign URL Builder', 'url' => 'gtxlead/campaign-url-builder', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD09"),
"MOD19" => array('moduleName' => 'sight-seeing', 'ControllerName' => '', 'Title' => 'SightSeeing', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD20" => array('moduleName' => 'build-your-own', 'ControllerName' => 'index', 'Title' => 'Build Your Own', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD21" => array('moduleName' => 'manage-tg', 'ControllerName' => 'index', 'Title' => 'Manage TG', 'url' => '', 'isDisplay' => 1, 'order' => 14, 'Type' => 1, 'Category' => 0),
"TG01" => array('moduleName' => 'manage-tg', 'ControllerName' => 'package', 'Title' => 'Packages', 'url' => 'manage-tg/package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD21"),
"MOD22" => array('moduleName' => 'operations', 'ControllerName' => 'index', 'Title' => 'Operations', 'url' => '', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => 0),
"OM01" => array('moduleName' => 'operations', 'ControllerName' => 'package', 'Title' => 'WIP Packages', 'url' => 'operations/package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD22"),
"OM02" => array('moduleName' => 'operations', 'ControllerName' => 'flight-modification', 'Title' => 'Flight Modifications', 'url' => 'operations/flight-modification', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => "MOD22"),
"OM03" => array('moduleName' => 'operations', 'ControllerName' => 'cancellation-protect', 'Title' => 'Refund Upgrade', 'url' => 'operations/cancellation-protect', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"OM04" => array('moduleName' => 'operations', 'ControllerName' => 'proposal-requested', 'Title' => 'Proposal Requested', 'url' => 'operations/proposal-requested', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"OM05" => array('moduleName' => 'operations', 'ControllerName' => 'bnpl-due-report', 'Title' => 'Bnpl Due Report', 'url' => 'operations/bnpl-due-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"MOD23" => array('moduleName' => 'customer-review', 'ControllerName' => 'index', 'Title' => 'Customer-review', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MAR07" => array('moduleName' => 'customer-review', 'ControllerName' => 'index', 'Title' => 'View Feedback', 'url' => 'customer-review/index/view-feedback', 'isDisplay' => 1, 'order' => 9, 'Type' => 2, 'Category' => "MOD09"),
"MAR08" => array('moduleName' => 'marketing', 'ControllerName' => 'flight-logs', 'Title' => 'Flight Logs', 'url' => 'marketing/flight-logs', 'isDisplay' => 1, 'order' => 11, 'Type' => 2, 'Category' => "MOD09"),
"MAR09" => array('moduleName' => 'default', 'ControllerName' => 'facebook-lead', 'Title' => 'FB/Insta Lead Integration', 'url' => 'facebook-lead/integration', 'isDisplay' => 1, 'order' => 11, 'Type' => 2, 'Category' => "MOD09"),
);
$mainCategoryInsert = array(
"MOD01" => array('moduleName' => 'dashboard', 'ControllerName' => 'agency', 'Title' => 'Dashboard', 'url' => 'dashboard/agency', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => 0),
// For CRM
"MOD02" => array('moduleName' => 'crm', 'ControllerName' => '', 'Title' => "CRM / Sales", 'url' => '', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => 0),
"CRM01" => array('moduleName' => 'crm', 'ControllerName' => 'lead', 'Title' => "Leads", 'url' => 'crm/lead/index/filter/fresh', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD02"),
"CRM02" => array('moduleName' => 'crm', 'ControllerName' => 'query', 'Title' => "Queries", 'url' => 'crm/query', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD02"),
"CRM12" => array('moduleName' => 'crm', 'ControllerName' => 'query', 'Title' => "Confirmed Queries", 'url' => 'crm/query/index/filter/confirmed', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD02"),
"CRM03" => array('moduleName' => 'crm', 'ControllerName' => 'listcustomer', 'Title' => "B2C Customer(s)", 'url' => 'crm/listcustomer', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD02"),
"CRM04" => array('moduleName' => 'crm', 'ControllerName' => 'customer-proposal', 'Title' => "B2C Proposal(s)", 'url' => 'crm/customer-proposal', 'isDisplay' => 0, 'order' => 5, 'Type' => 3, 'Category' => "MOD02"),
"CRM05" => array('moduleName' => 'crm', 'ControllerName' => 'customer-response', 'Title' => "Customers Response", 'url' => 'crm/customer-response', 'isDisplay' => 0, 'order' => 6, 'Type' => 3, 'Category' => "MOD02"),
"CRM06" => array('moduleName' => 'crm', 'ControllerName' => 'listb2bcustomer', 'Title' => "B2B Customer(s)", 'url' => 'crm/listb2bcustomer', 'isDisplay' => 0, 'order' => 7, 'Type' => 3, 'Category' => "MOD02"),
"CRM07" => array('moduleName' => 'crm', 'ControllerName' => 'b2b-proposal', 'Title' => "B2B Proposal(s)", 'url' => 'crm/b2b-proposal', 'isDisplay' => 0, 'order' => 8, 'Type' => 2, 'Category' => "MOD02"),
"CRM08" => array('moduleName' => 'supplier', 'ControllerName' => 'index', 'Title' => "My Suppliers", 'url' => 'supplier', 'isDisplay' => 1, 'order' => 9, 'Type' => 1, 'Category' => "MOD02"),
"CRM09" => array('moduleName' => 'supplier', 'ControllerName' => 'package-enquiry', 'Title' => "Supplier Package Enquiry", 'url' => 'supplier/package-enquiry', 'isDisplay' => 1, 'order' => 10, 'Type' => 3, 'Category' => "MOD22"),
"CRM10" => array('moduleName' => 'crm', 'ControllerName' => 'listachievecustomer', 'Title' => "Archived Leads", 'url' => 'crm/listachievecustomer', 'isDisplay' => 1, 'order' => 11, 'Type' => 3, 'Category' => "MOD02"),
"CRM11" => array('moduleName' => 'crm', 'ControllerName' => 'call-logs', 'Title' => "Call Logs", 'url' => 'crm/call-logs', 'isDisplay' => 0, 'order' => 12, 'Type' => 3, 'Category' => "MOD02"),
"CRM13" => array('moduleName' => 'crm', 'ControllerName' => 'wa-chat-box', 'Title' => "WA Chat Box", 'url' => 'crm/wa-chat-box', 'isDisplay' => 1, 'order' => 13, 'Type' => 2, 'Category' => "MOD02"),
// Fro Booking
"MOD03" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'Bookings', 'url' => '', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => 0),
"BOK01" => array('moduleName' => 'default', 'ControllerName' => 'booking-flight', 'Title' => 'Flights Ticket', 'url' => 'booking-flight', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD03"),
"BOK02" => array('moduleName' => 'default', 'ControllerName' => 'booking-flight', 'Title' => 'Flights Booking Queue', 'url' => 'booking-flight/queue', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"BOK03" => array('moduleName' => 'default', 'ControllerName' => 'bookinghotel', 'Title' => 'Hotels', 'url' => 'bookinghotel', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD03"),
"BOK04" => array('moduleName' => 'default', 'ControllerName' => 'packagesearch', 'Title' => 'Packages', 'url' => 'packagesearch/package-booking-list', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD03"),
//"BOK05" => array('moduleName' => 'default', 'ControllerName' => 'activities', 'Title' => 'Activities', 'url' => 'activities/activity-booking-list', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD03"),
"BOK06" => array('moduleName' => 'visa', 'ControllerName' => 'visamaster', 'Title' => 'Visa', 'url' => 'visa/visamaster/visa-booking-list', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD03"),
"BOK07" => array('moduleName' => 'transport', 'ControllerName' => 'booking-transport', 'Title' => 'Transfer', 'url' => 'transport/booking-transport', 'isDisplay' => 1, 'order' => 7, 'Type' => 3, 'Category' => "MOD03"),
// For Inventory
"MOD04" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'My Inventory', 'url' => '', 'isDisplay' => 1, 'order' => 6, 'Type' => 1, 'Category' => 0),
"INV01" => array('moduleName' => 'default', 'ControllerName' => 'package', 'Title' => 'Packages', 'url' => 'package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD04"),
"INV02" => array('moduleName' => 'default', 'ControllerName' => 'accommodation', 'Title' => 'Hotels', 'url' => 'accommodation/manage', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => "MOD04"),
//"INV03" => array('moduleName' => 'default', 'ControllerName' => 'activities', 'Title' => 'Activities', 'url' => 'activities/manage-activities', 'isDisplay' => 0, 'order' => 3, 'Type' => 1, 'Category' => "MOD04"),
"INV04" => array('moduleName' => 'default', 'ControllerName' => 'sightseeing', 'Title' => 'Sightseeing', 'url' => 'sightseeing/manage-sightseeing', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => "MOD04"),
"INV05" => array('moduleName' => 'transport', 'ControllerName' => 'transport', 'Title' => 'Vehicles', 'url' => 'transport/transport/manage-transport', 'isDisplay' => 1, 'order' => 5, 'Type' => 1, 'Category' => "MOD04"),
"INV06" => array('moduleName' => 'transport', 'ControllerName' => 'transports-route', 'Title' => 'Transport Routes', 'url' => 'transport/transports-route', 'isDisplay' => 1, 'order' => 6, 'Type' => 1, 'Category' => "MOD04"),
"INV07" => array('moduleName' => 'transport', 'ControllerName' => 'transports-bus-route', 'Title' => 'Bus Pickup Location', 'url' => 'transport/transports-bus-route', 'isDisplay' => 0, 'order' => 7, 'Type' => 1, 'Category' => "MOD04"),
"INV08" => array('moduleName' => 'visa', 'ControllerName' => 'visamaster', 'Title' => 'Visa', 'url' => 'visa/visamaster', 'isDisplay' => 1, 'order' => 8, 'Type' => 3, 'Category' => "MOD04"),
"INV11" => array('moduleName' => 'visa', 'ControllerName' => 'visa-pickup-location', 'Title' => 'Visa Pickup Location', 'url' => 'visa/visa-pickup-location', 'isDisplay' => 0, 'order' => 8, 'Type' => 1, 'Category' => "MOD04"),
"INV09" => array('moduleName' => 'default', 'ControllerName' => 'itinerary-description', 'Title' => 'Itinerary Description', 'url' => 'itinerary-description', 'isDisplay' => 1, 'order' => 9, 'Type' => 1, 'Category' => "MOD04"),
"INV10" => array('moduleName' => 'default', 'ControllerName' => 'inventory-detail', 'Title' => 'Group Departure', 'url' => 'inventory-detail', 'isDisplay' => 1, 'order' => 10, 'Type' => 1, 'Category' => "MOD04"),
"INV12" => array('moduleName' => 'default', 'ControllerName' => 'master', 'Title' => 'Area Master', 'url' => 'master/area-master', 'isDisplay' => 0, 'order' => 11, 'Type' => 1, 'Category' => "MOD04"),
"INV13" => array('moduleName' => 'flight-inventory', 'ControllerName' => 'index', 'Title' => 'Flight Series Fare', 'url' => 'flight-inventory', 'isDisplay' => 0, 'order' => 11, 'Type' => 1, 'Category' => "MOD04"),
"INV14" => array('moduleName' => 'restaturants', 'ControllerName' => 'index', 'Title' => 'Restaturants', 'url' => 'restaturants', 'isDisplay' => 1, 'order' => 12, 'Type' => 1, 'Category' => "MOD04"),
"INV15" => array('moduleName' => 'event', 'ControllerName' => 'index', 'Title' => 'Events', 'url' => 'event', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => "MOD04"),
"INV16" => array('moduleName' => 'default', 'ControllerName' => 'misc', 'Title' => 'Misc', 'url' => 'misc', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => "MOD04"),
// GTX Network
"MOD05" => array('moduleName' => 'gtxnetwork', 'ControllerName' => '', 'Title' => 'GTX Network', 'url' => '', 'isDisplay' => 1, 'order' => 10, 'Type' => 1, 'Category' => 0),
"GTX01" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'network-proposal', 'Title' => 'GTX Network Proposal', 'url' => 'gtxnetwork/network-proposal', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD05"),
"GTX02" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'network-enquiry', 'Title' => 'GTX Network Enquiry', 'url' => 'gtxnetwork/network-enquiry', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD05"),
"GTX03" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'my-network-enquiry', 'Title' => 'My Network Enquiry', 'url' => 'gtxnetwork/my-network-enquiry', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD05"),
"GTX04" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'web-suppliers', 'Title' => 'Web Suppliers', 'url' => 'gtxnetwork/web-suppliers', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD05"),
"GTX05" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'my-sales-network', 'Title' => 'My Sales Network', 'url' => 'gtxnetwork/my-sales-network', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD05"),
"GTX06" => array('moduleName' => 'gtxnetwork', 'ControllerName' => 'web-suppliers', 'Title' => 'My Published Package', 'url' => 'gtxnetwork/web-suppliers/published', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD05"),
// For Finance
"MOD06" => array('moduleName' => 'finance', 'ControllerName' => '', 'Title' => 'Finance', 'url' => '', 'isDisplay' => 1, 'order' => 9, 'Type' => 1, 'Category' => 0),
"FIN01" => array('moduleName' => 'finance', 'ControllerName' => 'payment-detail', 'Title' => 'Daily Collection', 'url' => 'finance/payment-detail', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD06"),
"FIN02" => array('moduleName' => 'finance', 'ControllerName' => 'sales-report', 'Title' => 'Sales Report', 'url' => 'finance/sales-report', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD06"),
"FIN03" => array('moduleName' => 'finance', 'ControllerName' => 'miscellaneous', 'Title' => 'Invoice', 'url' => 'finance/miscellaneous', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD06"),
// "FIN10" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Booking Reports','url'=>'report/query-status-report/booking-report','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
// "FIN11" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Sales Report','url'=>'report/query-status-report/sales-report','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
//"FIN14" => array('moduleName' => 'finance', 'ControllerName' => 'deposit-request', 'Title' => 'B2B Deposit Request', 'url' => 'report/deposit-request', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD14"),
//"FIN15" => array('moduleName' => 'finance', 'ControllerName' => 'arrival-report', 'Title' => 'CheckIn Report', 'url' => 'report/arrival-report', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD06"),
"FIN14" => array('moduleName' => 'finance', 'ControllerName' => 'b2b-agencies', 'Title' => 'B2B Agencies', 'url' => 'finance/b2b-agencies', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD06"),
"FIN16" => array('moduleName' => 'finance', 'ControllerName' => 'b2b-deposit-request', 'Title' => 'B2B Deposit Request', 'url' => 'finance/b2b-deposit-request', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD06"),
"FIN19" => array('moduleName' => 'finance', 'ControllerName' => 'credit-note', 'Title' => 'Credit Note', 'url' => 'finance/credit-note', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD06"),
"FIN21" => array('moduleName' => 'finance', 'ControllerName' => 'my-wallet-history', 'Title' => 'My Wallet History', 'url' => 'finance/my-wallet-history', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD06"),
"FIN22" => array('moduleName' => 'finance', 'ControllerName' => 'tcs-report', 'Title' => 'TCS Collection Report', 'url' => 'finance/tcs-report', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD06"),
"FIN23" => array('moduleName' => 'finance', 'ControllerName' => 'tcs-report', 'Title' => 'TCS Provisional Report', 'url' => 'finance/tcs-report/provisional', 'isDisplay' => 0, 'order' => 9, 'Type' => 2, 'Category' => "MOD06"),
"FIN24" => array('moduleName' => 'finance', 'ControllerName' => 'gst-report', 'Title' => 'Tax Collection Report', 'url' => 'finance/gst-report', 'isDisplay' => 1, 'order' => 10, 'Type' => 2, 'Category' => "MOD06"),
"FIN25" => array('moduleName' => 'finance', 'ControllerName' => 'gst-report', 'Title' => 'Tax Paid to Vendors', 'url' => 'finance/gst-report/tax-paid', 'isDisplay' => 0, 'order' => 11, 'Type' => 2, 'Category' => "MOD06"),
"FIN15" => array('moduleName' => 'finance', 'ControllerName' => 'arrival-report', 'Title' => 'CheckIn Report', 'url' => 'report/arrival-report', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD14"),
"FIN26" => array('moduleName' => 'finance', 'ControllerName' => 'reward-points', 'Title' => 'Reward Points', 'url' => 'finance/reward-points', 'isDisplay' => 0, 'order' => 12, 'Type' => 2, 'Category' => "MOD06"),
"FIN27" => array('moduleName' => 'finance', 'ControllerName' => 'b2c-customer', 'Title' => 'B2C Customer', 'url' => 'finance/b2c-customer', 'isDisplay' => 0, 'order' => 13, 'Type' => 2, 'Category' => "MOD06"),
"FIN28" => array('moduleName' => 'finance', 'ControllerName' => 'finance/bnpl-agencies', 'Title' => 'Bnpl Agencies', 'url' => 'finance/bnpl-agencies', 'isDisplay' => 0, 'order' => 13, 'Type' => 2, 'Category' => "MOD06"),
// // For To do`s
"MOD07" => array('moduleName' => 'dashboard', 'ControllerName' => 'view-all-to-do', 'Title' => 'To Do`s', 'url' => 'dashboard/view-all-to-do/index/type/1', 'isDisplay' => 1, 'order' => 5, 'Type' => 1, 'Category' => 0),
// For Megic Box
"MOD08" => array('moduleName' => 'default', 'ControllerName' => '', 'Title' => 'Magic Box', 'url' => '', 'isDisplay' => 1, 'order' => 11, 'Type' => 1, 'Category' => 0),
"MAG01" => array('moduleName' => 'crm', 'ControllerName' => 'customer-profiling', 'Title' => 'Magic Prospects', 'url' => 'crm/customer-profiling', 'isDisplay' => 1, 'order' => 1, 'Type' => 3, 'Category' => "MOD08"),
"MAG02" => array('moduleName' => 'crm', 'ControllerName' => 'historical-data', 'Title' => 'Historical Data', 'url' => 'crm/historical-data', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD08"),
// For Markenting
"MOD09" => array('moduleName' => 'marketing', 'ControllerName' => '', 'Title' => 'Marketing', 'url' => '', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => 0),
"MAR01" => array('moduleName' => 'marketing', 'ControllerName' => 'dashboard', 'Title' => 'Dashboard', 'url' => 'marketing/dashboard', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD09"),
"MAR02" => array('moduleName' => 'marketing', 'ControllerName' => 'list', 'Title' => 'Lists', 'url' => 'marketing/list', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD09"),
"MAR03" => array('moduleName' => 'marketing', 'ControllerName' => 'template', 'Title' => 'Email Templates', 'url' => 'marketing/template', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD09"),
"MAR04" => array('moduleName' => 'marketing', 'ControllerName' => 'campaign', 'Title' => 'Campaigns', 'url' => 'marketing/campaign', 'isDisplay' => 1, 'order' => 4, 'Type' => 2, 'Category' => "MOD09"),
"MAR05" => array('moduleName' => 'marketing', 'ControllerName' => 'campaign', 'Title' => 'Default Campaigns', 'url' => 'marketing/campaign/default-campaign', 'isDisplay' => 1, 'order' => 5, 'Type' => 3, 'Category' => "MOD09"),
"MAR07" => array('moduleName' => 'customer-review', 'ControllerName' => 'index', 'Title' => 'View Feedback', 'url' => 'customer-review/index/view-feedback', 'isDisplay' => 1, 'order' => 9, 'Type' => 2, 'Category' => "MOD09"),
"MAR08" => array('moduleName' => 'marketing', 'ControllerName' => 'flight-logs', 'Title' => 'Flight Logs', 'url' => 'marketing/flight-logs', 'isDisplay' => 1, 'order' => 11, 'Type' => 2, 'Category' => "MOD09"),
"MAR09" => array('moduleName' => 'default', 'ControllerName' => 'facebook-lead', 'Title' => 'FB/Insta Lead Integration', 'url' => 'facebook-lead/integration', 'isDisplay' => 1, 'order' => 11, 'Type' => 2, 'Category' => "MOD09"),
"MOD18" => array('moduleName' => 'gtxlead', 'ControllerName' => '', 'Title' => 'Manage Landing Page', 'url' => 'gtxlead', 'isDisplay' => 1, 'order' => 7, 'Type' => 1, 'Category' => 'MOD09'),
"MAR06" => array('moduleName' => 'gtxlead', 'ControllerName' => 'campaign-url-builder', 'Title' => 'Campaign URL Builder', 'url' => 'gtxlead/campaign-url-builder', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD09"),
"MAR10" => array('moduleName' => 'marketing', 'ControllerName' => 'coupon', 'Title' => 'Coupon Code', 'url' => 'marketing/coupon', 'isDisplay' => 0, 'order' => 10, 'Type' => 3, 'Category' => "MOD09"),
// For Staff Management
"MOD10" => array('moduleName' => 'staff-management', 'ControllerName' => '', 'Title' => 'Staff Management', 'url' => '', 'isDisplay' => 1, 'order' => 12, 'Type' => 1, 'Category' => 0),
"STA01" => array('moduleName' => 'staff-management', 'ControllerName' => 'roles', 'Title' => 'Roles', 'url' => 'staff-management/roles', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD10"),
"STA02" => array('moduleName' => 'staff-management', 'ControllerName' => 'department', 'Title' => 'Department', 'url' => 'staff-management/department', 'isDisplay' => 1, 'order' => 2, 'Type' => 2, 'Category' => "MOD10"),
"STA03" => array('moduleName' => 'staff-management', 'ControllerName' => 'index', 'Title' => 'Staff', 'url' => 'staff-management', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD10"),
"STA04" => array('moduleName' => 'staff-management', 'ControllerName' => 'b2b-agency', 'Title' => 'B2B Agency', 'url' => 'staff-management/b2b-agency', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD10"),
"STA05" => array('moduleName' => 'staff-management', 'ControllerName' => 'new-b2b-agency', 'Title' => 'B2B Agency Request', 'url' => 'staff-management/new-b2b-agency', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD10"),
"STA06" => array('moduleName' => 'staff-management', 'ControllerName' => 'dmc-supplier', 'Title' => 'DMC Supplier', 'url' => 'staff-management/dmc-supplier', 'isDisplay' => 1, 'order' => 6, 'Type' => 2, 'Category' => "MOD10"),
// For Setting
"MOD11" => array('moduleName' => 'settings', 'ControllerName' => '', 'Title' => 'Settings', 'url' => '', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => 0),
"SET01" => array('moduleName' => 'default', 'ControllerName' => 'login', 'Title' => 'Company Profile', 'url' => 'dashboard/agency/company-profile', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD11"),
"SET02" => array('moduleName' => 'settings', 'ControllerName' => 'term-conditions', 'Title' => 'Term & Conditions', 'url' => 'settings/term-conditions', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD11"),
"SET03" => array('moduleName' => 'settings', 'ControllerName' => 'email-templates', 'Title' => 'Email Templates', 'url' => 'settings/email-templates', 'isDisplay' => 1, 'order' => 3, 'Type' => 3, 'Category' => "MOD11"),
"SET04" => array('moduleName' => 'settings', 'ControllerName' => 'agency-market-place', 'Title' => 'B2B Mark Up', 'url' => 'settings/agency-market-place', 'isDisplay' => 1, 'order' => 4, 'Type' => 3, 'Category' => "MOD11"),
"SET05" => array('moduleName' => 'settings', 'ControllerName' => 'lead-source', 'Title' => 'Lead Source', 'url' => 'settings/lead-source', 'isDisplay' => 1, 'order' => 5, 'Type' => 3, 'Category' => "MOD11"),
"SET06" => array('moduleName' => 'settings', 'ControllerName' => 'check-points', 'Title' => 'Manage Notifications', 'url' => 'settings/check-points', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD11"),
"SET07" => array('moduleName' => 'subscription', 'ControllerName' => 'index', 'Title' => 'Your Subscription Plan', 'url' => 'subscription/index/your-plan', 'isDisplay' => 1, 'order' => 7, 'Type' => 3, 'Category' => "MOD11"),
//"SET09" => array('moduleName' => 'visa', 'ControllerName' => 'embassy', 'Title' => 'Embassy Master', 'url' => 'visa/embassy/', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD11"),
///"SET08" => array('moduleName' => 'visa', 'ControllerName' => 'visa-doc', 'Title' => 'Visa Doc', 'url' => 'visa/visa-doc/', 'isDisplay' => 1, 'order' => 8, 'Type' => 2, 'Category' => "MOD11"),
"SET10" => array('moduleName' => 'settings', 'ControllerName' => 'communications', 'Title' => 'Communications', 'url' => 'settings/communications/sender-id', 'isDisplay' => 1, 'order' => 6, 'Type' => 3, 'Category' => "MOD11"),
"MOD13" => array('moduleName' => 'markup', 'ControllerName' => '', 'Title' => 'Markup', 'url' => 'markup', 'isDisplay' => 1, 'order' => 13, 'Type' => 1, 'Category' => 'MOD11'),
// For Refer
"MOD12" => array('moduleName' => 'refer', 'ControllerName' => '', 'Title' => 'Refer & Earn', 'url' => '', 'isDisplay' => 1, 'order' => 14, 'Type' => 1, 'Category' => 0),
"REF01" => array('moduleName' => 'refer', 'ControllerName' => 'index', 'Title' => 'Refer', 'url' => 'refer', 'isDisplay' => 1, 'order' => 1, 'Type' => 2, 'Category' => "MOD12"),
"REF02" => array('moduleName' => 'refer', 'ControllerName' => 'list', 'Title' => 'List', 'url' => 'refer/index/list', 'isDisplay' => 1, 'order' => 2, 'Type' => 3, 'Category' => "MOD12"),
// For Default
// Report
"MOD14" => array('moduleName' => 'report', 'ControllerName' => '', 'Title' => 'Reports', 'url' => '', 'isDisplay' => 1, 'order' => 7, 'Type' => 1, 'Category' => 0),
"FIN17" => array('moduleName' => 'finance', 'ControllerName' => 'checkout-report', 'Title' => 'Checkout Report', 'url' => 'report/checkout-report', 'isDisplay' => 1, 'order' => 5, 'Type' => 2, 'Category' => "MOD14"),
"FIN18" => array('moduleName' => 'report', 'ControllerName' => 'debtors-report', 'Title' => 'Debtors Report', 'url' => 'report/debtors-report', 'isDisplay' => 1, 'order' => 6, 'Type' => 2, 'Category' => "MOD14"),
"FIN20" => array('moduleName' => 'report', 'ControllerName' => 'dcr-report', 'Title' => 'DCR Report', 'url' => 'report/dcr-report', 'isDisplay' => 1, 'order' => 7, 'Type' => 2, 'Category' => "MOD14"),
"FIN04" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Query Status Report (Count)', 'url' => 'report/query-status-report/index', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN05" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Query Status Report (Value)', 'url' => 'report/query-status-report/value-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
// "FIN06" => array('moduleName' =>'report','ControllerName' =>'query-status-report','Title'=>'Lead/Query Follow Up Report','url'=>'report/query-status-report/lead-query-followup','isDisplay'=>1,'order'=>3,'Type'=>2,'Category'=>"MOD06"),
"FIN07" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Sourcewise Lead Report', 'url' => 'report/query-status-report/lead-source-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN08" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Agent Wise Report', 'url' => 'report/query-status-report/lead-status-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN09" => array('moduleName' => 'report', 'ControllerName' => 'query-status-report', 'Title' => 'Destination Wise Report', 'url' => 'report/query-status-report/destination-wise', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN12" => array('moduleName' => 'report', 'ControllerName' => 'campaign-success-report', 'Title' => 'Campaign Success Report', 'url' => 'report/query-status-report/campaign-success-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 2, 'Category' => "MOD14"),
"FIN13" => array('moduleName' => 'report', 'ControllerName' => 'b2b-report', 'Title' => 'B2B Report', 'url' => 'report/b2b-report', 'isDisplay' => 1, 'order' => 4, 'Type' => 2, 'Category' => "MOD14"),
// Default
//"MOD21" => array('moduleName' => 'manage-tg', 'ControllerName' => 'index', 'Title' => 'Manage TG', 'url' => '', 'isDisplay' => 1, 'order' => 14, 'Type' => 1, 'Category' => 0),
//"TG01" => array('moduleName' => 'manage-tg', 'ControllerName' => 'package', 'Title' => 'Packages', 'url' => 'manage-tg/package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD21"),
"MOD22" => array('moduleName' => 'operations', 'ControllerName' => 'index', 'Title' => 'Operations', 'url' => '', 'isDisplay' => 1, 'order' => 4, 'Type' => 1, 'Category' => 0),
"OM01" => array('moduleName' => 'operations', 'ControllerName' => 'package', 'Title' => 'WIP Packages', 'url' => 'operations/package', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => "MOD22"),
"OM02" => array('moduleName' => 'operations', 'ControllerName' => 'flight-modification', 'Title' => 'Flight Modifications', 'url' => 'operations/flight-modification', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => "MOD22"),
"OM03" => array('moduleName' => 'operations', 'ControllerName' => 'cancellation-protect', 'Title' => 'Refund Upgrade', 'url' => 'operations/cancellation-protect', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"OM04" => array('moduleName' => 'operations', 'ControllerName' => 'proposal-requested', 'Title' => 'Proposal Requested', 'url' => 'operations/proposal-requested', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"OM05" => array('moduleName' => 'operations', 'ControllerName' => 'bnpl-due-report', 'Title' => 'Bnpl Due Report', 'url' => 'operations/bnpl-due-report', 'isDisplay' => 1, 'order' => 3, 'Type' => 1, 'Category' => "MOD22"),
"MOD23" => array('moduleName' => 'customer-review', 'ControllerName' => 'index', 'Title' => 'Customer Review', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD15" => array('moduleName' => 'visa', 'ControllerName' => '', 'Title' => 'Visa', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD16" => array('moduleName' => 'transport', 'ControllerName' => '', 'Title' => 'Transport', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD17" => array('moduleName' => 'payment', 'ControllerName' => '', 'Title' => 'Payment', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD19" => array('moduleName' => 'sight-seeing', 'ControllerName' => '', 'Title' => 'SightSeeing', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
"MOD20" => array('moduleName' => 'build-your-own', 'ControllerName' => 'index', 'Title' => 'Build Your Own', 'url' => '', 'isDisplay' => 0, 'order' => 1, 'Type' => 1, 'Category' => 0),
);
//update TB_Agency_UserRole_Permission set IsActive = 1 where val IN ('MOD19','MOD20','MOD17','MOD16')
define('MODULENAME', serialize($mainCategory));
define('MODULENAMEINSERT', serialize($mainCategoryInsert));
$forUserData = array("MOD22,OM01");
//$forUserData = array("SET07");
define('REMOVEPERMISSIONFROMUSER', serialize($forUserData));
define('PACKAGE_TYPE', serialize(
[
'1' => 'Monthly',
'3' => 'Quarterly',
'6' => 'Half Yearly',
'12' => 'Annual',
'13' => 'Pay as Per Uses',
]
));
define('RAZORPAY_BILLING_CYCLE', serialize(
[
'Monthly' => 'Monthly',
'Quarterly' => 'Quarterly',
'Half Yearly' => 'Half Yearly',
'Anual' => 'Annual',
]
));
define('ACTIVE_BUTNOTACTIVE_PERIOD', serialize(
[
'7' => '7 Days',
'15' => '15 Days',
'1' => '1 Month',
]
));
define('CRUISEROOMTYPE', serialize(
[
'1' => 'Inside',
'2' => 'Ocean View',
'3' => 'Balcony',
'4' => 'Mini-Suites',
'5' => 'Suites',
]
));