<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'welcome';

$route['404_override'] = 'welcome/not_found';

$route['translate_uri_dashes'] = FALSE;
$route['login'] = 'welcome';
$route['business_switch'] = 'welcome/business_switch';

$route['users_list'] = 'user_controller/users_list';
$route['sh_users_list'] = 'sh_controller/sh_users_list';

$route['shadow'] = 'sh_controller/shadow_invoices';
$route['sequenced_invoice_report'] = 'sh_controller/sequenced_invoice_report';

$route['user_profile'] = 'user_controller/user_profile';
$route['userimage'] = 'user_controller/user_image';
$route['logout'] = 'user_controller/logout';
$route['dashboard'] = 'welcome/dashboard';
$route['sh_dashboard'] = 'sh_controller/sh_dashboard';
$route['servicesdashboard'] = 'servicesdashboard_controller/servicesdashboard';
$route['retaildashboard'] = 'retaildashboard_controller/retaildashboard';
$route['todaydashboard'] = 'today_dashboard_controller/index';
$route['sh_todaydashboard'] = 'sh_controller/todaydashboard';
$route['salesdashboard'] = 'salesdashboard_controller/index';

$route['hodashboard'] = 'hodashboard_controller/index';

$route['attendancesheet'] = 'attendance_controller/index';
$route['yearlyattendance'] = 'attendance_controller/yearly_staff_attendance';

$route['calculatemonthstaffpayment'] = 'staff_controller/staff_payment_calculator';
$route['staff_month_payables/(:num)/(:num)/(:num)'] = 'staff_controller/business_staff_payables/$1/$2/$3';
$route['staff_month_attendance_all/(:num)/(:num)/(:num)'] = 'staff_controller/staff_month_attendance_detail/$1/$2/$3';
$route['staff_month_attendance_single/(:num)/(:num)/(:num)'] = 'staff_controller/staff_month_attendance_single/$1/$2/$3';
$route['staff_month_commission_all/(:num)/(:num)/(:num)'] = 'staff_controller/staff_month_commission_detail/$1/$2/$3';
$route['staff_month_commission_single/(:num)/(:num)/(:num)'] = 'staff_controller/staff_month_commission_detail/$1/$2/$3';

$route['view_staff_attendance_single/(:num)/(:num)/(:num)'] = 'staff_controller/view_staff_attendance_single/$1/$2/$3';
$route['view_staff_commission_single/(:num)/(:num)/(:num)'] = 'staff_controller/view_staff_commission_single/$1/$2/$3';
$route['view_retail_staff_commission_single/(:num)/(:num)/(:num)'] = 'staff_controller/view_retail_staff_commission_single/$1/$2/$3';

$route['staff_payables_receivables/(:num)'] = 'staff_controller/staff_payables_receivables/$1';
$route['view_staff_payables_receivables/(:num)']= 'staff_controller/view_staff_payables_receivables/$1';
$route['payable_approval_sheet/(:num)'] = 'staff_controller/payable_approval_sheet/$1';

$route['staff_payment']= 'staff_controller/staff_payment';
$route['paymentslips']= 'staff_controller/paymentslips';

$route['programsdashboard'] = 'program_dashboard_controller/index';
$route['gymdashboard'] = 'gym_dashboard_controller/index';
$route['trainingdashboard'] = 'training_dashboard_controller/index';
$route['program_invoice_report'] = 'program_dashboard_controller/program_invoice_report';


$route['daily_summary'] = 'dailysummary_controller/index';

$route['pos_view'] = 'pos_controller/index';
$route['sh_pos_view'] = 'sh_controller/sh_pos_view';
$route['pos_services_view'] = 'pos_controller/pos_services';
$route['sh_pos_services_view'] = 'sh_controller/sh_pos_services';

$route['pos_services_ss'] = 'pos_controller/pos_services_ss';
$route['pos_cancel_visit'] = 'pos_controller/cancelvisit';

