diff --git a/app/Config/Routes.php b/app/Config/Routes.php
index a56d708e..40536921 100755
--- a/app/Config/Routes.php
+++ b/app/Config/Routes.php
@@ -418,6 +418,9 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_Supplier', 'Re
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_Item', 'Report::MM_Item');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_ReceiptValue', 'Report::MM_ReceiptValue');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase', 'Report::purchase');
+$routes->get('report/consolidate_month', 'Report::consolidate_month');
+$routes->get('report/link_purchase', 'Report::link_purchase');
+$routes->get('report/consolidate_year', 'Report::consolidate_year');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_year_wise', 'Report::year_wise');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier', 'Report::purchase_supplier');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate', 'Report::consolidate');
@@ -429,12 +432,25 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'cashbookmonthlyexpenses', 'Rep
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'cashbookyearlyexpenses', 'Report::yearexpenses');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase_inward', 'Report::ipurchase');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_year_wise_inward', 'Report::iyear_wise');
+$routes->get('report/imonth_wise', 'Report::imonth_wise');
+$routes->get('report/iyear_wise_total/(:any)', 'Report::iyear_wise_total/$1');
+$routes->get('report/ilink_purchase', 'Report::ilink_purchase');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier_inward', 'Report::ipurchase_supplier');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier_summary', 'Report::suppliersummary');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate_inward', 'Report::iconsolidate');
+$routes->get('report/i_consolidate_month', 'Report::i_consolidate_month');
+$routes->get('report/i_consolidate_year', 'Report::i_consolidate_year');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_cumulative_inward', 'Report::icumulative');
+$routes->get('report/icum_day/(:any)/(:any)', 'Report::icum_day/$1/$2');
+$routes->get('report/icum_month/(:any)/(:any)', 'Report::icum_month/$1/$2');
+$routes->get('report/icum_year/(:any)/(:any)', 'Report::icum_year/$1/$2');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_cumulative_raw', 'Report::rawi_cumulative');
+$routes->get('report/rawi_cum_day', 'Report::rawi_cum_day');
+$routes->get('report/rawi_cum_month', 'Report::rawi_cum_month');
+$routes->get('report/rawi_cum_year', 'Report::rawi_cum_year');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate_category', 'Report::rawi_consolidate');
+$routes->get('report/rawi_consolidate_month', 'Report::rawi_consolidate_month');
+$routes->get('report/rawi_consolidate_year', 'Report::rawi_consolidate_year');
$routes->match(['GET', 'POST'], 'Report_pending_purchase', 'Report::pending_purchase');
$routes->match(['GET', 'POST'], '/Report_pending_purchase', 'Report::pending_purchase');
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase_attach', 'Report::iattach');
@@ -547,18 +563,4 @@ $routes->post('updateAbstractDetails','StockController::updateAbstractDetails');
//Reports Module
-$routes->get('allReports','Report::allReports');
-
-// Material Report Links
-$routes->get('MM_Supplier', 'Report::MM_Supplier');
-$routes->get('MM_Item','Report::MM_Item');
-$routes->match(['GET', 'POST'],'MM_ReceiptValue','Report::MM_ReceiptValue');
-
-//Inward Report Links
-$routes->match(['GET', 'POST'],'ipurchase','Report::ipurchase');
-$routes->match(['GET', 'POST'],'iyear_wise', 'Report::iyear_wise');
-$routes->match(['GET', 'POST'],'ipurchase_supplier' , 'Report::ipurchase_supplier');
-$routes->match(['GET', 'POST'],'iconsolidate' , 'Report::iconsolidate');
-$routes->match(['GET', 'POST'],'icumulative' , 'Report::icumulative');
-$routes->match(['GET', 'POST'],'rawi_cumulative' , 'Report::rawi_cumulative');
-$routes->match(['GET', 'POST'],'rawi_consolidate' , 'Report::rawi_consolidate');
\ No newline at end of file
+$routes->get('allReports','Report::allReports');
\ No newline at end of file
diff --git a/app/Controllers/Inwardgateregister.php b/app/Controllers/Inwardgateregister.php
index 80cd15e5..fd4f21e9 100755
--- a/app/Controllers/Inwardgateregister.php
+++ b/app/Controllers/Inwardgateregister.php
@@ -460,7 +460,7 @@ class Inwardgateregister extends BaseController
$igr = array('IGRNO'=>$newIGRNO,'PONO' => $PONO, 'VehicleNo' => $VehicleNo, 'TransporterId'=>$TransporterId,'DeliveryChellanOrInvoiceNo' => $DeliveryChellanOrInvoiceNo, 'DeliveryChellanDate' => $DeliveryChellanDate, 'MaterialRcvdDate' => $MaterialRcvdDt, 'DriverName' => $DriverName, 'DriverMobileNumber' => $DriverMobileNumber,'IGRStatus' => $IGRStatus, 'CreatedBy' => $CreatedBy, 'CreatedDate' => $createddt, 'PaymentStatus' => $paymentstatus, 'Remark'=>$MasterRemarks);
$igr['MasterFile'] = $requestMasterFileName;
#Step 4 Calling DB to Save IGR Master
- $IGRNO = $this->inwardgateregister_model->addigrM($igr);
+ $IGRNO = $this->inwardgateregister_model->addigrM($igr);
if($IGRNO){
@@ -689,7 +689,6 @@ class Inwardgateregister extends BaseController
// Escape newlines and quotes for the JavaScript alert
$finalstatement = json_encode($finalstatement);
-
echo "
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
+ });
+
\ No newline at end of file
diff --git a/app/Views/Report_Material_Master_ReceiptValue.php b/app/Views/Report_Material_Master_ReceiptValue.php
index c16e6d0c..013cadba 100755
--- a/app/Views/Report_Material_Master_ReceiptValue.php
+++ b/app/Views/Report_Material_Master_ReceiptValue.php
@@ -1,267 +1,236 @@
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
+ // Initialize the DataTable
+ var table = $('#cc').DataTable({
+ dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
+ buttons: [
+ 'excel' // Export buttons
+ ],
+ pageLength: 10, // Default rows per page
+ lengthMenu: [
+ [10, 20, 30, 50, -1],
+ [10, 20, 30, 50, "All"]
+ ], // Rows per page options
+ responsive: true, // Responsive table
+ ordering: false,
+ language: {
+ paginate: {
+ next: '
', // Next button icon
+ previous: '
' // Previous button icon
+ },
+ emptyTable: '
Data Not Found!
'
+ }
+ });
+ });
+
\ No newline at end of file
diff --git a/app/Views/Report_Material_Master_SupplierWise.php b/app/Views/Report_Material_Master_SupplierWise.php
index 43a1b8fb..e431761f 100755
--- a/app/Views/Report_Material_Master_SupplierWise.php
+++ b/app/Views/Report_Material_Master_SupplierWise.php
@@ -1,154 +1,119 @@
-
-
-
-
+
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Material Date
- Supplier ID
- Supplier Name
- Material Code
- Material Name
- Material Type
- UOM
- HSNCODE
-
-
-
-
-
-
- Material_Date);echo $date->format('d-m-Y');?>
- SupplierID?>
- SupplierName?>
- MaterialCode?>
- MaterialName?>
- MaterialType?>
- UOM?>
- HSNCODE?>
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Material Date
+ Supplier ID
+ Supplier Name
+ Material Code
+ Material Name
+ Material Type
+ UOM
+ HSNCODE
+
+
+
+
+
+
+ Material_Date);
+ echo $date->format('d-m-Y'); ?>
+ SupplierID ?>
+ SupplierName ?>
+ MaterialCode ?>
+ MaterialName ?>
+ MaterialType ?>
+ UOM ?>
+ HSNCODE ?>
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
+ });
+
\ No newline at end of file
diff --git a/app/Views/Report_POreleased.php b/app/Views/Report_POreleased.php
index 818e3677..26855a28 100755
--- a/app/Views/Report_POreleased.php
+++ b/app/Views/Report_POreleased.php
@@ -52,9 +52,9 @@
Reports
-
+ Requisation
-
+ Order Value Released
@@ -81,13 +81,16 @@
Select Year
- financial_year ; ?>
+ financial_year == $givenYear ? "selected" : "" ?>
+ value="financial_year;?>">
+ financial_year ; ?>
+
@@ -101,19 +104,17 @@
- Select Month
- January
- February
- March
- April
- May
- June
- July
- August
- September
- October
- November
- December
+
+
+
+ Select Month
+
+ >
+ =$month?>
+
+
@@ -122,7 +123,8 @@
-
+ ">
@@ -131,7 +133,8 @@
-
+ ">
@@ -143,7 +146,8 @@
-
+ ">
@@ -152,12 +156,14 @@
-
+ ">
-
+
+
@@ -236,6 +242,13 @@
$(document).ready(function() {
// Initialize the DataTable with only pagination enabled
var table = $('#cc').DataTable({
+ dom: 'Blfrtip',
+ buttons: [
+ {
+ extend: 'excel',
+ text: 'Excel',
+ }
+ ],
paging: true, // Enable pagination
searching: true, // Disable search
ordering: false, // Disable column sorting
@@ -312,6 +325,7 @@ $( function() {
dateFormat: 'dd-mm-yy',
defaultDate: "+0d",
changeMonth: true,
+ orientation : "botttom"
//numberOfMonths: 1
})
.on( "change", function() {
@@ -321,6 +335,7 @@ $( function() {
dateFormat: 'dd-mm-yy',
defaultDate: "+0d",
changeMonth: true,
+ orientation : "bottom"
//numberOfMonths: 1
})
.on( "change", function() {
diff --git a/app/Views/Report_attach_inward.php b/app/Views/Report_attach_inward.php
index 652b5607..e0ff9db2 100755
--- a/app/Views/Report_attach_inward.php
+++ b/app/Views/Report_attach_inward.php
@@ -1,582 +1,606 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SNo
- BillNO
- PONO
- FileName
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
\ No newline at end of file
+ $(document).ready(function() {
+
+
+ // Initialize the DataTable
+ var table = $('#cc').DataTable({
+ dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
+ buttons: [
+ 'excel' // Export buttons
+ ],
+ pageLength: 10, // Default rows per page
+ lengthMenu: [
+ [10, 20, 30, 50, -1],
+ [10, 20, 30, 50, "All"]
+ ], // Rows per page options
+ responsive: true, // Responsive table
+ ordering: false,
+ language: {
+ paginate: {
+ next: '
', // Next button icon
+ previous: '
' // Previous button icon
+ },
+ emptyTable: '
Data Not Found!
'
+ }
+ });
+ });
+
\ No newline at end of file
diff --git a/app/Views/Report_consolidate.php b/app/Views/Report_consolidate.php
index 8a58eeeb..01027b2f 100755
--- a/app/Views/Report_consolidate.php
+++ b/app/Views/Report_consolidate.php
@@ -71,8 +71,8 @@
-