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'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| URI ROUTING | URI ROUTING
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions. | This file lets you re-map URI requests to specific controller functions.
| |
| Typically there is a one-to-one relationship between a URL string | Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a | and its corresponding controller class/method. The segments in a
| URL normally follow this pattern: | URL normally follow this pattern:
| |
| example.com/class/method/id/ | example.com/class/method/id/
| |
| In some instances, however, you may want to remap this relationship | In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one | so that a different class/function is called than the one
| corresponding to the URL. | corresponding to the URL.
| |
| Please see the user guide for complete details: | Please see the user guide for complete details:
| |
| http://codeigniter.com/user_guide/general/routing.html | http://codeigniter.com/user_guide/general/routing.html
| |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| RESERVED ROUTES | RESERVED ROUTES
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| |
| There area two reserved routes: | There area two reserved routes:
| |
| $route['default_controller'] = 'welcome'; | $route['default_controller'] = 'welcome';
| |
| This route indicates which controller class should be loaded if the | This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class | URI contains no data. In the above example, the "welcome" class
| would be loaded. | would be loaded.
| |
| $route['404_override'] = 'errors/page_missing'; | $route['404_override'] = 'errors/page_missing';
| |
| This route will tell the Router what URI segments to use if those provided | This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route. | in the URL cannot be matched to a valid route.
| |
*/ */
$route['default_controller'] = "login"; $route['default_controller'] = "login";
$route['404_override'] = 'error'; $route['404_override'] = 'error';
/*********** Siddharth DEFINED ROUTES *******************/ /*********** Siddharth DEFINED ROUTES *******************/
$route['loginMe'] = 'login/loginMe'; $route['loginMe'] = 'login/loginMe';
$route['dashboard'] = 'user'; $route['dashboard'] = 'user';
$route['logout'] = 'user/logout'; $route['logout'] = 'user/logout';
$route['reports']='reportlistcontroller'; $route['reports']='reportlistcontroller';
//<-----------Application listing Routes------------> //<-----------Application listing Routes------------>
$route['userListing'] = 'user/userListing'; $route['userListing'] = 'user/userListing';
$route['userListing/(:num)'] = "user/userListing/$1"; $route['userListing/(:num)'] = "user/userListing/$1";
//$route['purchaseorderListing'] = 'purchaseorder/purchaseorderListing'; //$route['purchaseorderListing'] = 'purchaseorder/purchaseorderListing';
//$route['purchaseorderListing/(:num)'] = "purchaseorder/purchaseorderListing/$1"; //$route['purchaseorderListing/(:num)'] = "purchaseorder/purchaseorderListing/$1";
$route['supplierListing'] = 'supplier/supplierListing'; $route['supplierListing'] = 'supplier/supplierListing';
$route['supplierListing/(:num)'] = "supplier/supplierListing/$1"; $route['supplierListing/(:num)'] = "supplier/supplierListing/$1";
$route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing'; $route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing';
$route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1"; $route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1";
$route['costListing'] = 'CostCenter/costListing'; $route['costListing'] = 'CostCenter/costListing';
$route['costListing/(:num)'] = "CostCenter/costListing/$1"; $route['costListing/(:num)'] = "CostCenter/costListing/$1";
$route['assetListing'] = 'assetdetails/assetListing'; $route['assetListing'] = 'assetdetails/assetListing';
$route['assetListing/(:num)'] = "assetdetails/assetListing/$1"; $route['assetListing/(:num)'] = "assetdetails/assetListing/$1";
$route['employeeListing'] = 'employeedetails/employeeListing'; $route['employeeListing'] = 'employeedetails/employeeListing';
$route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1"; $route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1";
$route['monthlyListings'] = 'monthlypay/monthlyListing'; $route['monthlyListings'] = 'monthlypay/monthlyListing';
$route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1"; $route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1";
$route['emppayListings'] = 'emppaydate/emppayListing'; $route['emppayListings'] = 'emppaydate/emppayListing';
$route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1'; $route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1';
$route['attendance'] = 'monthlypay/attendanceLoad'; $route['attendance'] = 'monthlypay/attendanceLoad';
$route['publicholidays'] = 'monthlypay/loadPublicholidays'; $route['publicholidays'] = 'monthlypay/loadPublicholidays';
$route['loanreports'] = 'payslip/loadLoanReport'; $route['loanreports'] = 'payslip/loadLoanReport';
$route['bonusreports'] = 'payslip/Bonusreport'; $route['bonusreports'] = 'payslip/Bonusreport';
// permission slip// // permission slip//
$route['permission'] = 'monthlypay/permissionslip'; $route['permission'] = 'monthlypay/permissionslip';
$route['permissionlist'] = 'monthlypay/permissionlist'; $route['permissionlist'] = 'monthlypay/permissionlist';
//<-----------Application Add Routes------------> //<-----------Application Add Routes------------>
$route['addNew'] = "user/addNew"; $route['addNew'] = "user/addNew";
$route['addNewUser'] = "user/addNewUser"; $route['addNewUser'] = "user/addNewUser";
$route['addPO'] = "purchaseorder/addPO"; $route['addPO'] = "purchaseorder/addPO";
$route['addNewPO'] = "purchaseorder/addNewPO"; $route['addNewPO'] = "purchaseorder/addNewPO";
$route['addsupplier'] = "supplier/addsupplier"; $route['addsupplier'] = "supplier/addsupplier";
$route['addNewsupplier'] = "supplier/addNewsupplier"; $route['addNewsupplier'] = "supplier/addNewsupplier";
$route['addcost'] = "CostCenter/addCost"; $route['addcost'] = "CostCenter/addCost";
$route['addNewcost'] = "CostCenter/addNewCost"; $route['addNewcost'] = "CostCenter/addNewCost";
$route['addasset'] = "assetdetails/addasset"; $route['addasset'] = "assetdetails/addasset";
$route['addNewasset'] = "assetdetails/addNewasset"; $route['addNewasset'] = "assetdetails/addNewasset";
$route['addemployee'] = "employeedetails/addemployee"; $route['addemployee'] = "employeedetails/addemployee";
$route['addNewemployee'] = "employeedetils/addNewemployee"; $route['addNewemployee'] = "employeedetils/addNewemployee";
$route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial"; $route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial";
$route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial"; $route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial";
//<-----------Application Edit Routes------------> //<-----------Application Edit Routes------------>
$route['editOld'] = "user/editOld"; $route['editOld'] = "user/editOld";
$route['editOld/(:num)'] = "user/editOld/$1"; $route['editOld/(:num)'] = "user/editOld/$1";
$route['editUser'] = "user/editUser"; $route['editUser'] = "user/editUser";
$route['editOldPO'] = "purchaseorder/editOldPO"; $route['editOldPO'] = "purchaseorder/editOldPO";
$route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1"; $route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1";
//$route['editPO'] = "purchaseorder/editPO"; //$route['editPO'] = "purchaseorder/editPO";
$route['editOldsupplier'] = "supplier/editOldsupplier"; $route['editOldsupplier'] = "supplier/editOldsupplier";
$route['editOldsupplier/(:num)'] = "supplier/editOldsupplier/$1"; $route['editOldsupplier/(:num)'] = "supplier/editOldsupplier/$1";
$route['editsupplier'] = "supplier/editsupplier"; $route['editsupplier'] = "supplier/editsupplier";
$route['editOldcost'] = "CostCenter/editOldcost"; $route['editOldcost'] = "CostCenter/editOldcost";
$route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1"; $route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1";
$route['editcost'] = "CostCenter/editcost"; $route['editcost'] = "CostCenter/editcost";
$route['editOldasset'] = "assetdetails/editOldasset"; $route['editOldasset'] = "assetdetails/editOldasset";
$route['editOldasset/(:num)'] = "assetdetails/editOldasset/$1"; $route['editOldasset/(:num)'] = "assetdetails/editOldasset/$1";
$route['editasset'] = "assetdetails/editasset"; $route['editasset'] = "assetdetails/editasset";
$route['editOldemployee'] = "employeedetails/editOldemployee"; $route['editOldemployee'] = "employeedetails/editOldemployee";
$route['editOldemployee/(:num)'] = "employeedetails/editOldemployee/$1"; $route['editOldemployee/(:num)'] = "employeedetails/editOldemployee/$1";
$route['editemployee'] = "employeedetils/editemployee"; $route['editemployee'] = "employeedetils/editemployee";
$route['editOldRawmaterial/(:num)'] = "rawmaterialdetails/editOldRawmaterial/$1"; $route['editOldRawmaterial/(:num)'] = "rawmaterialdetails/editOldRawmaterial/$1";
$route['editOldRawmaterial'] = "rawmaterialdetails/editOldRawmaterial"; $route['editOldRawmaterial'] = "rawmaterialdetails/editOldRawmaterial";
$route['editrawmaterial'] = "rawmaterialdetails/editemployee"; $route['editrawmaterial'] = "rawmaterialdetails/editemployee";
//<-----------Application Delete Routes------------> //<-----------Application Delete Routes------------>
$route['deleteUser'] = "user/deleteUser"; $route['deleteUser'] = "user/deleteUser";
$route['deletecost'] = "CostCenter/deletecost"; $route['deletecost'] = "CostCenter/deletecost";
//<-----------Application User Change Password Routes------------> //<-----------Application User Change Password Routes------------>
$route['loadChangePass'] = "user/loadChangePass"; $route['loadChangePass'] = "user/loadChangePass";
$route['changePassword'] = "user/changePassword"; $route['changePassword'] = "user/changePassword";
//<-----------Application Page Not Found Routes------------> //<-----------Application Page Not Found Routes------------>
$route['pageNotFound'] = "user/pageNotFound"; $route['pageNotFound'] = "user/pageNotFound";
//<-----------Application Email & ForgetPassword Routes------------> //<-----------Application Email & ForgetPassword Routes------------>
$route['checkEmailExists'] = "user/checkEmailExists"; $route['checkEmailExists'] = "user/checkEmailExists";
$route['forgotPassword'] = "login/forgotPassword"; $route['forgotPassword'] = "login/forgotPassword";
$route['resetPasswordUser'] = "login/resetPasswordUser";//reset password without OTP $route['resetPasswordUser'] = "login/resetPasswordUser";//reset password without OTP
$route['resetPasswordConfirmUser'] = "login/resetPasswordConfirmUser";//reset password with OTP $route['resetPasswordConfirmUser'] = "login/resetPasswordConfirmUser";//reset password with OTP
$route['checkEmailExists'] = "user/checkEmailExists"; $route['checkEmailExists'] = "user/checkEmailExists";
$route['forgotPassword'] = "login/forgotPassword"; $route['forgotPassword'] = "login/forgotPassword";
$route['monthlypay'] = "payslip/monthlyInputs"; $route['monthlypay'] = "payslip/monthlyInputs";
$route['ExcelUpload2'] = "payslip/viewUpload2"; $route['ExcelUpload2'] = "payslip/viewUpload2";
$route['FileUpload'] = "payslip/uploadExcel"; $route['FileUpload'] = "payslip/uploadExcel";
$route['FileUpload2'] = "payslip/uploadExcel2"; $route['FileUpload2'] = "payslip/uploadExcel2";
$route['PrintPdf'] = "payslip/PrintPdf"; $route['PrintPdf'] = "payslip/PrintPdf";
$route['ViewPay'] = "payslip/viewGenerator"; $route['ViewPay'] = "payslip/viewGenerator";
$route['updatepayroll'] = "payslip/updatepayroll"; $route['updatepayroll'] = "payslip/updatepayroll";
$route['BankReport'] = "payslip/loadBankreportScreen"; $route['BankReport'] = "payslip/loadBankreportScreen";
$route['PaysilpListing'] = "payslip/payslipLisiting"; $route['PaysilpListing'] = "payslip/payslipLisiting";
//<-----------Application Requistion Flow Routes------------> //<-----------Application Requistion Flow Routes------------>
$route['Requisition'] = "requisitionform/requisitionlisting"; $route['Requisition'] = "requisitionform/requisitionlisting";
$route['RequisitionForm'] = "requisitionform/requisition"; $route['RequisitionForm'] = "requisitionform/requisition";
$route['ApproveRequisition'] = "requisitionform/requisitionlistApproval"; $route['ApproveRequisition'] = "requisitionform/requisitionlistApproval";
$route['EditRequisition'] = "requisitionform/EditRequistionForm"; $route['EditRequisition'] = "requisitionform/EditRequistionForm";
//<-----------PO Flow------------> //<-----------PO Flow------------>
$route['CreatePO'] = "purchaseorder/requisition"; $route['CreatePO'] = "purchaseorder/requisition";
$route['purchaseOrder'] = "purchaseorder/CreatePurchaseOrder"; $route['purchaseOrder'] = "purchaseorder/CreatePurchaseOrder";
$route['purchaseorderListing'] = "purchaseorder/PurchaseOrderList"; $route['purchaseorderListing'] = "purchaseorder/PurchaseOrderList";
$route['EditPO'] = "purchaseorder/EditPurchaseOrder"; $route['EditPO'] = "purchaseorder/EditPurchaseOrder";
$route['EditAmendPO'] = "amendmentpurchaseorder/EditAmendPurchaseOrder"; $route['EditAmendPO'] = "amendmentpurchaseorder/EditAmendPurchaseOrder";
$route['EmergencyPO'] = "emergencypurchaseorder/CreateEmergencyPO"; $route['EmergencyPO'] = "emergencypurchaseorder/CreateEmergencyPO";
$route['AdvanceRequest'] = "purchaseorder/advancerequest"; $route['AdvanceRequest'] = "purchaseorder/advancerequest";
$route['PORelease'] = "purchaseorder/porelease"; $route['PORelease'] = "purchaseorder/porelease";
$route['ViewPO'] = "purchaseorder/viewfullpurchaseorder"; $route['ViewPO'] = "purchaseorder/viewfullpurchaseorder";
$route['POApproval'] = "purchaseorder/poapproval"; $route['POApproval'] = "purchaseorder/poapproval";
//<!-- Store Requisition Flow ----------------> //<!-- Store Requisition Flow ---------------->
$route['storerequisition']="storerequisitionlist/addstore"; $route['storerequisition']="storerequisitionlist/addstore";
$route['approvalstorerequisitionslip']="storerequisitionlist/SearchRequistLists"; $route['approvalstorerequisitionslip']="storerequisitionlist/SearchRequistLists";
$route['storerequisitionlisting']="storerequisitionlist/addstorerequisitionlist"; $route['storerequisitionlisting']="storerequisitionlist/addstorerequisitionlist";
$route['EditStoreRequisition'] = "storerequisitionlist/EditStoreRequistion"; $route['EditStoreRequisition'] = "storerequisitionlist/EditStoreRequistion";
//<-------------IGR page-----------------> //<-------------IGR page----------------->
$route['Addigr'] = "inwardgateregister/addinwardgateregister"; $route['Addigr'] = "inwardgateregister/addinwardgateregister";
$route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails"; $route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails";
$route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling"; $route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling";
//<------------OGR Page------------------> //<------------OGR Page------------------>
$route['AddOgr'] = "inwardgateregister/addoutwardgateregister"; $route['AddOgr'] = "inwardgateregister/addoutwardgateregister";
$route['ViewOgr'] = "inwardgateregister/ViewOgr"; $route['ViewOgr'] = "inwardgateregister/ViewOgr";
$route['EditOGR']="inwardgateregister/EditOGR"; $route['EditOGR']="inwardgateregister/EditOGR";
//<-------------MRIR page-----------------> //<-------------MRIR page----------------->
$route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport"; $route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport";
$route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport"; $route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport";
$route['Viewigr'] = "MRIRcontroller/viewinwardgateregister"; $route['Viewigr'] = "MRIRcontroller/viewinwardgateregister";
$route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList"; $route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList";
//<-------------Cashbook page-----------------> //<-------------Cashbook page----------------->
$route['ViewIncomeExpense'] = "cashbook/incomeExpenseList"; $route['ViewIncomeExpense'] = "cashbook/incomeExpenseList";
$route['EditIncomeExpense'] = "cashbook/editcashbook"; $route['EditIncomeExpense'] = "cashbook/editcashbook";
$route['AdvanceList']="cashbook/AdvanceList"; $route['AdvanceList']="cashbook/AdvanceList";
$route['addNewIncomeExpense'] = "cashbook/addNewIncomeExpenseLoad"; $route['addNewIncomeExpense'] = "cashbook/addNewIncomeExpenseLoad";
$route['addIncomeExpense'] = "cashbook/addIncomeExpense"; $route['addIncomeExpense'] = "cashbook/addIncomeExpense";
$route['updateExpense'] = "cashbook/updateExpense"; $route['updateExpense'] = "cashbook/updateExpense";
//<----------Cashbook page - Bank statement--------------> //<----------Cashbook page - Bank statement-------------->
$route['Bankingview']= "cashbook/bankfileview"; $route['Bankingview']= "cashbook/bankfileview";
$route['Bankfiletostatement']= "cashbook/bankfileupload"; $route['Bankfiletostatement']= "cashbook/bankfileupload";
$route['Bankingstatement']= "cashbook/bankdata"; $route['Bankingstatement']= "cashbook/bankdata";
$route['Debitstatement']= "cashbook/bankdebitdata"; $route['Debitstatement']= "cashbook/bankdebitdata";
$route['Cashstatement']= "cashbook/cashreceipt"; $route['Cashstatement']= "cashbook/cashreceipt";
$route['BankingFile']= "cashbook/bankfileupload"; $route['BankingFile']= "cashbook/bankfileupload";
//$route['Filelist']="cashbook/filelist"; //$route['Filelist']="cashbook/filelist";
//$route['Bankingrecord']= "cashbook/bankdata"; //$route['Bankingrecord']= "cashbook/bankdata";
$route['Bankamountpaid']= "cashbook/amountpaid"; $route['Bankamountpaid']= "cashbook/amountpaid";
$route['Bankamountreceived']= "cashbook/amountreceived"; $route['Bankamountunpaid']= "cashbook/amountunpaid";
$route['Receipt']= "cashbook/cashreceipt"; $route['Bankamountreceived']= "cashbook/amountreceived";
$route['Payment']= "cashbook/cashpayment"; $route['Receipt']= "cashbook/cashreceipt";
$route['Invoice']= "cashbook/bankinvoice"; $route['Payment']= "cashbook/cashpayment";
$route['Bankcash']= "cashbook/cashbanking"; $route['Invoice']= "cashbook/bankinvoice";
$route['DeleteInvoice']="cashbook/deletemappingiv"; $route['Bankcash']= "cashbook/cashbanking";
$route['DeletePo']="cashbook/Deletemappingporeport"; $route['DeleteInvoice']="cashbook/deletemappingiv";
$route['MappingInvoice']="cashbook/mappinginvoice"; $route['DeletePo']="cashbook/Deletemappingporeport";
$route['qualityreportlist'] = "quality/reportList"; $route['MappingInvoice']="cashbook/mappinginvoice";
$route['qualityreportlistinward'] = "quality/reportListInward"; $route['qualityreportlist'] = "quality/reportList";
//<-------------Store page-----------------> $route['qualityreportlistinward'] = "quality/reportListInward";
$route['Stock'] = "storestatus/storeavailability"; //<-------------Store page----------------->
$route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus"; $route['Stock'] = "storestatus/storeavailability";
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling"; $route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus";
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling";
//<-------------Reports page----------------->
$route['reportpending'] = "report/pending_report"; //<-------------Reports page----------------->
$route['releasedpo'] = "report/releasedPO"; $route['reportpending'] = "report/pending_report";
$route['openOrder'] = "report/openorderPO"; $route['releasedpo'] = "report/releasedPO";
$route['TotalOrder'] = "report/TotalOrd"; $route['openOrder'] = "report/openorderPO";
$route['Report_costcenter'] = "report/ccr"; $route['TotalOrder'] = "report/TotalOrd";
$route['Report_Material_Supplier'] = "report/MM_Supplier"; $route['Report_costcenter'] = "report/ccr";
$route['Report_Material_Item'] = "report/MM_Item"; $route['Report_Material_Supplier'] = "report/MM_Supplier";
$route['Report_Material_ReceiptValue'] = "report/MM_ReceiptValue"; $route['Report_Material_Item'] = "report/MM_Item";
$route['Report_purchase'] = "report/purchase"; $route['Report_Material_ReceiptValue'] = "report/MM_ReceiptValue";
$route['Report_year_wise'] = "report/year_wise"; $route['Report_purchase'] = "report/purchase";
$route['Report_supplier'] = "report/purchase_supplier"; $route['Report_year_wise'] = "report/year_wise";
$route['Report_consolidate'] = "report/consolidate"; $route['Report_supplier'] = "report/purchase_supplier";
$route['Report_cumulative'] = "report/cumulative"; $route['Report_consolidate'] = "report/consolidate";
$route['Report_purchase_inward'] = "report/ipurchase"; $route['Report_cumulative'] = "report/cumulative";
$route['Report_year_wise_inward'] = "report/iyear_wise"; $route['Report_purchase_inward'] = "report/ipurchase";
$route['Report_supplier_inward'] = "report/ipurchase_supplier"; $route['Report_year_wise_inward'] = "report/iyear_wise";
$route['Report_consolidate_inward'] = "report/iconsolidate"; $route['Report_supplier_inward'] = "report/ipurchase_supplier";
$route['Report_cumulative_inward'] = "report/icumulative"; $route['Report_consolidate_inward'] = "report/iconsolidate";
$route['Report_cumulative_raw'] = "report/rawi_cumulative"; $route['Report_cumulative_inward'] = "report/icumulative";
$route['Report_consolidate_category'] = "report/rawi_consolidate"; $route['Report_cumulative_raw'] = "report/rawi_cumulative";
$route['Report_pending_purchase'] = "report/pending_purchase"; $route['Report_consolidate_category'] = "report/rawi_consolidate";
$route['Report_purchase_attach'] = "report/iattach"; $route['Report_pending_purchase'] = "report/pending_purchase";
$route['cashbookreport']="report/cashbook"; $route['Report_purchase_attach'] = "report/iattach";
$route['cashbookmonthlyexpenses']="report/monthexpenses"; $route['cashbookreport']="report/cashbook";
$route['cashbookyearlyexpenses']="report/yearexpenses"; $route['cashbookmonthlyexpenses']="report/monthexpenses";
$route['Empperform']="report/per"; $route['cashbookyearlyexpenses']="report/yearexpenses";
$route['cashbookcumulativereport']="report/cashbook_cumulative_report"; $route['Empperform']="report/per";
$route['cashbookcumulativemonthreport']="report/cashbook_month_cumulative_report"; $route['cashbookcumulativereport']="report/cashbook_cumulative_report";
$route['Report_monthly_gst'] = "report/monthly_gst"; $route['cashbookcumulativemonthreport']="report/cashbook_month_cumulative_report";
$route['Report_monthly_gst'] = "report/monthly_gst";
// Company Information
$route['companyview'] = 'companycontroller/companyview'; // Company Information
$route['Updatecompany']='companycontroller/Updatecompany'; $route['companyview'] = 'companycontroller/companyview';
$route['Updatecompany']='companycontroller/Updatecompany';
// Config Master
$route['addconfig'] = "configurationctrl/addconfig"; // Config Master
$route['addNewconfig'] = "configurationctrl/addNewconfig"; $route['addconfig'] = "configurationctrl/addconfig";
$route['addNewconfig'] = "configurationctrl/addNewconfig";
$route['configlisting']='configurationctrl/configlisting';
$route['configedit']='configurationctrl/configedit'; $route['configlisting']='configurationctrl/configlisting';
$route['configedit']='configurationctrl/configedit';
// Department Master
// Department Master
$route['departmentListing'] = 'department/departmentListing';
$route['departmentListing/(:num)'] = "department/departmentListing/$1"; $route['departmentListing'] = 'department/departmentListing';
$route['departmentListing/(:num)'] = "department/departmentListing/$1";
$route['adddepartment'] = "department/adddepartment";
$route['addNewdepartment'] = "department/addNewdepartment"; $route['adddepartment'] = "department/adddepartment";
$route['addNewdepartment'] = "department/addNewdepartment";
$route['editOlddepartment'] = "department/viewdepartment";
$route['editOlddepartment/(:num)'] = "department/viewdepartment/$1"; $route['editOlddepartment'] = "department/viewdepartment";
$route['editdepartment'] = "department/editdepartment"; $route['editOlddepartment/(:num)'] = "department/viewdepartment/$1";
$route['editdepartment'] = "department/editdepartment";
//<-------------Reports page----------------->
$route['normalinprocess'] = "inprocess/addNewInprocessInspection"; //<-------------Reports page----------------->
$route['nissaninprocess'] = "inprocess/addNewNissanInprocessInspection"; $route['normalinprocess'] = "inprocess/addNewInprocessInspection";
$route['nissaninprocess'] = "inprocess/addNewNissanInprocessInspection";
$route['resinbatchcardlisting'] = "resinbatchcard/resinBatchCardLisitng";
$route['addNewResinbatchcard'] = "resinbatchcard/addNewResinBatchCard"; $route['resinbatchcardlisting'] = "resinbatchcard/resinBatchCardLisitng";
$route['addNewResinbatchcard'] = "resinbatchcard/addNewResinBatchCard";
//this route path productionsalary details
$route['productionsalary']="monthlypay/productionsalary"; //this route path productionsalary details
$route['productionsalary']="monthlypay/productionsalary";
//Customer Enquiry
//Customer Enquiry
$route['Editenquiry'] = "purchaseorder/Editenquiry";
$route['enquirylisting'] = "purchaseorder/enquirylist"; $route['Editenquiry'] = "purchaseorder/Editenquiry";
$route['AddComplaint'] = "purchaseorder/AddComplaint"; $route['enquirylisting'] = "purchaseorder/enquirylist";
$route['EditComplaint'] = "purchaseorder/EditComplaint"; $route['AddComplaint'] = "purchaseorder/AddComplaint";
$route['Addaction'] = "purchaseorder/Nonconfirmative"; $route['EditComplaint'] = "purchaseorder/EditComplaint";
$route['ncrlist'] = "purchaseorder/Nonconfirmativelist"; $route['Addaction'] = "purchaseorder/Nonconfirmative";
/* End of file routes.php */ $route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
/* Location: ./application/config/routes.php */ /* End of file routes.php */
/* Location: ./application/config/routes.php */
$route['DeliveryPerformance']="user/deliver_perform";
$route['DeliveryPerformance']="user/deliver_perform";
//this function ues to ponoreset values
//this function ues to ponoreset values
$route['poresetview']="purchaseorder/poresetview";
$route['poresetview']="purchaseorder/poresetview";
//stock
//stock
$route['FinalProduct'] = "batchcard/FinalProductCalculation";
$route['FinalProduct'] = "batchcard/FinalProductCalculation";
$route['FinalProductHistory'] = "batchcard/FinalProductHistory";
$route['FinalProductHistory'] = "batchcard/FinalProductHistory";
$route['FinalProductlisting'] = "batchcard/FinalProductlisting";
$route['FinalProductlisting'] = "batchcard/FinalProductlisting";
$route['MaterailAdjustment'] = "batchcard/MaterailAdjustment";
$route['MaterailAdjustment'] = "batchcard/MaterailAdjustment";
$route['MaterailAdjustmentlist'] = "batchcard/MaterailAdjustmentlist";
$route['MaterailAdjustmentlist'] = "batchcard/MaterailAdjustmentlist";
$route['EditMaterialAdjustment'] = "batchcard/EditMaterialAdjustment";
$route['EditMaterialAdjustment'] = "batchcard/EditMaterialAdjustment";
$route['MaterialHistory'] = "batchcard/material_history";
$route['MaterialHistory'] = "batchcard/material_history";
$route['EditFinalProduct'] = "batchcard/EditFinalProduct";
$route['EditFinalProduct'] = "batchcard/EditFinalProduct";
$route['shortagematerialListing'] = 'rawmaterialdetails/shortagematerialListing';
$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; $balancetopay=$t->Balancetopay;
$ReceivedQuantity=$t->ReceivedQuantity; $ReceivedQuantity=$t->ReceivedQuantity;
$rate=$t->finalamount; $rate=$t->finalamount;
if($status !='ST057') if($status !='ST057')
{ {

View File

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

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

File diff suppressed because it is too large Load Diff