$route['reception'] = 'welcome/reception';
$route['scheduler'] = 'welcome/scheduler';
$route['sh_scheduler'] = 'sh_controller/sh_scheduler';
$route['scheduler/(:any)'] = 'welcome/scheduler/$1';
$route['scheduler_view_only'] = 'welcome/scheduler_view_only';


$route['floormanagement'] = 'floor_controller/floor_management';
$route['floormanagement/(:any)'] = 'floor_controller/floor_management/$1';
$route['floorlist'] = 'floor_controller/floor_list';

$route['cities'] = 'cities_controller/cities_list';
$route['city_areas/(:num)'] = 'cities_controller/city_areas/$1';


$route['open_new_invoice'] = 'invoice_controller/open_new_invoice';
$route['new_return_invoice'] = 'returninvoice_controller/new_return_invoice';
$route['getimsjson'] = 'imsfiscal_controller/getimsjson';
$route['getimsjson_r'] = 'imsfiscal_controller/getimsjson_r';

$route['period_booking'] = 'welcome/period_booking';
$route['sh_period_booking'] = 'sh_controller/period_booking';

$route['print_booking/(:num)'] = 'invoice_controller/print_booking/$1';
$route['attendance'] = 'staff_controller/day_attendance';
$route['attendance_qr'] = 'attendance_controller/attendance_qr';

$route['attendance_requests'] = 'attendance_controller/attendance_requests';

$route['mark_leaves'] = 'attendance_controller/mark_leaves';
$route['mark_holidays'] = 'attendance_controller/mark_holidays';

$route['leave_applications'] = 'attendance_controller/leave_applications';
$route['loan_applications'] = 'attendance_controller/open_loan_applications';



$route['open_order_invoice'] = 'invoice_controller/open_order_invoice';
$route['todayinvoices'] = 'invoice_controller/todayinvoices';
$route['sh_todayinvoices'] = 'sh_controller/sh_todayinvoices';

$route['todayvouchers'] = 'voucher_controller/todayvouchers';


//$route['appointments/(:any)'] = 'invoice_controller/appointments/$1';
$route['appointments'] = 'appointment_controller/appointments';
$route['sh_appointments'] = 'sh_controller/appointments';
$route['appointment_list'] = 'appointment_controller/appointment_list';


$route['bookings'] = 'appointment_controller/bookings';
$route['sh_bookings'] = 'sh_controller/bookings';
$route['duplicate_booking/(:num)/(:num)'] = 'bookings_controller/duplicate_booking/$1/$2';
$route['duplicate_booking'] = 'bookings_controller/duplicate_booking';

$route['staffperformance'] = 'appointment_controller/staffperformance';

$route['package_invoices'] = 'invoice_controller/package_invoices_list';
$route['open_package_invoice'] = 'invoice_controller/open_package_invoice';

$route['recoveryinvoices'] = 'invoice_controller/recoveryinvoices';
$route['sh_recoveryinvoices'] = 'sh_controller/sh_recoveryinvoices';

$route['existinginvoice/(:num)'] = 'invoice_controller/openinvoice/$1';

$route['newvoucher/(:num)'] = 'voucher_controller/newvoucher/$1';

$route['viewvoucher/(:num)'] = 'scheduler_controller/openvoucher/$1';
$route['abandonedcarts'] = 'Order_controller/abandonedcarts';

$route['product_orders'] = 'Order_controller/product_orders';

$route['daily_expenses'] = 'expense_controller/daily_expense_list';
$route['daily_expense_listcreate'] = 'expense_controller/daily_expense_listcreate';

$route['sh_daily_expenses'] = 'sh_controller/daily_expense_list';

$route['open_recovery_invoice/(:num)/(:num)'] = 'invoice_controller/open_recovery_invoice/$1/$2';
$route['open_recovery_order_invoice/(:num)/(:num)'] = 'invoice_controller/open_recovery_order_invoice/$1/$2';

