315 lines
12 KiB
PHP
Executable File
315 lines
12 KiB
PHP
Executable File
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
/*
|
|
| -------------------------------------------------------------------------
|
|
| URI ROUTING
|
|
| -------------------------------------------------------------------------
|
|
| This file lets you re-map URI requests to specific controller functions.
|
|
|
|
|
| Typically there is a one-to-one relationship between a URL string
|
|
| and its corresponding controller class/method. The segments in a
|
|
| URL normally follow this pattern:
|
|
|
|
|
| example.com/class/method/id/
|
|
|
|
|
| In some instances, however, you may want to remap this relationship
|
|
| so that a different class/function is called than the one
|
|
| corresponding to the URL.
|
|
|
|
|
| Please see the user guide for complete details:
|
|
|
|
|
| http://codeigniter.com/user_guide/general/routing.html
|
|
|
|
|
| -------------------------------------------------------------------------
|
|
| RESERVED ROUTES
|
|
| -------------------------------------------------------------------------
|
|
|
|
|
| There area two reserved routes:
|
|
|
|
|
| $route['default_controller'] = 'welcome';
|
|
|
|
|
| This route indicates which controller class should be loaded if the
|
|
| URI contains no data. In the above example, the "welcome" class
|
|
| would be loaded.
|
|
|
|
|
| $route['404_override'] = 'errors/page_missing';
|
|
|
|
|
| This route will tell the Router what URI segments to use if those provided
|
|
| in the URL cannot be matched to a valid route.
|
|
|
|
|
*/
|
|
|
|
$route['default_controller'] = "login";
|
|
$route['404_override'] = 'error';
|
|
|
|
|
|
/***************** Resico DEFINED ROUTES *******************/
|
|
|
|
$route['loginMe'] = 'login/loginMe';
|
|
$route['dashboard'] = 'user';
|
|
$route['logout'] = 'user/logout';
|
|
$route['reports']='reportlistcontroller';
|
|
|
|
/**----------Application User Change Password Routes----------**/
|
|
$route['loadChangePass'] = "user/loadChangePass";
|
|
$route['changePassword'] = "user/changePassword";
|
|
|
|
|
|
/**-------------Application Page Not Found Routes------------**/
|
|
$route['pageNotFound'] = "user/pageNotFound";
|
|
|
|
/**--------Application Email & ForgetPassword Routes---------**/
|
|
|
|
$route['checkEmailExists'] = "user/checkEmailExists";
|
|
$route['forgotPassword'] = "login/forgotPassword";
|
|
$route['resetPasswordUser'] = "login/resetPasswordUser";//reset password without OTP
|
|
$route['resetPasswordConfirmUser'] = "login/resetPasswordConfirmUser";//reset password with OTP
|
|
// $route['resetPasswordConfirmUser/(:any)'] = "login/resetPasswordConfirmUser/$1";
|
|
// $route['resetPasswordConfirmUser/(:any)/(:any)'] = "login/resetPasswordConfirmUser/$1/$2";
|
|
// $route['createPasswordUser'] = "login/createPasswordUser";
|
|
|
|
/**-----------Application Master Details Routes -------------**/
|
|
|
|
/* --- User Routes --- */
|
|
$route['addNew'] = "user/addNew";
|
|
$route['addNewUser'] = "user/addNewUser";
|
|
|
|
$route['userListing'] = 'user/userListing';
|
|
$route['userListing/(:num)'] = "user/userListing/$1";
|
|
|
|
$route['editOld'] = "user/editOld";
|
|
$route['editUser'] = "user/editUser";
|
|
|
|
/* --- Supplier Routes --- */
|
|
$route['addsupplier'] = "supplier/addsupplier";
|
|
$route['addNewsupplier'] = "supplier/addNewsupplier";
|
|
|
|
$route['supplierListing'] = 'supplier/supplierListing';
|
|
$route['supplierListing/(:num)'] = "supplier/supplierListing/$1";
|
|
|
|
$route['editsupplier'] = "supplier/editsupplier";
|
|
|
|
/* --- Material Master Routes --- */
|
|
$route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial";
|
|
$route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial";
|
|
|
|
$route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing';
|
|
$route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1";
|
|
|
|
$route['editRawmaterial/(:num)'] = "rawmaterialdetails/editRawmaterial/$1";
|
|
$route['editRawmaterial'] = "rawmaterialdetails/editRawmaterial";
|
|
$route['editrawmaterial'] = "rawmaterialdetails/editemployee";
|
|
|
|
/* --- Cost Center Routes --- */
|
|
$route['addcost'] = "CostCenter/addCost";
|
|
$route['addNewcost'] = "CostCenter/addNewCost";
|
|
|
|
$route['costListing'] = 'CostCenter/costListing';
|
|
$route['costListing/(:num)'] = "CostCenter/costListing/$1";
|
|
|
|
$route['editOldcost'] = "CostCenter/editOldcost";
|
|
$route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1";
|
|
$route['editcost'] = "CostCenter/editcost";
|
|
|
|
/* --- Asset Detail Routes --- */
|
|
$route['assetListing'] = 'assetdetails/assetListing';
|
|
$route['assetListing/(:num)'] = "assetdetails/assetListing/$1";
|
|
|
|
$route['editOldasset'] = "assetdetails/editasset";
|
|
$route['editOldasset/(:num)'] = "assetdetails/editasset/$1";
|
|
$route['editasset'] = "assetdetails/editasset";
|
|
|
|
/* --- Employee Detail Routes --- */
|
|
$route['addemployee'] = "employeedetails/addemployee";
|
|
$route['addNewemployee'] = "employeedetils/addNewemployee";
|
|
|
|
$route['employeeListing'] = 'employeedetails/employeeListing';
|
|
$route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1";
|
|
|
|
$route['editemployee'] = "employeedetails/ViewEmployee";
|
|
|
|
/* --- Company Information --- */
|
|
$route['companyview'] = 'companycontroller/companyview';
|
|
$route['Updatecompany']='companycontroller/Updatecompany';
|
|
|
|
|
|
/* --- Config Master --- */
|
|
$route['addconfig'] = "configurationctrl/addconfig";
|
|
$route['addNewconfig'] = "configurationctrl/addNewconfig";
|
|
|
|
$route['configlisting']='configurationctrl/configlisting';
|
|
$route['configedit']='configurationctrl/configedit';
|
|
|
|
/* --- Department Master --- */
|
|
$route['departmentListing'] = 'department/departmentListing';
|
|
$route['departmentListing/(:num)'] = "department/departmentListing/$1";
|
|
|
|
$route['adddepartment'] = "department/adddepartment";
|
|
$route['addNewdepartment'] = "department/addNewdepartment";
|
|
|
|
$route['editOlddepartment'] = "department/viewdepartment";
|
|
$route['editOlddepartment/(:num)'] = "department/viewdepartment/$1";
|
|
$route['editdepartment'] = "department/editdepartment";
|
|
|
|
|
|
/**----------Application Delete Routes----------**/
|
|
|
|
$route['deleteUser'] = "user/deleteUser";
|
|
$route['deletecost'] = "CostCenter/deletecost";
|
|
|
|
|
|
/** ----------Application Payslip Routes---------------------- */
|
|
$route['monthlyListings'] = 'monthlypay/monthlyListing';
|
|
$route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1";
|
|
|
|
$route['attendance'] = 'monthlypay/attendanceLoad';
|
|
$route['publicholidays'] = 'monthlypay/loadPublicholidays';
|
|
|
|
/* -- permission slip -- */
|
|
|
|
$route['permission'] = 'monthlypay/permissionslip';
|
|
$route['permissionlist'] = 'monthlypay/permissionlist';
|
|
|
|
$route['emppayListings'] = 'emppaydate/emppayListing';
|
|
$route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1';
|
|
|
|
$route['loanreports'] = 'payslip/loadLoanReport';
|
|
$route['bonusreports'] = 'payslip/Bonusreport';
|
|
|
|
$route['monthlypay'] = "payslip/monthlyInputs";
|
|
$route['ExcelUpload2'] = "payslip/viewUpload2";
|
|
$route['FileUpload'] = "payslip/uploadExcel";
|
|
$route['FileUpload2'] = "payslip/uploadExcel2";
|
|
$route['PrintPdf'] = "payslip/PrintPdf";
|
|
$route['ViewPay'] = "payslip/viewGenerator";
|
|
$route['updatepayroll'] = "payslip/updatepayroll";
|
|
$route['BankReport'] = "payslip/loadBankreportScreen";
|
|
$route['PaysilpListing'] = "payslip/payslipLisiting";
|
|
|
|
|
|
/**----------Application Requistion Flow Routes----------**/
|
|
|
|
$route['Requisition'] = "requisitionform/requisitionlisting";
|
|
$route['RequisitionForm'] = "requisitionform/requisition";
|
|
$route['ApproveRequisition'] = "requisitionform/requisitionlistApproval";
|
|
$route['EditRequisition'] = "requisitionform/EditRequistionForm";
|
|
|
|
/**------------Application PO Flow Routes ------------**/
|
|
|
|
$route['addPO'] = "purchaseorder/addPO";
|
|
$route['addNewPO'] = "purchaseorder/addNewPO";
|
|
|
|
$route['editOldPO'] = "purchaseorder/editOldPO";
|
|
$route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1";
|
|
|
|
$route['CreatePO'] = "purchaseorder/requisition";
|
|
$route['purchaseOrder'] = "purchaseorder/CreatePurchaseOrder";
|
|
$route['purchaseorderListing'] = "purchaseorder/PurchaseOrderList";
|
|
$route['EditPO'] = "purchaseorder/EditPurchaseOrder";
|
|
$route['EditAmendPO'] = "amendmentpurchaseorder/EditAmendPurchaseOrder";
|
|
$route['EmergencyPO'] = "emergencypurchaseorder/CreateEmergencyPO";
|
|
$route['AdvanceRequest'] = "purchaseorder/advancerequest";
|
|
$route['PORelease'] = "purchaseorder/porelease";
|
|
$route['ViewPO'] = "purchaseorder/viewfullpurchaseorder";
|
|
$route['POApproval'] = "purchaseorder/poapproval";
|
|
|
|
|
|
/**--------Application Store Requisition Flow Routes----------------**/
|
|
|
|
$route['storerequisition']="storerequisitioncontroller/addstore";
|
|
$route['approvalstorerequisitionslip']="storerequisitioncontroller/SearchRequistLists";
|
|
$route['storerequisitionlisting']="storerequisitioncontroller/addstorerequisitionlist";
|
|
$route['EditStoreRequisition'] = "storerequisitioncontroller/EditStoreRequistion";
|
|
|
|
/**------------Application IGR Routes---------------**/
|
|
|
|
$route['Addigr'] = "inwardgateregister/addinwardgateregister";
|
|
$route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails";
|
|
$route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling";
|
|
|
|
/**------------Application OGR Page------------------**/
|
|
$route['AddOgr'] = "inwardgateregister/addoutwardgateregister";
|
|
$route['ViewOgr'] = "inwardgateregister/ViewOgr";
|
|
$route['EditOGR']="inwardgateregister/EditOGR";
|
|
|
|
/**------------Application MRIR Routes---------------**/
|
|
|
|
$route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport";
|
|
$route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport";
|
|
$route['Viewigr'] = "MRIRcontroller/viewinwardgateregister";
|
|
$route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList";
|
|
|
|
/**------------Application Store Routes---------------**/
|
|
|
|
$route['Stock'] = "storestatus/storeavailability";
|
|
$route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus";
|
|
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling";
|
|
|
|
/**-----------Application Cash book Routes------------------**/
|
|
|
|
$route['ViewIncomeExpense'] = "cashbook/incomeExpenseList";
|
|
//$route['addNewIncomeExpense'] = "cashbook/addNewIncomeExpenseLoad";
|
|
$route['addIncomeExpense'] = "cashbook/addIncomeExpense";
|
|
|
|
/**------------Application Stock Details---------------**/
|
|
|
|
$route['FinalProduct'] = "batchcard/FinalProductCalculation";
|
|
|
|
$route['FinalProductHistory'] = "batchcard/FinalProductHistory";
|
|
|
|
$route['FinalProductlisting'] = "batchcard/FinalProductlisting";
|
|
|
|
$route['MaterailAdjustment'] = "batchcard/MaterailAdjustment";
|
|
|
|
$route['MaterailAdjustmentlist'] = "batchcard/MaterailAdjustmentlist";
|
|
|
|
$route['EditMaterialAdjustment'] = "batchcard/EditMaterialAdjustment";
|
|
|
|
$route['MaterialHistory'] = "batchcard/material_history";
|
|
|
|
$route['EditFinalProduct'] = "batchcard/EditFinalProduct";
|
|
|
|
/**------------Application Reports Routes---------------**/
|
|
$route['reportpending'] = "report/pending_report";
|
|
$route['releasedpo'] = "report/releasedPO";
|
|
$route['openOrder'] = "report/openorderPO";
|
|
$route['TotalOrder'] = "report/TotalOrd";
|
|
$route['Report_costcenter'] = "report/ccr";
|
|
$route['Report_Material_Supplier'] = "report/MM_Supplier";
|
|
$route['Report_Material_Item'] = "report/MM_Item";
|
|
$route['Report_Material_ReceiptValue'] = "report/MM_ReceiptValue";
|
|
$route['Report_purchase'] = "report/purchase";
|
|
$route['Report_year_wise'] = "report/year_wise";
|
|
$route['Report_supplier'] = "report/purchase_supplier";
|
|
$route['Report_consolidate'] = "report/consolidate";
|
|
$route['Report_cumulative'] = "report/cumulative";
|
|
$route['cashbookreport']="report/cashbook";
|
|
$route['cashbookcumulativereport']="report/cashbook_cumulative_report";
|
|
$route['cashbookcumulativemonthreport']="report/cashbook_month_cumulative_report";
|
|
$route['cashbookmonthlyexpenses']="report/monthexpenses";
|
|
$route['cashbookyearlyexpenses']="report/yearexpenses";
|
|
$route['Report_purchase_inward'] = "report/ipurchase";
|
|
$route['Report_year_wise_inward'] = "report/iyear_wise";
|
|
$route['Report_supplier_inward'] = "report/ipurchase_supplier";
|
|
$route['Report_consolidate_inward'] = "report/iconsolidate";
|
|
$route['Report_cumulative_inward'] = "report/icumulative";
|
|
$route['Report_cumulative_raw'] = "report/rawi_cumulative";
|
|
$route['Report_consolidate_category'] = "report/rawi_consolidate";
|
|
$route['Report_pending_purchase'] = "report/pending_purchase";
|
|
$route['Report_purchase_attach'] = "report/iattach";
|
|
$route['Report_monthly_gst'] = "report/monthly_gst";
|
|
$route['Report_Material_inward_Register'] ="user/getMaterialInwardRegister";
|
|
$route['DeliveryPerformance']="user/deliver_perform";
|
|
|
|
$route['Empperform']="report/per";
|
|
|
|
/** -- others -- **/
|
|
|
|
$route['qualityreportlist'] = "quality/reportList";
|
|
$route['qualityreportlistinward'] = "quality/reportListInward";
|
|
|
|
|
|
/* End of file routes.php */
|
|
/* Location: ./application/config/routes.php */
|
|
|
|
|