bank book-bala

This commit is contained in:
venbatechnologies@gmail.com 2018-09-20 12:57:35 +05:30
parent c571d6a19f
commit f0380c03bd
8 changed files with 6311 additions and 4956 deletions

727
application/config/routes.php Executable file → Normal file
View File

@ -1,363 +1,364 @@
<?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';
/*********** Siddharth DEFINED ROUTES *******************/
$route['loginMe'] = 'login/loginMe';
$route['dashboard'] = 'user';
$route['logout'] = 'user/logout';
$route['reports']='reportlistcontroller';
//<-----------Application listing Routes------------>
$route['userListing'] = 'user/userListing';
$route['userListing/(:num)'] = "user/userListing/$1";
//$route['purchaseorderListing'] = 'purchaseorder/purchaseorderListing';
//$route['purchaseorderListing/(:num)'] = "purchaseorder/purchaseorderListing/$1";
$route['supplierListing'] = 'supplier/supplierListing';
$route['supplierListing/(:num)'] = "supplier/supplierListing/$1";
$route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing';
$route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1";
$route['costListing'] = 'CostCenter/costListing';
$route['costListing/(:num)'] = "CostCenter/costListing/$1";
$route['assetListing'] = 'assetdetails/assetListing';
$route['assetListing/(:num)'] = "assetdetails/assetListing/$1";
$route['employeeListing'] = 'employeedetails/employeeListing';
$route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1";
$route['monthlyListings'] = 'monthlypay/monthlyListing';
$route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1";
$route['emppayListings'] = 'emppaydate/emppayListing';
$route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1';
$route['attendance'] = 'monthlypay/attendanceLoad';
$route['publicholidays'] = 'monthlypay/loadPublicholidays';
$route['loanreports'] = 'payslip/loadLoanReport';
$route['bonusreports'] = 'payslip/Bonusreport';
// permission slip//
$route['permission'] = 'monthlypay/permissionslip';
$route['permissionlist'] = 'monthlypay/permissionlist';
//<-----------Application Add Routes------------>
$route['addNew'] = "user/addNew";
$route['addNewUser'] = "user/addNewUser";
$route['addPO'] = "purchaseorder/addPO";
$route['addNewPO'] = "purchaseorder/addNewPO";
$route['addsupplier'] = "supplier/addsupplier";
$route['addNewsupplier'] = "supplier/addNewsupplier";
$route['addcost'] = "CostCenter/addCost";
$route['addNewcost'] = "CostCenter/addNewCost";
$route['addasset'] = "assetdetails/addasset";
$route['addNewasset'] = "assetdetails/addNewasset";
$route['addemployee'] = "employeedetails/addemployee";
$route['addNewemployee'] = "employeedetils/addNewemployee";
$route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial";
$route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial";
//<-----------Application Edit Routes------------>
$route['editOld'] = "user/editOld";
$route['editOld/(:num)'] = "user/editOld/$1";
$route['editUser'] = "user/editUser";
$route['editOldPO'] = "purchaseorder/editOldPO";
$route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1";
//$route['editPO'] = "purchaseorder/editPO";
$route['editOldsupplier'] = "supplier/editOldsupplier";
$route['editOldsupplier/(:num)'] = "supplier/editOldsupplier/$1";
$route['editsupplier'] = "supplier/editsupplier";
$route['editOldcost'] = "CostCenter/editOldcost";
$route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1";
$route['editcost'] = "CostCenter/editcost";
$route['editOldasset'] = "assetdetails/editOldasset";
$route['editOldasset/(:num)'] = "assetdetails/editOldasset/$1";
$route['editasset'] = "assetdetails/editasset";
$route['editOldemployee'] = "employeedetails/editOldemployee";
$route['editOldemployee/(:num)'] = "employeedetails/editOldemployee/$1";
$route['editemployee'] = "employeedetils/editemployee";
$route['editOldRawmaterial/(:num)'] = "rawmaterialdetails/editOldRawmaterial/$1";
$route['editOldRawmaterial'] = "rawmaterialdetails/editOldRawmaterial";
$route['editrawmaterial'] = "rawmaterialdetails/editemployee";
//<-----------Application Delete Routes------------>
$route['deleteUser'] = "user/deleteUser";
$route['deletecost'] = "CostCenter/deletecost";
//<-----------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['checkEmailExists'] = "user/checkEmailExists";
$route['forgotPassword'] = "login/forgotPassword";
$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";
//<-----------PO Flow------------>
$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";
//<!-- Store Requisition Flow ---------------->
$route['storerequisition']="storerequisitionlist/addstore";
$route['approvalstorerequisitionslip']="storerequisitionlist/SearchRequistLists";
$route['storerequisitionlisting']="storerequisitionlist/addstorerequisitionlist";
$route['EditStoreRequisition'] = "storerequisitionlist/EditStoreRequistion";
//<-------------IGR page----------------->
$route['Addigr'] = "inwardgateregister/addinwardgateregister";
$route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails";
$route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling";
//<------------OGR Page------------------>
$route['AddOgr'] = "inwardgateregister/addoutwardgateregister";
$route['ViewOgr'] = "inwardgateregister/ViewOgr";
$route['EditOGR']="inwardgateregister/EditOGR";
//<-------------MRIR page----------------->
$route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport";
$route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport";
$route['Viewigr'] = "MRIRcontroller/viewinwardgateregister";
$route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList";
//<-------------Cashbook page----------------->
$route['ViewIncomeExpense'] = "cashbook/incomeExpenseList";
$route['EditIncomeExpense'] = "cashbook/editcashbook";
$route['AdvanceList']="cashbook/AdvanceList";
$route['addNewIncomeExpense'] = "cashbook/addNewIncomeExpenseLoad";
$route['addIncomeExpense'] = "cashbook/addIncomeExpense";
$route['updateExpense'] = "cashbook/updateExpense";
//<----------Cashbook page - Bank statement-------------->
$route['Bankingview']= "cashbook/bankfileview";
$route['Bankfiletostatement']= "cashbook/bankfileupload";
$route['Bankingstatement']= "cashbook/bankdata";
$route['Debitstatement']= "cashbook/bankdebitdata";
$route['Cashstatement']= "cashbook/cashreceipt";
$route['BankingFile']= "cashbook/bankfileupload";
//$route['Filelist']="cashbook/filelist";
//$route['Bankingrecord']= "cashbook/bankdata";
$route['Bankamountpaid']= "cashbook/amountpaid";
$route['Bankamountreceived']= "cashbook/amountreceived";
$route['Receipt']= "cashbook/cashreceipt";
$route['Payment']= "cashbook/cashpayment";
$route['Invoice']= "cashbook/bankinvoice";
$route['Bankcash']= "cashbook/cashbanking";
$route['DeleteInvoice']="cashbook/deletemappingiv";
$route['DeletePo']="cashbook/Deletemappingporeport";
$route['MappingInvoice']="cashbook/mappinginvoice";
$route['qualityreportlist'] = "quality/reportList";
$route['qualityreportlistinward'] = "quality/reportListInward";
//<-------------Store page----------------->
$route['Stock'] = "storestatus/storeavailability";
$route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus";
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling";
//<-------------Reports page----------------->
$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['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['cashbookreport']="report/cashbook";
$route['cashbookmonthlyexpenses']="report/monthexpenses";
$route['cashbookyearlyexpenses']="report/yearexpenses";
$route['Empperform']="report/per";
$route['cashbookcumulativereport']="report/cashbook_cumulative_report";
$route['cashbookcumulativemonthreport']="report/cashbook_month_cumulative_report";
$route['Report_monthly_gst'] = "report/monthly_gst";
// 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";
//<-------------Reports page----------------->
$route['normalinprocess'] = "inprocess/addNewInprocessInspection";
$route['nissaninprocess'] = "inprocess/addNewNissanInprocessInspection";
$route['resinbatchcardlisting'] = "resinbatchcard/resinBatchCardLisitng";
$route['addNewResinbatchcard'] = "resinbatchcard/addNewResinBatchCard";
//this route path productionsalary details
$route['productionsalary']="monthlypay/productionsalary";
//Customer Enquiry
$route['Editenquiry'] = "purchaseorder/Editenquiry";
$route['enquirylisting'] = "purchaseorder/enquirylist";
$route['AddComplaint'] = "purchaseorder/AddComplaint";
$route['EditComplaint'] = "purchaseorder/EditComplaint";
$route['Addaction'] = "purchaseorder/Nonconfirmative";
$route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
/* End of file routes.php */
/* Location: ./application/config/routes.php */
$route['DeliveryPerformance']="user/deliver_perform";
//this function ues to ponoreset values
$route['poresetview']="purchaseorder/poresetview";
//stock
$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";
$route['shortagematerialListing'] = 'rawmaterialdetails/shortagematerialListing';
<?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';
/*********** Siddharth DEFINED ROUTES *******************/
$route['loginMe'] = 'login/loginMe';
$route['dashboard'] = 'user';
$route['logout'] = 'user/logout';
$route['reports']='reportlistcontroller';
//<-----------Application listing Routes------------>
$route['userListing'] = 'user/userListing';
$route['userListing/(:num)'] = "user/userListing/$1";
//$route['purchaseorderListing'] = 'purchaseorder/purchaseorderListing';
//$route['purchaseorderListing/(:num)'] = "purchaseorder/purchaseorderListing/$1";
$route['supplierListing'] = 'supplier/supplierListing';
$route['supplierListing/(:num)'] = "supplier/supplierListing/$1";
$route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing';
$route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1";
$route['costListing'] = 'CostCenter/costListing';
$route['costListing/(:num)'] = "CostCenter/costListing/$1";
$route['assetListing'] = 'assetdetails/assetListing';
$route['assetListing/(:num)'] = "assetdetails/assetListing/$1";
$route['employeeListing'] = 'employeedetails/employeeListing';
$route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1";
$route['monthlyListings'] = 'monthlypay/monthlyListing';
$route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1";
$route['emppayListings'] = 'emppaydate/emppayListing';
$route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1';
$route['attendance'] = 'monthlypay/attendanceLoad';
$route['publicholidays'] = 'monthlypay/loadPublicholidays';
$route['loanreports'] = 'payslip/loadLoanReport';
$route['bonusreports'] = 'payslip/Bonusreport';
// permission slip//
$route['permission'] = 'monthlypay/permissionslip';
$route['permissionlist'] = 'monthlypay/permissionlist';
//<-----------Application Add Routes------------>
$route['addNew'] = "user/addNew";
$route['addNewUser'] = "user/addNewUser";
$route['addPO'] = "purchaseorder/addPO";
$route['addNewPO'] = "purchaseorder/addNewPO";
$route['addsupplier'] = "supplier/addsupplier";
$route['addNewsupplier'] = "supplier/addNewsupplier";
$route['addcost'] = "CostCenter/addCost";
$route['addNewcost'] = "CostCenter/addNewCost";
$route['addasset'] = "assetdetails/addasset";
$route['addNewasset'] = "assetdetails/addNewasset";
$route['addemployee'] = "employeedetails/addemployee";
$route['addNewemployee'] = "employeedetils/addNewemployee";
$route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial";
$route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial";
//<-----------Application Edit Routes------------>
$route['editOld'] = "user/editOld";
$route['editOld/(:num)'] = "user/editOld/$1";
$route['editUser'] = "user/editUser";
$route['editOldPO'] = "purchaseorder/editOldPO";
$route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1";
//$route['editPO'] = "purchaseorder/editPO";
$route['editOldsupplier'] = "supplier/editOldsupplier";
$route['editOldsupplier/(:num)'] = "supplier/editOldsupplier/$1";
$route['editsupplier'] = "supplier/editsupplier";
$route['editOldcost'] = "CostCenter/editOldcost";
$route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1";
$route['editcost'] = "CostCenter/editcost";
$route['editOldasset'] = "assetdetails/editOldasset";
$route['editOldasset/(:num)'] = "assetdetails/editOldasset/$1";
$route['editasset'] = "assetdetails/editasset";
$route['editOldemployee'] = "employeedetails/editOldemployee";
$route['editOldemployee/(:num)'] = "employeedetails/editOldemployee/$1";
$route['editemployee'] = "employeedetils/editemployee";
$route['editOldRawmaterial/(:num)'] = "rawmaterialdetails/editOldRawmaterial/$1";
$route['editOldRawmaterial'] = "rawmaterialdetails/editOldRawmaterial";
$route['editrawmaterial'] = "rawmaterialdetails/editemployee";
//<-----------Application Delete Routes------------>
$route['deleteUser'] = "user/deleteUser";
$route['deletecost'] = "CostCenter/deletecost";
//<-----------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['checkEmailExists'] = "user/checkEmailExists";
$route['forgotPassword'] = "login/forgotPassword";
$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";
//<-----------PO Flow------------>
$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";
//<!-- Store Requisition Flow ---------------->
$route['storerequisition']="storerequisitionlist/addstore";
$route['approvalstorerequisitionslip']="storerequisitionlist/SearchRequistLists";
$route['storerequisitionlisting']="storerequisitionlist/addstorerequisitionlist";
$route['EditStoreRequisition'] = "storerequisitionlist/EditStoreRequistion";
//<-------------IGR page----------------->
$route['Addigr'] = "inwardgateregister/addinwardgateregister";
$route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails";
$route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling";
//<------------OGR Page------------------>
$route['AddOgr'] = "inwardgateregister/addoutwardgateregister";
$route['ViewOgr'] = "inwardgateregister/ViewOgr";
$route['EditOGR']="inwardgateregister/EditOGR";
//<-------------MRIR page----------------->
$route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport";
$route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport";
$route['Viewigr'] = "MRIRcontroller/viewinwardgateregister";
$route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList";
//<-------------Cashbook page----------------->
$route['ViewIncomeExpense'] = "cashbook/incomeExpenseList";
$route['EditIncomeExpense'] = "cashbook/editcashbook";
$route['AdvanceList']="cashbook/AdvanceList";
$route['addNewIncomeExpense'] = "cashbook/addNewIncomeExpenseLoad";
$route['addIncomeExpense'] = "cashbook/addIncomeExpense";
$route['updateExpense'] = "cashbook/updateExpense";
//<----------Cashbook page - Bank statement-------------->
$route['Bankingview']= "cashbook/bankfileview";
$route['Bankfiletostatement']= "cashbook/bankfileupload";
$route['Bankingstatement']= "cashbook/bankdata";
$route['Debitstatement']= "cashbook/bankdebitdata";
$route['Cashstatement']= "cashbook/cashreceipt";
$route['BankingFile']= "cashbook/bankfileupload";
//$route['Filelist']="cashbook/filelist";
//$route['Bankingrecord']= "cashbook/bankdata";
$route['Bankamountpaid']= "cashbook/amountpaid";
$route['Bankamountunpaid']= "cashbook/amountunpaid";
$route['Bankamountreceived']= "cashbook/amountreceived";
$route['Receipt']= "cashbook/cashreceipt";
$route['Payment']= "cashbook/cashpayment";
$route['Invoice']= "cashbook/bankinvoice";
$route['Bankcash']= "cashbook/cashbanking";
$route['DeleteInvoice']="cashbook/deletemappingiv";
$route['DeletePo']="cashbook/Deletemappingporeport";
$route['MappingInvoice']="cashbook/mappinginvoice";
$route['qualityreportlist'] = "quality/reportList";
$route['qualityreportlistinward'] = "quality/reportListInward";
//<-------------Store page----------------->
$route['Stock'] = "storestatus/storeavailability";
$route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus";
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling";
//<-------------Reports page----------------->
$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['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['cashbookreport']="report/cashbook";
$route['cashbookmonthlyexpenses']="report/monthexpenses";
$route['cashbookyearlyexpenses']="report/yearexpenses";
$route['Empperform']="report/per";
$route['cashbookcumulativereport']="report/cashbook_cumulative_report";
$route['cashbookcumulativemonthreport']="report/cashbook_month_cumulative_report";
$route['Report_monthly_gst'] = "report/monthly_gst";
// 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";
//<-------------Reports page----------------->
$route['normalinprocess'] = "inprocess/addNewInprocessInspection";
$route['nissaninprocess'] = "inprocess/addNewNissanInprocessInspection";
$route['resinbatchcardlisting'] = "resinbatchcard/resinBatchCardLisitng";
$route['addNewResinbatchcard'] = "resinbatchcard/addNewResinBatchCard";
//this route path productionsalary details
$route['productionsalary']="monthlypay/productionsalary";
//Customer Enquiry
$route['Editenquiry'] = "purchaseorder/Editenquiry";
$route['enquirylisting'] = "purchaseorder/enquirylist";
$route['AddComplaint'] = "purchaseorder/AddComplaint";
$route['EditComplaint'] = "purchaseorder/EditComplaint";
$route['Addaction'] = "purchaseorder/Nonconfirmative";
$route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
/* End of file routes.php */
/* Location: ./application/config/routes.php */
$route['DeliveryPerformance']="user/deliver_perform";
//this function ues to ponoreset values
$route['poresetview']="purchaseorder/poresetview";
//stock
$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";
$route['shortagematerialListing'] = 'rawmaterialdetails/shortagematerialListing';

3492
application/controllers/cashbook.php Executable file → Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,228 @@
<?php
foreach($financialyear as $item)
{
$finyear = $item->financial_year;
}
?>
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
<style>
.dataTables_filter input {padding: 4px;}
.dataTables_filter {
width: 50%;
float: right;
text-align: right;
}
.dataTables_paginate {
width: 50%;
float: right;
text-align: right;
}
div.dt-buttons {
position: relative;
float: right;
}
</style>
<div class="content-wrapper">
<section class="content">
<div class="row">
<!-- Left col -->
<div class="col-md-12">
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info" id="content">
<br>
<div class="col-md-1 col-md-offset-11">
<a href="<?php base_url() ?>Bankingstatement" class="btn btn-primary" value="Back"/>Back</a>
</div>
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Un Paid Reports</b></p></h3></center>
<div class="box-body">
<br>
<div class="row">
<!-- <div class="col-md-3" style=" border: 2px solid black;font-size:14px;background-color:#ccc;">-->
<input type="hidden" id="debitamount" placeholder="Debit Amount" readonly>
<input type="hidden" id="bankid" value="" placeholder="Bank Id" readonly>
<!-- <div style=" ;margin-left:0%;margin-top: -55px;"> -->
<!-- <p style="margin-left:25px;" id="bid" value="">Payment ID:&nbsp;&nbsp;</p> -->
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount:&nbsp;&nbsp; </p>-->
<!-- <p style="margin-left:25px;">Payment Mode:&nbsp;&nbsp;Bank</p>
<p style="margin-left:25px;" id="bamount" </p>
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date:&nbsp;&nbsp;</p> -->
<!-- </div> -->
<!-- </div> -->
<div class="col-md-3">
<label for="from_date">
<?php echo 'From Date'; ?>
</label>
<div class="input-group">
<input name="from_date" id="max-date" class="form-control datepicker">
<span class="input-group-addon">
<i class="fa fa-calendar fa-fw"></i>
</span>
</div>
</div>
<div class="col-md-3">
<label for="to_date">
<?php echo 'To Date'; ?>
</label>
<div class="input-group">
<input name="to_date" id="min-date" class="form-control datepicker">
<span class="input-group-addon">
<i class="fa fa-calendar fa-fw"></i>
</span>
</div>
</div>
<div class="col-md-3" >
<label for="customer">
<?php echo 'Supplier'; ?>
</label>
<select class="form-control" id="SupplierName" name="SupplierName">
<option value="">Select Supplier</option>
<?php foreach($getsupplier as $gs):
{?>
<option value="<?php echo $gs->SupplierID;?>"><?php echo $gs->SupplierName ; ?></option>
<?php } endforeach; ?>
</select>
</div>
<div class="col-md-3" style="margin-top:20px;">
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
<input type="submit" class="btn btn-success" name="btn_submit" value="View Purchase">
</div>
</div>
<br>
<br>
<div class="row">
</div>
</form>
<br>
<br>
<input type="hidden" name="Rowid" id="Rowid" placeholder="Row Id" readonly>
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">
<thead>
<tr>
<th>Date</th>
<th>PONO</th>
<th>IGRNO</th>
<th>IGR Item No</th>
<th>Supplier Name</th>
<th>IGR Amount (&#8377;)</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
$ti=0.00;
$tvt=0.00;
if(!empty($bankdepit)){
foreach($bankdepit as $t)
{
$status=$t->Paymentstatus;
$balancetopay=$t->Balancetopay;
$ReceivedQuantity=$t->ReceivedQuantity;
$rate=$t->finalamount;
if($status !='ST057')
{
?>
<tr>
<td align="left" id="date<?php echo $i ?>"><span><?php echo date_format(date_create($t->CreatedDate),'d-m-Y');?></span></td>
<td align="left" id="pono"><span><?php echo $t->PONO?></span></a></td>
<td align="left" id="igrno"><span><?php echo $t->IGRNO?></span></a></td>
<td align="left" id="igrlineitem<?php echo $i ?>" ><span><?php echo $t->IGRItemNo?></span></td>
<td align="left" id="sn<?php echo $i ?>" ><span><?php echo $t->SupplierName?></span></td>
<td align="left" id="tov<?php echo $i ?>" ><span><?php echo round($rate,2)?></span></td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
<?php } ?>
</table>
</div>
</div>
</div><!-- /.box -->
</div><!-- /.col -->
</section>
</div>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
<script>
$(document).ready(function() {
$.fn.dataTable.moment( 'DD-MM-YYYY' );
table = $('#req').DataTable( {
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
"<'row'<'col-md-6'><'col-md-6'>>" +
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
buttons: [
{
extend: 'excelHtml5',
footer: 'true',
messageTop: $('h3').text(),
title: 'Unpaid Purchase Order Report',
exportOptions: {
columns: ':visible'
}
},
'colvis'
]
} );/** datatable closed */
} );/** ready closed */
</script>

View File

@ -176,7 +176,7 @@ foreach($financialyear as $item)
$balancetopay=$t->Balancetopay;
$ReceivedQuantity=$t->ReceivedQuantity;
$rate=$t->finalamount;
if($status !='ST057')
{

View File

@ -1,215 +1,215 @@
<?php
if(!empty($debitmapping))
{
}
foreach($financialyear as $item)
{
$finyear = $item->financial_year;
} ?>
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
<style>
.dataTables_filter input {padding: 4px;}
.dataTables_filter {
width: 50%;
float: right;
text-align: right;
}
.dataTables_paginate {
width: 50%;
float: right;
text-align: right;
}
div.dt-buttons {
position: relative;
float: right;
}
</style>
<!--<div class="row">
<div class="col-md-12">
<div id="container"></div>
</div>
</div>-->
<div class="content-wrapper">
<section class="content">
<!-- Left col -->
<div class="col-md-12">
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<!--<div class="box-header with-border">-->
<!--<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Cashbook Reports</b></p></h3></center>-->
<!--</div>-->
<!-- /.box-header -->
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Bank PO settlement</b></p></h3></center>
<div class="box-body">
</form>
<br>
<br>
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">
<thead>
<tr>
<th>Bank ID</th>
<th>Narration</th>
<th>PONO</th>
<th>IGRLine Item No</th>
<th>Amount Paid (&#8377;) </th>
</tr>
</thead>
<tbody>
<?php
$i=1;
$ti=0.00;
$tvt=0.00;
if(!empty($debitmapping)){
foreach($debitmapping as $ap)
{
?>
<tr>
<td align="left" id="tov"><span><?php echo $ap->mid?></span></td>
<td align="left" id="aa"><span><?php echo $ap->Narration?></span></td>
<td align="left" id="aa"><span><?php echo $ap->PONO?></span></td>
<td align="left" id="aa"><span><?php echo $ap->IGRLineItemNo?></span></td>
<td align="left" id="aa"><span><?php echo $ap->Amountpaid?></span></td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
<!--<tfoot width="100%">
<tr>
<td style="text-align:left;"><strong>Total</strong></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td style="text-align:right"><strong>
<?php
{
echo number_format($ti,2,'.','');
}
?>
</strong>
</td>
<td style="text-align:right"><strong>
<?php
{
echo number_format($tvt,2,'.','');
}
?>
</strong>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tfoot>-->
</table>
</div>
</div>
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</section>
</div>
<!-- <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> -->
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
<script>
$(document).ready(function() {
table = $('#req').DataTable( {
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
"<'row'<'col-md-6'><'col-md-6'>>" +
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
buttons: [
{
extend: 'excelHtml5',
footer: 'true',
messageTop: $('h3').text(),
title: 'cashbook Overall Report',
exportOptions: {
columns: ':visible'
}
},
'colvis'
]
} );
} );
</script>
<?php
if(!empty($debitmapping))
{
}
foreach($financialyear as $item)
{
$finyear = $item->financial_year;
} ?>
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
<style>
.dataTables_filter input {padding: 4px;}
.dataTables_filter {
width: 50%;
float: right;
text-align: right;
}
.dataTables_paginate {
width: 50%;
float: right;
text-align: right;
}
div.dt-buttons {
position: relative;
float: right;
}
</style>
<!--<div class="row">
<div class="col-md-12">
<div id="container"></div>
</div>
</div>-->
<div class="content-wrapper">
<section class="content">
<!-- Left col -->
<div class="col-md-12">
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<!--<div class="box-header with-border">-->
<!--<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Cashbook Reports</b></p></h3></center>-->
<!--</div>-->
<!-- /.box-header -->
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Bank PO settlement</b></p></h3></center>
<div class="box-body">
</form>
<br>
<br>
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">
<thead>
<tr>
<th>Bank ID</th>
<th>Narration</th>
<th>PONO</th>
<th>IGRLine Item No</th>
<th>Amount Paid (&#8377;) </th>
</tr>
</thead>
<tbody>
<?php
$i=1;
$ti=0.00;
$tvt=0.00;
if(!empty($debitmapping)){
foreach($debitmapping as $ap)
{
?>
<tr>
<td align="left" id="tov"><span><?php echo $ap->mid?></span></td>
<td align="left" id="aa"><span><?php echo $ap->Narration?></span></td>
<td align="left" id="aa"><span><?php echo $ap->PONO?></span></td>
<td align="left" id="aa"><span><?php echo $ap->IGRLineItemNo?></span></td>
<td align="left" id="aa"><span><?php echo $ap->Amountpaid?></span></td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
<!--<tfoot width="100%">
<tr>
<td style="text-align:left;"><strong>Total</strong></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td style="text-align:right"><strong>
<?php
{
echo number_format($ti,2,'.','');
}
?>
</strong>
</td>
<td style="text-align:right"><strong>
<?php
{
echo number_format($tvt,2,'.','');
}
?>
</strong>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tfoot>-->
</table>
</div>
</div>
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</section>
</div>
<!-- <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> -->
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
<script>
$(document).ready(function() {
table = $('#req').DataTable( {
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
"<'row'<'col-md-6'><'col-md-6'>>" +
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
buttons: [
{
extend: 'excelHtml5',
footer: 'true',
messageTop: $('h3').text(),
title: 'cashbook Overall Report',
exportOptions: {
columns: ':visible'
}
},
'colvis'
]
} );
} );
</script>

4268
application/views/includes/header.php Executable file → Normal file

File diff suppressed because it is too large Load Diff