$route['cashregister/(:any)'] = 'invoice_controller/open_cash_register/$1';

$route['existingorderinvoice/(:num)'] = 'invoice_controller/openorderinvoice/$1';
///Settings///

$route['business_stores']= 'store_controller/business_stores';

$route['service_categories/(:num)']= 'service_controller/set_service_categories/$1';

$route['services/(:num)']= 'service_controller/set_services/$1';
$route['service_department']= 'servicedepartment_controller';
$route['service_compare']= 'service_controller/compare_services';

$route['service_list']= 'service_controller/set_service_list';
$route['business_brands']= 'product_controller/set_business_brands';

$route['products']= 'product_controller/set_products';


$route['batches/(:num)']= 'product_controller/batches/$1';
$route['storebatches']= 'product_controller/batches';
$route['storeproductbatches/(:num)/(:num)']= 'product_controller/batches/$1/$2';

$route['product_list/(:any)/(:any)']= 'product_controller/set_product_list/$1/$2';
$route['product_store_list']= 'product_controller/set_product_list';
$route['all_products']= 'product_controller/all_product_list';
$route['sh_all_products']= 'sh_controller/sh_all_product_list';


$route['product_kits']= 'productkits_controller/product_kits';

$route['supplier_list'] = 'supplier_controller/supplier_list';

$route['supplier'] = 'supplier_controller/supplier';
$route['customer_list'] = 'customer_controller/customer_list';
$route['staff_list'] = 'staff_controller/staff_list';

$route['staff_account/(:num)'] = 'staff_controller/staff_account/$1';


$route['franchises'] = 'franchise_controller/franchises';
//Reports

$route['reports'] = 'report_controller/reports';
$route['sh_reports'] = 'sh_controller/sh_reports';

$route['discount_config'] = 'discount_controller/discount_config';
$route['coupon_category'] = 'coupon_controller/coupon_category';
$route['edit_category/(:num)'] = 'coupon_controller/edit_category/$1';

$route['business_timing'] = 'welcome/business_timing';
$route['staffimage'] = 'staff_controller/image_staff';
//$route['appointments'] = 'appointment_controller/get_appointments';
$route['categoryimage'] = 'service_controller/category_image';
$route['color_types'] = 'colors_controller/color_type_list';
$route['color_number'] = 'colors_controller/color_number';

$route['business'] = 'business_controller/business_view';
$route['business/logo/update'] = 'business_controller/business_logo_update';

$route['business/tax'] = 'business_controller/business_tax_view';

$route['staff_status'] = 'staff_controller/staff_status';

$route['voucher_list'] = 'voucher_controller/voucher_list';
$route['delete_voucher'] = 'voucher_controller/delete_voucher';

$route['customer_history/(:num)'] = 'customer_controller/customer_history/$1';
$route['sales'] = 'sales_controller/salesreport';

$route['customer_previous_visit/(:num)'] = 'customer_controller/customer_previous_visit/$1';
$route['sh_customer_previous_visit/(:num)'] = 'sh_controller/customer_previous_visit/$1';

$route['staff_sale'] = 'sales_controller/staff_sale';
$route['retail_charts'] = 'sales_controller/retail_charts';
$route['service_charts'] = 'sales_controller/service_charts';

$route['color_records'] = 'colors_controller/color_record_list';

$route['servicetypes'] = 'service_controller/set_service_type';
$route['servicetypeimage'] = 'service_controller/service_type_image';

$route['facial_records'] = 'service_controller/facial_record_list';

$route['eyelashes_records'] = 'eyelashes_controller/eyelashes_record_list';

$route['purchase_orders'] = 'purchaseorder_controller/purchase_order_list';
$route['purchase_order_details/(:num)'] = 'purchaseorder_controller/purchase_order_detail_get/$1';
$route['grn_list/(:num)'] = 'purchaseorder_controller/grn_list_view/$1';


$route['good_recieved_note/(:num)'] = 'purchaseorder_controller/grn_view/$1';
$route['good_recieved_print/(:num)'] = 'purchaseorder_controller/grn_print/$1';
$route['good_return_note/(:num)']= 'purchaseorder_controller/return_view/$1';

$route['transfer'] = 'transfernotes_controller/transfer_note_list';

$route['adjustments'] = 'product_controller/getadjustmentnotes';
$route['batchadjustments'] = 'product_controller/getbatchadjustmentnotes';
$route['receiving_notes'] = 'purchaseorder_controller/get_receiving_notes';
$route['return_notes'] = 'purchaseorder_controller/get_return_notes';

$route['time_block_reason'] = 'welcome/time_block_reason';

$route['loyalty_services'] = 'loyaltyservices_controller/loyaltyservices_view';

$route['unit_list'] = 'unit_controller/unit_list';

$route['package/types'] = 'packages_controller/list_package_types';
$route['package/type/image'] = 'packages_controller/package_type_image';
$route['package/category/(:num)'] = 'packages_controller/list_package_category/$1';
$route['package/category/image'] = 'packages_controller/package_category_image';

$route['package/service/(:num)'] = 'packages_controller/list_package_service/$1';

$route['dispatch']= 'dispatch_controller/dispatch_list_view';
$route['dispatch_requests']= 'dispatch_controller/dispatch_requests_view';
$route['dispatch_request/(:num)']= 'dispatch_controller/dispatch_requests_view/$1';
$route['add_dispatch_request/(:num)']= 'dispatch_controller/add_dispatch_request/$1';

$route['dispatch_note_print/(:num)/(:num)']= 'dispatch_controller/dispatch_note_print/$1/$2';

$route['service/chart']= 'sales_controller/service_chart_view';

$route['service_loyalty']= 'loyalty_controller/service_loyatly';

$route['smssender']= 'sms_controller/smssender';
$route['smslog']= 'sms_controller/smslog';



//$route['mobile']= 'Mobileapp_controller/login';

$route['pricelist']= 'service_controller/pricelist';
$route['sh_pricelist']= 'sh_controller/sh_pricelist';
$route['openvisits']= 'visits_controller/open_visits';
$route['open_sms_sender']= 'sms_controller/open_sms_sender';

$route['scheduled_tasks']= 'scheduled_tasks_controller/scheduled_tasks';

$route['test_tasks']= 'tools/get_scheduled_tasks';
$route['hikvision_post']= 'tools/hikvision_callback';
$route['update_mexyon_receipts']= 'tools/update_mexyon_receipts';


/*---------Accounting----------*/

$route['coa']= 'accounting_controller/mainaccounts';
$route['control_accounts/(:num)']= 'accounting_controller/controlaccounts/$1';
$route['sub_control_accounts/(:num)/(:num)']= 'accounting_controller/subcontrolaccounts/$1/$2';
$route['account_heads/(:num)/(:num)/(:num)']= 'accounting_controller/account_heads/$1/$2/$3';

$route['account_vouchers']= 'accounting_controller/account_vouchers';
$route['account_vouchers_ref']= 'accounting_controller/account_vouchers_ref';
$route['print_voucher/(:num)'] = 'accounting_controller/print_voucher/$1';
$route['accountvoucheredit/(:num)'] = 'accounting_controller/accountvoucheredit/$1';

$route['transferretained/(:num)'] = 'accounting_controller/transferretained/$1';

$route['payments']= 'accounting_controller/payments';
$route['supplier_payment/(:num)']= 'accounting_controller/supplier_payment/$1';
$route['statement']= 'accounting_controller/statement';
$route['general_ledger']= 'accounting_controller/general_ledger';
$route['trial_balance']= 'accounting_controller/trial_balance';
$route['trial_movement']= 'accounting_controller/trial_movement';
$route['balacne_sheet']= 'accounting_controller/balacne_sheet';
$route['profit_loss']= 'accounting_controller/profit_loss';
$route['ho_profit_loss']= 'accounting_controller/ho_pnl';

$route['insert_po_payment']= 'accounting_controller/insert_po_payment';

$route['cashregister_listing']= 'accounting_controller/cashregister_listing';

$route['franchise_orders']= 'franchise_controller/franchise_orders';
$route['new_order_invoice']= 'franchise_controller/new_order_invoice';
$route['franchise_aging']= 'franchise_controller/franchise_aging_report';
$route['product_wise_sale']= 'franchise_controller/product_wise_sale';


$route['custom_invoices']= 'invoice_controller/custom_invoices';
$route['custom_payments']= 'accounting_controller/custom_payments';

$route['account_reports']= 'accountreports_controller/account_reports';
$route['account_salestaxreport']= 'accountreports_controller/salestaxreport';
$route['vendor_account_report']= 'accountreports_controller/vendor_account_report';
$route['payable_aging_report']= 'accountreports_controller/payable_aging_report';
$route['receivable_aging_report']= 'accountreports_controller/receivable_aging_report';


$route['mobile']= 'Mobileapp_controller/login';
$route['staffapp']= 'Staffapp_controller/login';
//$route['staffapp']= 'Staffapp/login';

$route['staffappnotif/(:num)']= 'Notification_controller/sendStaffNotif/$1';
$route['test_staffnoti']= 'Notification_controller/sendNotifications';




/*--------Super User --------------*/

$route['super_invoices']= 'superuser_controller/supervise_invoices';
$route['super_edit_invoice']= 'superuser_controller/open_edit_invoice';

$route['super_visits']= 'superuser_controller/supervise_visits';
$route['super_edit_visit']= 'superuser_controller/open_edit_visit';

$route['super_account_mapping']= 'superuser_controller/account_mapping';

$route['addmapping/(:num)']= 'superuser_controller/add_event_mapping/$1';
$route['editmapping/(:num)']= 'superuser_controller/edit_event_mapping/$1';

$route['updateeventmapping']='superuser_controller/update_event_mapping';

$route['supervise_setting']='superuser_controller/supervise_setting';
$route['supervise_business_setup']='superuser_controller/supervise_business_setup';
$route['supervise_hrm_setup']='superuser_controller/supervise_hrm_setup';

/*----------Fixes --------------------*/
$route['fixes']= 'fixes_controller/index';
$route['fixes/staffservices']= 'fixes_controller/fix_staff_services';
$route['fixes/businessyearsales']= 'fixes_controller/fix_business_year_sales';

$route['customer_merge']= 'customer_controller/open_merge_customer';


/*------------Gym------------------*/
$route['gymsearch']= 'gym_controller/gymsearch';
$route['gymregister/(:num)']= 'gym_controller/gymregister/$1';

/*------------Trainings------------------*/
$route['trainingsearch']= 'training_controller/trainingsearch';
$route['trainingregister/(:num)']= 'training_controller/trainingregister/$1';

/*------------Recurring Payments------------------*/
$route['recurringsearch']= 'recurring_controller/recurringsearch';
$route['recurringregister/(:num)']= 'recurring_controller/recurringregister/$1';

/*------------Coaching Payments------------------*/
$route['coachingsearch/(:any)']= 'coaching_controller/coachingsearch/$1';
$route['coachingregister/(:num)/(:any)']= 'coaching_controller/coachingregister/$1/$2';
$route['coaching_register_edit/(:num)']= 'coaching_controller/coachingregisteredit/$1';
$route['service_invoice/(:num)'] = 'coaching_controller/open_receivable_invoices/$1';
$route['open_receivable_invoices/(:num)']= 'coaching_controller/open_receivable_invoices/$1';
$route['add_receivable_invoices_payment']= 'coaching_controller/add_receivable_invoices_payment';
$route['print_pending_invoices/(:num)']= 'coaching_controller/print_pending_invoices/$1';
$route['print_all_invoices/(:num)']= 'coaching_controller/print_all_invoices/$1';
$route['invoice_payments_on_each_invoice/(:any)/(:num)']='coaching_controller/invoice_payments_on_each_invoice/$1/$2';
$route['print_coaching_enrollment/(:num)']= 'coaching_controller/print_coaching_enrollment/$1';
$route['print_coaching_invoice/(:num)']= 'coaching_controller/print_coaching_invoice/$1'; 
$route['cancel_program_invoice_payment']= 'coaching_controller/cancel_program_invoice_payment'; 

$route['coaching_members/(:any)']= 'coaching_controller/coaching_members/$1';
$route['coaching_prospect_students/(:any)']= 'coaching_controller/coaching_prospect_students/$1';
$route['coaching_group_attendance_report/(:any)']= 'coaching_controller/coaching_group_attendance_report/$1';
$route['coaching_group_mark_student_attendance/(:any)']= 'coaching_controller/coaching_group_mark_student_attendance/$1';
$route['coaching_group_mark_student_attendance_mark_in']= 'coaching_controller/coaching_group_mark_student_attendance_mark_in';
$route['coaching_group_mark_student_attendance_cancel']= 'coaching_controller/coaching_group_mark_student_attendance_cancel';
$route['getting_groups_by_staff_id']= 'coaching_controller/getting_groups_by_staff_id'; 
$route['getting_groups_for_monthly_attendance_report']= 'coaching_controller/getting_groups_for_monthly_attendance_report'; 

$route['coaching_invoice_list/(:num)']= 'coaching_controller/coaching_invoice_list/$1';
$route['coaching_service_provisioning/(:num)/(:num)/(:num)/(:num)'] = 'coaching_controller/coaching_service_provisioning/$1/$2/$3/$4';
$route['coaching_group_scheduling/(:num)/(:num)/(:num)']= 'coaching_controller/coaching_group_scheduling/$1/$2/$3';
$route['add_coaching_invoice/(:num)']= 'coaching_controller/add_coaching_invoice/$1';
$route['cancle_coaching_invoice/(:num)']= 'coaching_controller/cancle_couching_invoice/$1';
$route['coach_schedule/(:any)/(:num)']='coaching_controller/coach_schedule/$1/$2';
$route['print_coach_schedule/(:any)/(:num)']='coaching_controller/print_coach_schedule/$1/$2';
$route['print_student_schedule/(:any)/(:num)']='coaching_controller/print_student_schedule/$1/$2';
$route['print_advance_note/(:any)']='coaching_controller/print_advance_note/$1';
$route['coaching_groups']= 'coaching_controller/coaching_groups'; 
$route['coaching_group_members/(:num)']= 'coaching_controller/coaching_group_members/$1';
$route['monthly_student_attendance_report']= 'coaching_controller/monthly_student_attendance_report'; 
  
/*------------Programs Certificate  Route  ------------*/ 
$route['program_completion_certificate/(:num)/(:num)/(:num)/(:num)'] = 'coaching_controller/program_completion_certificate/$1/$2/$3/$4';

/*----------PROGRAMS --------*/
$route['programs/(:num)']= 'programs_controller/programs/$1';
$route['programadd/(:num)']='programs_controller/programadd/$1';
$route['programedit/(:num)']='programs_controller/programedit/$1';

$route['programsession/(:num)']= 'programs_controller/programsession/$1';
$route['programsessionadd/(:num)']= 'programs_controller/programsessionadd/$1';
$route['programsessionedit/(:num)']= 'programs_controller/programsessionedit/$1';

$route['programsessionclasses/(:num)']= 'programs_controller/programsessionclasses/$1';
$route['programsessionclassadd/(:num)']= 'programs_controller/programsessionclassadd/$1';
$route['programsessionclassedit/(:num)']= 'programs_controller/programsessionclassedit/$1';

$route['programsessionserviceadd/(:num)']= 'programs_controller/programsessionserviceadd/$1';
$route['programsessionserviceedit/(:num)']= 'programs_controller/programsessionserviceedit/$1';

$route['print_enrollment/(:num)']= 'programs_controller/print_enrollment/$1';
$route['print_program_invoice/(:num)']= 'programs_controller/print_invoice/$1';

$route['print_due_invoice/(:num)']= 'programs_controller/print_due_invoice/$1';


$route['program_add_payment/(:num)']= 'programs_controller/add_payment/$1';
$route['program_members/(:any)']= 'programs_controller/program_members/$1';
$route['program_members']= 'programs_controller/program_members';



$route['recurring_register_edit/(:num)']= 'recurring_controller/recurringedit/$1';
$route['training_register_edit/(:num)']= 'training_controller/trainingregisteredit/$1';
$route['program_service_provisioning/(:num)']= 'programs_controller/program_service_provisioning/$1';

$route['program_invoices/(:num)']= 'programs_controller/program_invoices/$1';
$route['program_invoice_add/(:num)']= 'programs_controller/program_invoice_add/$1';



/*------------Marketing Report------------*/
$route['marketing'] = 'marketing_controller/index';
$route['marketing-summary'] = 'marketing_controller/marketing_summary';
$route['monthly_staff_service_count'] = 'marketing_controller/staff_day_wise_service_count';


$route['petty-cash-report'] = 'marketing_controller/pettycashresport';
$route['retail-transaction'] = 'marketing_controller/retailTransaction';
$route['retail-transaction-by-item'] = 'marketing_controller/retailTransactionByItem';
$route['service-by-item'] = 'marketing_controller/serviceByItem';
$route['service-by-staff'] = 'marketing_controller/serviceByStaff';
$route['repeatedcustomers'] = 'marketing_controller/repeated_customer_category';
$route['service_lapse'] = 'marketing_controller/service_lapse';

$route['staff_performance'] = 'marketing_controller/staff_performance_report';
$route['customer_loyalty'] = 'marketing_controller/customer_loyalty';

$route['checkcustomerstaffhistory/(:num)/(:num)'] = 'marketing_controller/customer_staff_history/$1/$2';



/*------------New Reports by dupilex------------*/
$route['daily-sheet-by-category'] = 'marketing_controller/daily_sheet_by_category';
$route['daily-sheet-summary'] = 'marketing_controller/daily_sheet_summary';


/*-----------Head Office -----------------------*/
$route['ho_view'] = 'ho_controller/index';
$route['ho_booking_list'] = 'ho_controller/period_booking_list';
$route['ho_booking_report'] = 'ho_controller/period_booking_report';

$route['ho_booking'] = 'ho_controller/period_booking';
$route['ho_print_booking/(:num)'] = 'ho_controller/print_booking/$1';
$route['ho_package_types'] = 'ho_controller/list_package_types';
$route['ho_package_types/image'] = 'ho_controller/package_type_image';

$route['ho_list_package_category/(:num)'] = 'ho_controller/list_package_category/$1';
$route['ho_list_package_category/image'] = 'ho_controller/package_category_image';

$route['ho_list_package_services/(:num)'] = 'ho_controller/ho_list_package_services/$1';
$route['ho_list_package_services/image'] = 'ho_controller/ho_package_service_image';


/*-------------Feed Back-----------------------*/
$route['feedback/(:any)/(:any)/(:any)']='feedback_controller/index/$1/$2/$3';
$route['feedback_form/(:num)']='feedback_controller/feedback_form/$1';
$route['short_feedback_form/(:num)']='feedback_controller/short_feedback_form/$1';

$route['feedbackdash']='feedback_controller/feedbackdash';
$route['feedback_listing']='feedback_controller/feedback_listing';



/*--------------PDS-------------------------*/
$route['pds']='pds_controller/pds_dashboard';
$route['pds_scheduler']='pds_controller/pds_scheduler';
$route['pds_properties']='pds_controller/pds_properties';
$route['pds_item_types']='pds_controller/pds_item_types';
$route['pds_items']='pds_controller/pds_items';
$route['pds_stores']='pds_controller/pds_stores';
$route['pds_staff_list']='pds_controller/pds_staff_list';

$route['pds_booking']='pds_controller/pds_booking';

/*------------IMS-------------------------*/
$route['ims_unposted_invoices']='imsfiscal_controller/ims_unposted_invoices';


$route['bookAppointment'] = 'api_controller/book_appointment';



/*--------Self Service -----------------*/
$route['menu'] = 'selfservice_controller/menu';


/*------Restaurant ---------------------*/
$route['restaurant_pos'] = 'restaurant_controller/restaurant_pos';


$route['incentivizer'] = 'incentivizer_controller/incentive_calculator';
$route['incentive_report_product'] = 'incentivizer_controller/incentive_report_product';
$route['incentive_report_service'] = 'incentivizer_controller/incentive_report_service';

$route['open_order_invoice_for_pos'] = 'invoice_controller/open_order_invoice_for_pos';
$route['open_order_invoice_for_print_pos_bill'] = 'invoice_controller/open_order_invoice_for_print_pos_bill';
$route['open_recovery_order_invoice_for_pos/(:num)/(:num)'] = 'invoice_controller/open_recovery_order_invoice_for_pos/$1/$2';
$route['existingorderinvoice_for_pos/(:num)'] = 'invoice_controller/openorderinvoice_for_pos/$1';


/*--------HO Dashboard-------------*/
$route['ho_dashboard'] = 'ho_controller/ho_dashboard';




/*---------Branch <Requistion--------*/
$route['branch_requisitions'] = 'requisition_controller/branch_requisition_list';
$route['branch_requisition/(:num)'] = 'requisition_controller/branch_requisition/$1';
$route['product_requisitions/(:num)'] = 'requisition_controller/product_requisitions/$1';

$route['add_requisition'] = 'requisition_controller/open_add_requisition';
$route['add_requisition/(:num)'] = 'requisition_controller/open_add_requisition/$1';


/*---------Consent Forms--------*/
$route['opensigview'] = 'concent_controller/opensigview';
$route['concentformlist/(:num)'] = 'concent_controller/open_concent_list/$1';
$route['concentform/(:num)/(:num)'] = 'concent_controller/open_concent_form/$1/$2';
$route['signedconcent/(:num)/(:num)'] = 'concent_controller/signedconcent/$1/$2';

$route['createformjson'] = 'concent_controller/createformjson';
$route['createformjson/(:num)'] = 'concent_controller/createformjson/$1';
 
$route['duplicate_package'] = 'tools/openduplicatepackage';



// =======> Product images  <======== 
$route['addproductimage/(:num)']= 'product_controller/add_product_images/$1';
$route['product_categories']= 'product_controller/product_categories';
$route['storeproductimages']= 'product_controller/store_product_images';
$route['start_advertisement/(:any)/(:num)']= 'product_controller/start_advertisement/$1/$2';  


// ========> new route jun-14-2024 start  <=======


/*-----------Work Orders ---------------------*/
$route['workorderlist']= 'workorder_controller/workorderlist';
$route['workorder_items/(:num)']= 'workorder_controller/open_workorder_items/$1';


/*------------Customer Notes-------*/
$route['customer_notes/(:num)']= 'customernotes_controller/index/$1';
$route['clinical-form/(:num)'] = 'clinical_controller/clinic_form/$1';
$route['customer_notes_list']= 'customernotes_controller/customer_notes_list';


/*------------Whats App routers-------*/
$route['wa_log'] = 'wa_controller/wa_log';
