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 @@ - + + - -
- -
- -
- -
-
-

Report - Material Master - Receipt Value -

- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - - ?> -

-
- - -
+ -
+
+
+ +
+ +
+
+
+
+
+ +
-
- - - -
- -
- -
-
-
- -
- -
-
- - - - - - - -

- - -
-
- - - - -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MonthMaterial CodeMaterial NameUOMAverage Rate (₹)
Month?>MaterialCode?>MaterialName?>UOM?>Average_Rate,2,'.',''); - echo number_format($rel->Average_Rate,2,'.','')?>
- +
+
+
+
+
+
+ + +
+ +
"> +
+ +
+
+ + +
+ +
+ + + + + +
+
+ +
+ + +
+ +
+
+
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MonthMaterial CodeMaterial NameUOMAverage Rate (₹)
Month ?>MaterialCode ?>MaterialName ?>UOM ?>Average_Rate, 2, '.', ''); + echo number_format($rel->Average_Rate, 2, '.', '') ?>
Total
+
+
+
-
- -
- -
-
- +
+
+
- - - - - - - + + + + + + + - - - \ 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 @@ - - - - + - - } - - - -
-
-
- -
- -
-
-

Report - Material Master - Supplier Wise

-
- - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Material DateSupplier ID Supplier NameMaterial CodeMaterial NameMaterial TypeUOMHSNCODE
Material_Date);echo $date->format('d-m-Y');?>SupplierID?>SupplierName?>MaterialCode?>MaterialName?>MaterialType?>UOM?>HSNCODE?>
- -
-
-
- +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Material DateSupplier ID Supplier NameMaterial CodeMaterial NameMaterial TypeUOMHSNCODE
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 @@
@@ -81,13 +81,16 @@ - - - - - - - - - - - - - + + + + + + + @@ -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 @@ - - -
-
-
- -
- -
-
-

Inward Summary

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - echo ' '.' '; - } - - - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - if($this->input->post('from_date') && $this->input->post('to_date')){ - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - echo $frm.'-to-'.$t; - } - - ?>

-
- - -
-
- -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - - - -
-
- - -
- -
- - - - -
- -
-

- - -
-
-
- - - -
- - -
-
+
+
+ - + \ 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 @@
-
-
+
+
@@ -84,7 +84,12 @@ {?> - + @@ -94,7 +99,7 @@
-
+
@@ -104,28 +109,42 @@ - + - +
-
-
+
+ +
+
+  
-

+

+ @@ -417,6 +436,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 diff --git a/app/Views/Report_consolidate_inward.php b/app/Views/Report_consolidate_inward.php index d50aed65..61bb1751 100755 --- a/app/Views/Report_consolidate_inward.php +++ b/app/Views/Report_consolidate_inward.php @@ -1,737 +1,708 @@ - - + + + + + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ + "> +
+ +
+
+ + + + +
+
+ + +
+ +
+
+ + +
+ + + +
+ + + + +
+ +
+
+
+ +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + $result) { ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial NameAprMayJunJulAugSepOctNovDecJanFebMarTotal
+ supplier_name; ?> + material_name)) { + echo $result->material_name; + } else { + echo "-"; + } + ?>April); + ?> + April); ?> + May); + ?> + May); ?> + June); + ?> + June); ?> + July); + ?> + July); ?> + August); + ?> + August); ?> + September); + ?> + September); ?> + October); + ?> + October); ?> + November); + ?> + November); ?> + December); + ?> + December); ?> + January); + ?> + January); ?> + February); + ?> + February); ?> + March); + ?> + March); ?> + qtotal); + ?> + qtotal); ?> +
Total + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
+
+
+
+ + + + + + + + + + - - -
-
-
- -
- -
-
-

Report - Consolidate-Inward

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - } - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - } - - ?>

-
- - -
- -
- -
-
- -
- -
-
- - -
- -
- -
-
- -
-
- - - -
- - -

- - -
-
-
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - input->post('financialyear'); - foreach ($spurchse as $index=>$result) { ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial NameAprMayJunJulAugSepOctNovDecJanFebMarTotal
- supplier_name;?> - material_name)) { echo $result->material_name ; } else {echo "-";} - ?>April); - ?> - April);?> - May); - ?> - May);?> - June); - ?> - June);?> - July); - ?> - July);?> - August); - ?> - August);?> - September); - ?> - September);?> - October); - ?> - October);?> - November); - ?> - November);?> - December); - ?> - December);?> - January); - ?> - January);?> - February); - ?> - February);?> - March); - ?> - March);?> - qtotal); - ?> - qtotal);?> -
Total - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
-
-
- - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/Views/Report_consolidate_m.php b/app/Views/Report_consolidate_m.php index 28bc1ca3..da36ed6b 100755 --- a/app/Views/Report_consolidate_m.php +++ b/app/Views/Report_consolidate_m.php @@ -1,231 +1,218 @@ + + + - -
-
-
- -
- -
-
-

Report - Consolidate(input->get('m'); - echo $m; - ?>)

-
- - -
-
- - - - - - - - - - - - - - - - input->get('ab'); - $month=date('F'); - $m = $this->input->get('m'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - -
- + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + +
+
+
+
-
- -
- -
-
-
- +
+
+
- - - - - - + + + + + + + + - - - - \ No newline at end of file + } + } + \ No newline at end of file diff --git a/app/Views/Report_consolidate_month.php b/app/Views/Report_consolidate_month.php index 0cbf0d49..c597d03f 100755 --- a/app/Views/Report_consolidate_month.php +++ b/app/Views/Report_consolidate_month.php @@ -1,239 +1,208 @@ - - - } - .btn-success { - background-color: #00d976;; - border-color: #00d976;; - } - - - -
-
-
- -
- -
-
-

Report - Consolidate Category-Wise(input->get('m'); - echo $m; - ?>)

-
- - -
-
- - - - - - - - - - - - - - - - - input->get('ab'); - $month=date('F'); - $m = $this->input->get('m'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategorySupplier NameMaterial Name
QuantityValue   (₹)
- category;?> - - supplier_name;?> - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - - - - -
- -
-
-
- +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategorySupplier NameMaterial Name
QuantityValue   (₹)
+ category; ?> + + supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + + + + +
+
+
+
-
-
-
+
+
+
- - - - - - + + + + + + + + +// "footerCallback": function ( row, data, start, end, display ) { +// var api = this.api(), data; - - - - \ No newline at end of file +// // Remove the formatting to get integer data for summation +// var intVal = function ( i ) { +// return typeof i === 'string' ? +// parseFloat(i.replace(/[^0.00-9.00]+/g,"")*1) : +// typeof i === 'number' ? +// parseFloat(i) : 0; +// }; + +// TotalQTY = api +// .column( 3, { search:'applied' } ) +// .data() +// .reduce( function (a, b) { +// return intVal(a) + intVal(b); +// }, 0 ); + +// $( api.column( 3 ).footer() ).html( TotalQTY.toFixed().bold() ); + +// TotalVALUE = api +// .column( 4, { search:'applied' } ) +// .data() +// .reduce( function (a, b) { +// return intVal(a) + intVal(b); +// }, 0 ); + +// $( api.column( 4 ).footer() ).html( TotalVALUE.toFixed(2).bold() ); + + +// } + \ No newline at end of file diff --git a/app/Views/Report_consolidate_month_inward.php b/app/Views/Report_consolidate_month_inward.php index 2c932fa2..159ad76f 100755 --- a/app/Views/Report_consolidate_month_inward.php +++ b/app/Views/Report_consolidate_month_inward.php @@ -1,232 +1,178 @@ - + + - -
-
-
- -
- -
-
-

Report - Consolidate-Inward(input->get('m'); - echo $m; - ?>)

-
- - -
-
- - - - - - - - - - - - - - - - input->get('ab'); - $month=date('F'); - $m = $this->input->get('m'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - -
- + + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ +
+
+
-
- -
- -
-
+
+ + - - - - - - - - + + + + + + + + - - - \ 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_consolidate_raw.php b/app/Views/Report_consolidate_raw.php index 611be826..9299fdec 100755 --- a/app/Views/Report_consolidate_raw.php +++ b/app/Views/Report_consolidate_raw.php @@ -1,700 +1,681 @@ - - + + - -table.dataTable thead > tr > th.sorting_asc, -table.dataTable thead > tr > th.sorting_desc, -table.dataTable thead > tr > th.sorting, -table.dataTable thead > tr > td.sorting_asc, -table.dataTable thead > tr > td.sorting_desc, -table.dataTable thead > tr > td.sorting { - padding-right: inherit; -} - - - - -
-
-
- -
- -
-
-

Report - Consolidate (Category-Wise)

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - } - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - } - - ?>

+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ +
"> +
+ +
+
+ + + +
+ +
+ + + + + +
+
+
+ + + + + +
+ + +
+ + + + +
+ +
+
+
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + $result) { ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategoryAprMayJunJulAugSepOctNovDecJanFebMarTotal
+ category; ?> + + April); + ?> + April); ?> + + May); + ?> + May); ?> + + June); + ?> + June); ?> + + July); + ?> + July); ?> + + August); + ?> + August); ?> + + September; + ?> + September); ?> + + October); + ?> + October); ?> + + November); + ?> + November); ?> + + December); + ?> + December); ?> + + January); + ?> + January); ?> + + February); + ?> + February); ?> + + March); + ?> + March); ?> + + qtotal); + ?> + qtotal); ?> +
Total + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
- - -
- -
- -
-
- -
- -
-
- - -
- -
- -
-
- -
-
- - - -
- - -

- - -
-
-
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - input->post('financialyear'); - foreach ($spurchse as $index=>$result) { ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategoryAprMayJunJulAugSepOctNovDecJanFebMarTotal
- category;?> - - April); - ?> - April);?> - - May); - ?> - May);?> - - June); - ?> - June);?> - - July); - ?> - July);?> - - August); - ?> - August);?> - - September; - ?> - September);?> - - October); - ?> - October);?> - - November); - ?> - November);?> - - December); - ?> - December);?> - - January); - ?> - January);?> - - February); - ?> - February);?> - - March); - ?> - March);?> - - qtotal); - ?> - qtotal);?> -
Total - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
-
-
- + + + - - - - - - + + + + + + + + + - \ No newline at end of file diff --git a/app/Views/Report_consolidate_y.php b/app/Views/Report_consolidate_y.php index 0a42bb12..af8ce618 100755 --- a/app/Views/Report_consolidate_y.php +++ b/app/Views/Report_consolidate_y.php @@ -1,231 +1,215 @@ + + + - -
-
-
- -
- -
-
-

Report - Consolidate(input->get('ab'); - echo $m; - ?>)

-
- - -
-
- - - - - - - - - - - - - - - - input->get('ab'); - - $month=date('F'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - -
- + .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; */ + + } + + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + +
+
+
+
-
- -
- -
-
-
+ + + - - - - - - + + + + + + + + - - - - \ No newline at end of file + } + } + \ No newline at end of file diff --git a/app/Views/Report_consolidate_year.php b/app/Views/Report_consolidate_year.php index 84104ae7..ba56771b 100755 --- a/app/Views/Report_consolidate_year.php +++ b/app/Views/Report_consolidate_year.php @@ -1,249 +1,207 @@ + + +
+
+ +
+ +
+
+
+
+
+ +
- - - - -
-
-
- -
- -
-
-

Report - Consolidate Category-Wise(input->get('ab'); - echo $m; - ?>)

-
- - -
-
- - - - - - - - - - - - - - - - - input->get('ab'); - - $month=date('F'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategorySupplier NameMaterial Name
QuantityValue  (₹)
- category;?> - - supplier_name;?> - - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - - - - -
- -
-
-
- +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategorySupplier NameMaterial Name
QuantityValue  (₹)
+ category; ?> + + supplier_name; ?> + + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + + + + +
+
+
+
-
- -
+
+
+
- - - - - - + + + + + + + + - - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/Views/Report_consolidate_year_inward.php b/app/Views/Report_consolidate_year_inward.php index cff6d1ce..e310c3f3 100755 --- a/app/Views/Report_consolidate_year_inward.php +++ b/app/Views/Report_consolidate_year_inward.php @@ -1,233 +1,183 @@ + + + - -
-
-
- -
- -
-
-

Report - Consolidate-Inwardinput->get('ab')){ - $ab = $this->input->get('ab'); - echo '('.$ab.')'; - } - ?>

-
- - -
-
- - - - - - - - - - - - - - - - input->get('ab'); - $month=date('F'); - $m = $this->input->get('m'); - //echo $month; - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
Total - - - - - - - - - - -
- + + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ + +
+
+
-
- -
- -
-
-
- - +
+
+ - - - - - - + + + + + + + + - - - \ 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_costcenter.php b/app/Views/Report_costcenter.php index c8a6d5b9..efd57160 100755 --- a/app/Views/Report_costcenter.php +++ b/app/Views/Report_costcenter.php @@ -1,139 +1,166 @@ + + + - -
-
-
- -
- -
-
-

Report - Cost Center

- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - } - - ?>

-
- - -
-
- -
-
- - -
-
- - -
-
-
-
- - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Cost Center CodeCost Center Name DepartmentBudget TypeBudget YearUtilized Amount  (₹)Balance Amount  (₹)
Cost_Center_Code?>Cost_Center_Name?>Dept_Name?>BudgetType?>BudgetYear?>Util_Amount,2,'.','')?>Avlbl_Amt,2,'.','')?>
- +
+
-
-
- -
- - - - - - +
+
+
+ - +
+ +
+
+
+ + + +
+
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Cost Center CodeCost Center Name DepartmentBudget TypeBudget YearUtilized Amount  (₹)Balance Amount  (₹)
Cost_Center_Code?>Cost_Center_Name?>Dept_Name?>BudgetType?>BudgetYear?>Util_Amount,2,'.','')?>Avlbl_Amt,2,'.','')?>
+
+
+
+
+ + + + + + + + + + + + + + + + + @@ -147,45 +174,47 @@ // Bootstrap datepicker // Set up your table + $(document).ready(function() { - table = $('#cc').DataTable( { - "language": { - "emptyTable":"
Data Not Found !
" - }, - "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: $('h3').text(), - exportOptions: { - columns: ':visible' - - } - }, - - 'colvis' - ] - } ); -} ); + // 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 + info: false, // Disable table information + lengthChange: false, // Disable page length options + pageLength: 10, // Default rows per page + responsive: true, // Keep responsive design + language: { + paginate: { + next: '', // Next button icon + previous: '' // Previous button icon + } + } + }); +}); - $('#mySelect').on('change',function(){ - - table + + $('#mySelect').on('change',function(){ + table .column(4) .search(this.value) .draw(); }); + function Reset() -{ - $('#mySelect').val(''); - -} + { + $('#mySelect').val(''); + + } diff --git a/app/Views/Report_cumulative_day_inward.php b/app/Views/Report_cumulative_day_inward.php index 1ad032d5..8db34487 100755 --- a/app/Views/Report_cumulative_day_inward.php +++ b/app/Views/Report_cumulative_day_inward.php @@ -1,149 +1,131 @@ + + +
+
+ +
+ +
+
+
+
+
+ +
- - - - - -
-
-
- -
- -
-
-

Report - Cumulative - Inward()

-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ + +
+
+
+
-
- -
- -
- -
+
+
+ @@ -152,78 +134,32 @@ if(!empty($mms)) + + - - - \ No newline at end of file + } + }); + }); + \ No newline at end of file diff --git a/app/Views/Report_cumulative_day_raw.php b/app/Views/Report_cumulative_day_raw.php index 6d8dbe63..f049c331 100755 --- a/app/Views/Report_cumulative_day_raw.php +++ b/app/Views/Report_cumulative_day_raw.php @@ -1,151 +1,140 @@ + + +
+
+ +
+ +
+
+
+
+
+ +
- - -
-
-
- -
- -
-
-

Report - Cumulative-Category-Wise()

-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategorySupplier NameMaterial Name
QuantityValue  (₹)
category;?> - supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategorySupplier NameMaterial Name
QuantityValue  (₹)
category; ?> + supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + + + + + +
+ + +
+
+
+
-
- -
- -
- -
+
+
+ @@ -154,78 +143,32 @@ + + - - - \ No newline at end of file + } + }); + }); + \ No newline at end of file diff --git a/app/Views/Report_cumulative_inward.php b/app/Views/Report_cumulative_inward.php index 8ef2ce04..a0e1beac 100755 --- a/app/Views/Report_cumulative_inward.php +++ b/app/Views/Report_cumulative_inward.php @@ -1,233 +1,205 @@ - - + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); +} else { + $yearl = (date('Y') - 1) . '-' . date('Y'); } ?> +
+
+ +
+ +
+
+
+
+
+
- -
- +
+
+ @@ -236,155 +208,207 @@ if(!empty($mms)) + + - - - \ No newline at end of file + + \ No newline at end of file diff --git a/app/Views/Report_cumulative_month_inward.php b/app/Views/Report_cumulative_month_inward.php index 5adb549b..6a12d364 100755 --- a/app/Views/Report_cumulative_month_inward.php +++ b/app/Views/Report_cumulative_month_inward.php @@ -1,145 +1,136 @@ - - +
+
+ +
+ +
+
+
+
+
+ +
- } - .btn-success { - background-color: #00d976;; - border-color: #00d976;; - } - - - -
-
-
- -
- -
-
-

Report - Cumulative Month - Inward()

-
- - -
-
- - - - - - - - - - - - - - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - $month=date('F'); - //echo $month; - foreach($cum_month as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  (₹)
- supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + $month = date('F'); + //echo $month; + foreach ($cum_month as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ + +
+
+
+
-
- -
- -
- -
+
+
+ @@ -148,81 +139,31 @@ + + - - - \ No newline at end of file + $.fn.dataTable.moment('DD-MM-YYYY'); + // 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_cumulative_month_raw.php b/app/Views/Report_cumulative_month_raw.php index 18f27430..9bd3fbef 100755 --- a/app/Views/Report_cumulative_month_raw.php +++ b/app/Views/Report_cumulative_month_raw.php @@ -1,157 +1,145 @@ + + +
+
+ +
+ +
+
+
+
+
+ +
- - -
-
-
- -
- -
-
-

Report - Cumulative Month-Category-Wise()

-
- - -
-
- - - - - - - - - - - - - - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - $month=date('F'); - //echo $month; - foreach($cum_month as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategorySupplier NameMaterial Name
QuantityValue  (₹)
category;?> - supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + $month = date('F'); + //echo $month; + foreach ($cum_month as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategorySupplier NameMaterial Name
QuantityValue  (₹)
category; ?> + supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + + + + + +
+ + +
+
+
+
-
- -
- -
- -
+
+
+ @@ -160,78 +148,64 @@ + + - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/Views/Report_cumulative_raw.php b/app/Views/Report_cumulative_raw.php index 60bfe74b..cf2bf7d1 100755 --- a/app/Views/Report_cumulative_raw.php +++ b/app/Views/Report_cumulative_raw.php @@ -1,241 +1,221 @@ - - + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); +} else { + $yearl = (date('Y') - 1) . '-' . date('Y'); } + ?> + +
+
+ +
+ +
+
+
+
+
+ +
- - -
-
-
- -
- -
-
-

Report - Cumulative-Category-Wise( - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - echo $yearl; - ?> - )

-
- - -
-
- - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - ?> - - - - - - - - - - - - - - - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - - - foreach($cum as $index=>$rel) - { - $cat = $rel->category; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Category
QuantityValue  ()QuantityValue  ()QuantityValue  ()
- category;?> - - tquantity); - ?> - tquantity);?> - ttotal,2,'.',''); - ?> - ttotal,2,'.','');?> - mquantity); - ?> - mquantity);?> - mtotal,2,'.',''); - ?> - mtotal,2,'.','');?> - quantity); - ?> - quantity);?> - total,2,'.',''); - ?> - total,2,'.','');?> -
Total - - - - - - - - - - - - - - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + ?> + + + + + + + + + + + + + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + + + foreach ($cum as $index => $rel) { + $cat = $rel->category; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Category
QuantityValue  (₹)QuantityValue  (₹)QuantityValue  (₹)
+ category; ?> + + tquantity); + ?> + tquantity); ?> + ttotal, 2, '.', ''); + ?> + ttotal, 2, '.', ''); ?> + mquantity); + ?> + mquantity); ?> + mtotal, 2, '.', ''); + ?> + mtotal, 2, '.', ''); ?> + quantity); + ?> + quantity); ?> + total, 2, '.', ''); + ?> + total, 2, '.', ''); ?> +
Total + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
-
- -
- -
- -
- +
+
+ @@ -244,58 +224,37 @@ if(!empty($mms)) + + + \ No newline at end of file diff --git a/app/Views/Report_cumulative_year_inward.php b/app/Views/Report_cumulative_year_inward.php index a52bce32..80f034bc 100755 --- a/app/Views/Report_cumulative_year_inward.php +++ b/app/Views/Report_cumulative_year_inward.php @@ -1,250 +1,215 @@ - - + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); +} else { + $yearl = (date('Y') - 1) . '-' . date('Y'); } +$yearl; ?> + +
+
+ +
+ +
+
+
+
+
+ +
- - -
-
-
- -
- -
-
-

Report - Cumulative Year - Inward( - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - echo $yearl; - ?> - )

-
- - -
-
- - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - ?> - - - - - - - - - - - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - foreach($cum_year as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial Name
QuantityValue  ( )
- supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - -
- +
+
-
-
- -
- -
- -
+
+
+
+ + +
+ +
+ + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + ?> + + + + + + + + + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + foreach ($cum_year as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial Name
QuantityValue  (₹)
+ supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ + +
+
+
+
+
+
+
+
+ + - + + - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/Views/Report_cumulative_year_raw.php b/app/Views/Report_cumulative_year_raw.php index aea8f26b..dbeee1bd 100755 --- a/app/Views/Report_cumulative_year_raw.php +++ b/app/Views/Report_cumulative_year_raw.php @@ -1,253 +1,223 @@ + += 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); +} else { + $yearl = (date('Y') - 1) . '-' . date('Y'); +} +$yearl; +?> + +
+
+ +
+ +
+
+
+
+
+ +
- - -
-
-
- -
- -
-
-

Report - Cumulative Year-Category-Wise( - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - echo $yearl; - ?> - )

-
- - -
-
- - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - ?> - - - - - - - - - - - - - - = 4) { - $yearl = date('Y').'-'.(date('Y')+1); - } else { - $yearl = (date('Y')-1).'-'.date('Y'); - } - $ab=$yearl; - foreach($cum_year as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
CategorySupplier NameMaterial Name
QuantityValue  ( ₹ )
category;?> - supplier_name;?> - material_name;?>tquantity); - echo round($rel->tquantity);?>ttotal,2,'.',''); - echo number_format($rel->ttotal,2,'.','');?>
Total - - - - - - - - - - - - - - -
- +
+
+
+
+
+
+ + +
+ +
+ + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + ?> + + + + + + + + + + + + + + = 4) { + $yearl = date('Y') . '-' . (date('Y') + 1); + } else { + $yearl = (date('Y') - 1) . '-' . date('Y'); + } + $ab = $yearl; + foreach ($cum_year as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategorySupplier NameMaterial Name
QuantityValue  (₹)
category; ?> + supplier_name; ?> + material_name; ?>tquantity); + echo round($rel->tquantity); ?>ttotal, 2, '.', ''); + echo number_format($rel->ttotal, 2, '.', ''); ?>
Total + + + + + + + + + + + + + + +
+ + + +
+
+
+
-
- -
- -
- -
+
+
+
+ + + + + + + + - - - - - + $.fn.dataTable.moment('DD-MM-YYYY'); + // 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 + // $( api.column( 3 ).footer() ).html( TotalVALUE.toFixed(2).bold() ); + \ No newline at end of file diff --git a/app/Views/Report_month_wise_inward.php b/app/Views/Report_month_wise_inward.php index 8c3c8994..3fef32de 100755 --- a/app/Views/Report_month_wise_inward.php +++ b/app/Views/Report_month_wise_inward.php @@ -1,252 +1,190 @@ - + -
-
-
- -
- -
-
-
-

-

Report - Month-wise-Inward()

-

-
-
- -
-
- - - - - - - - - - - - input->get('ab'); - $last = $this->input->get('dat'); - $new = date("F", strtotime($last)) . "\n"; - foreach ($month as $rel) { - ?> - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial NameQuantityTotal Value  (₹)
- supplier_name; ?> - material_name; ?>quantity); - echo round($rel->quantity); ?>total, 2, '.', ''); - echo number_format($rel->total, 2, '.', ''); ?>
- - - - - - - - - - - -
+
+
+ +
+ +
+
+
+
+
+ +
- +
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial NameQuantityTotal Value  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
+ + + + + + + + + + + +
+ +
+
+
+
+
- -
-
-
+
+
- - - - - - - + + + + + + + \ No newline at end of file + \ No newline at end of file diff --git a/app/Views/Report_monthly_gst.php b/app/Views/Report_monthly_gst.php index 9d0d96e2..4bda46f8 100755 --- a/app/Views/Report_monthly_gst.php +++ b/app/Views/Report_monthly_gst.php @@ -1,288 +1,272 @@ + - -
-
-
- -
- -
-
-

Report - Monthly GST -

- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - if($this->input->post('from_date') && $this->input->post('to_date')){ - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - echo $frm.'-to-'.$t; - } - - ?> -

-
- - -
- -
- -
-
- -
- -
-
-
- -
- - - - -
-
- - -
- -
- - - - -
- -
-
- -
- -
-
-


- - -
-
-
- - - -
- - -
-
-
- - - - - - - - - - - input->post('month'); - $frm=$this->input->post('from_date'); - $t=$this->input->post('to_date'); - $ab=$this->input->post('financialyear'); - if(!empty($monthly_gst_purchase) and !empty($monthly_gst_sales)){ ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameSales  ()Purchase  ()Net  ()
SGSTsgst,2);?>sgst,2);?>sgst - $monthly_gst_purchase[0]->sgst; - echo round($sgst_net,2);?>
CGSTcgst,2);?>cgst,2);?>cgst - $monthly_gst_purchase[0]->cgst; - echo round($cgst_net,2);?>
IGSTigst,2);?>igst,2);?>igst - $monthly_gst_purchase[0]->igst; - echo round($igst_net,2);?>
Total GSTtotal,2);?>total,2);?>total - $monthly_gst_purchase[0]->total; - echo round($total_net,2);?>
-
-
- -
- -
-
-
-
- -
- -
-
-
+ + +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ +
+ +
+
+
+ + + +
+
+ +
+ "> +
+
+
+ +
+ "> +
+ +
+
+ +
+ + + + +
+
+ +
+
+


+ + + +
+
+ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSales  ()Purchase  ()Net  ()
SGSTsgst,2);?>sgst,2);?>sgst - $monthly_gst_purchase[0]->sgst; + echo round($sgst_net,2);?>
CGSTcgst,2);?>cgst,2);?>cgst - $monthly_gst_purchase[0]->cgst; + echo round($cgst_net,2);?>
IGSTigst,2);?>igst,2);?>igst - $monthly_gst_purchase[0]->igst; + echo round($igst_net,2);?>
Total GSTtotal,2);?>total,2);?>total - $monthly_gst_purchase[0]->total; + echo round($total_net,2);?>
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + @@ -375,6 +359,4 @@ $(document).ready(function() { } - - \ No newline at end of file diff --git a/app/Views/Report_openorder.php b/app/Views/Report_openorder.php index b79259e3..c6847981 100755 --- a/app/Views/Report_openorder.php +++ b/app/Views/Report_openorder.php @@ -52,9 +52,9 @@
@@ -123,7 +123,7 @@
- +
@@ -132,7 +132,7 @@
- +
@@ -160,7 +160,8 @@
-

+

+ @@ -242,6 +243,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 diff --git a/app/Views/Report_pending_purchase.php b/app/Views/Report_pending_purchase.php index 913a9c29..1add1af4 100755 --- a/app/Views/Report_pending_purchase.php +++ b/app/Views/Report_pending_purchase.php @@ -71,7 +71,7 @@
">
-
+
@@ -84,7 +84,7 @@ endforeach; ?>
-
+
@@ -97,7 +97,7 @@ endforeach; ?>
-
+
@@ -110,7 +110,7 @@ endforeach; ?>
-
+
@@ -127,7 +127,7 @@

-
+
@@ -135,7 +135,7 @@
-
+
@@ -144,7 +144,7 @@
-
+
@@ -157,8 +157,7 @@ endforeach; ?>
-
-

+

@@ -351,6 +350,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 diff --git a/app/Views/Report_purchase.php b/app/Views/Report_purchase.php index c8006637..3eed6072 100755 --- a/app/Views/Report_purchase.php +++ b/app/Views/Report_purchase.php @@ -71,7 +71,7 @@
-
+
@@ -84,7 +84,7 @@ endforeach; ?>
-
+
@@ -97,7 +97,7 @@ endforeach; ?>
-
+
@@ -110,7 +110,7 @@ endforeach; ?>
-
+
@@ -127,7 +127,7 @@

-
+
@@ -135,7 +135,7 @@
-
+
@@ -144,8 +144,9 @@
-
-

+
+

+
@@ -425,6 +426,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 diff --git a/app/Views/Report_purchase_inward.php b/app/Views/Report_purchase_inward.php index b6891477..78cc0849 100755 --- a/app/Views/Report_purchase_inward.php +++ b/app/Views/Report_purchase_inward.php @@ -1,820 +1,435 @@ + - -
-
-
- -
- -
-
-

Inward Details

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - echo ' '.' '; - } - if($this->input->post('item_name')){ - $it=$this->input->post('item_name'); - echo $it; - echo ' '.' '; - } - - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - if($this->input->post('from_date') && $this->input->post('to_date')){ - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - echo $frm.'-to-'.$t; - } - - ?>

-
- - -
+ - - -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - - - -
-
- - -
- -
- - - - -
- -
-

- - -
-
- - - - -
- - - - - -
+
+
- - - - - - - - - + + + + + + + \ No newline at end of file + }); + }); + \ No newline at end of file diff --git a/app/Views/Report_supplier.php b/app/Views/Report_supplier.php index 1d73cc98..d25d05dd 100755 --- a/app/Views/Report_supplier.php +++ b/app/Views/Report_supplier.php @@ -73,7 +73,7 @@
-
+
@@ -86,20 +86,7 @@ endforeach; ?>
-
- - -
-
+
@@ -112,7 +99,7 @@ endforeach; ?>
-
+
@@ -126,10 +113,7 @@
-
-
-
-
+
@@ -137,7 +121,11 @@
-
+
+
+
+ +
@@ -146,8 +134,9 @@
-
-

+
+

+
@@ -272,6 +261,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 diff --git a/app/Views/Report_supplier_inward.php b/app/Views/Report_supplier_inward.php index 6478c8a3..2df2f81a 100755 --- a/app/Views/Report_supplier_inward.php +++ b/app/Views/Report_supplier_inward.php @@ -1,420 +1,314 @@ - + - -
-
-
- -
- -
-
-

Report - Supplier-Inward

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - echo ' '.' '; - } - - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - if($this->input->post('from_date') && $this->input->post('to_date')){ - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - echo $frm.'to'.$t; - } - - ?>

-
- - -
+ - +
+
+ +
+ +
+
+
+
+
+ +
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - - - -
-
- - -
- -
- - - - -
-
-

- - -
-
- - - - -
- - - -
-
- - - - - - - - - - - - - input->post('financialyear'); - $month=$this->input->post('month'); - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NamePO CountQuantityValue  (₹)
- supplier_name;?> - counts); - echo round($rel->counts);?>quantity); - echo round($rel->quantity);?>value; - echo number_format($rel->value,2,'.','');?>
Total - - - - - - - - - - -
- +
+
+
+
+
+ + +
+ +
+ +
+
+
+ + +
+
+ + +
+
+ + + + +
+
+ + +
+
+ + + + + +
+
+ + + + + +
+
+ + + + +
+
+ + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NamePO CountQuantityValue  (₹)
+ supplier_name; ?> + counts); + echo round($rel->counts); ?>quantity); + echo round($rel->quantity); ?>value; + echo number_format($rel->value, 2, '.', ''); ?>
Total + + + + + + + + + + +
+ + + + +
+
+
+
-
- -
- -
-
+
+
+
-
- - - - - - - + + + + + + + + - - - \ No newline at end of file + }); + }); + \ No newline at end of file diff --git a/app/Views/Report_supplier_summary.php b/app/Views/Report_supplier_summary.php index ffd84bf8..77fd6556 100755 --- a/app/Views/Report_supplier_summary.php +++ b/app/Views/Report_supplier_summary.php @@ -1,404 +1,257 @@ - - + - -
-

-
- -
- -
-
-

Report - Supplier_Summary

- input->post('client_name')){ - $cl=$this->input->post('client_name'); - echo $cl; - echo ' '.' '; - } - - if($this->input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - if($this->input->post('from_date') && $this->input->post('to_date')){ - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - echo $frm.'to'.$t; - } - - ?>

-
- - -
+ -
+
+
+ +
+ +
+
+
+
+
+ +
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- - - - -
-
- - -
- -
- - - - -
-
-

- - -
-
- - - - -
- - - -
-
- - - - - - - - - - - - input->post('financialyear'); - $month=$this->input->post('month'); - $frm = $this->input->post('from_date'); - $t = $this->input->post('to_date'); - foreach($spurchse as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Supplier NameQuantityValue  (₹)
- supplier_name;?> - quantity); - echo round($rel->quantity);?>value; - echo number_format($rel->value,2,'.','');?>
Total - - - - - - - -
- +
-
+
+
+
+ + +
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + + + +
+
+ + +
+ +
+ + + + +
+ +
+

+ + +
+
+ + +
+ + +
+ + + + + + + + + + + + input->post('financialyear'); + $month = $this->input->post('month'); + $frm = $this->input->post('from_date'); + $t = $this->input->post('to_date'); + foreach ($spurchse as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameQuantityValue  (₹)
+ supplier_name; ?> + quantity); + echo round($rel->quantity); ?>value; + echo number_format($rel->value, 2, '.', ''); ?>
Total + + + + + + + +
+ + + + +
+
+
+
- -
- -
-
-
+
+
+
+
- - - - - - - - + + + + + + + - - - \ No newline at end of file + }); + }); + \ No newline at end of file diff --git a/app/Views/Report_totalorders.php b/app/Views/Report_totalorders.php index b00883e8..89d272c3 100755 --- a/app/Views/Report_totalorders.php +++ b/app/Views/Report_totalorders.php @@ -41,9 +41,9 @@
@@ -59,25 +59,36 @@
-
- + + + + + + + - {?> - - - - - - - -
-
- + +
+
+ + +
+ @@ -145,37 +156,39 @@ + + \ No newline at end of file diff --git a/app/Views/Report_year_wise.php b/app/Views/Report_year_wise.php index 106db822..eee56ba7 100755 --- a/app/Views/Report_year_wise.php +++ b/app/Views/Report_year_wise.php @@ -4,9 +4,8 @@ + - - - -
-
-
- -
- -
-
-

Report - Year-Wise-Inward

- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - - ?>

-
- - -
- -
-
-
-
-
- -
-
- -
-
- -
- - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Month-YearQuantityTotal Value  (₹)
- materialrcvddate); - $new = date('M-y', $da); - $pass = date('Y-m-d',$da); - $ab=$this->input->post('financialyear'); - //echo $rel->CreatedDate; - ?> - - - quantity; - echo round($rel->quantity);?>value,2,'.',''); - echo number_format($rel->value,2,'.','');?>
input->post('financialyear'); - $Total="Total"; - echo anchor('report/iyear_wise_total/' . $ab,$Total); ?> - - - - - - - - - -
- -
-
- -
- - -
- -
- +
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ + +
+ +
+ + + +
+
+ + +
+
+ + + +
+
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Month-YearQuantityTotal Value  (₹)
+ materialrcvddate); + $new = date('M-y', $da); + $pass = date('Y-m-d', $da); + $ab = $financialyear; + //echo $rel->CreatedDate; + ?> + + + quantity; + echo round($rel->quantity); ?>value, 2, '.', ''); + echo number_format($rel->value, 2, '.', ''); ?>
+ + + + + + + + + +
+ + +
+
+
+
+
+
+
+
+ @@ -182,95 +181,44 @@ + + - - - \ No newline at end of file + $.fn.dataTable.moment('DD-MM-YYYY'); + // 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_year_wise_total_inward.php b/app/Views/Report_year_wise_total_inward.php index 915deb1f..457311e8 100755 --- a/app/Views/Report_year_wise_total_inward.php +++ b/app/Views/Report_year_wise_total_inward.php @@ -1,130 +1,130 @@ - - + + - -
-
-
- -
- -
-
-

Report - Year-wise-Total()

-
- -
-
- - - - - - - - - - - - - uri->total_segments(); - $ab=$this->uri->segment($last); - foreach($ytotal as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - -
Supplier NameMaterial NameQuantityTotal Value  (₹)
- supplier_name;?> - material_name;?>quantity); - echo round($rel->quantity);?>total,2,'.',''); - echo number_format($rel->total,2,'.','');?>
- - - - - - - - - - - -
- -
-
-
- -
- -
-
+ + +
+
+ +
+ +
+
+
+
+
+ +
+
+
+
+
+
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Supplier NameMaterial NameQuantityTotal Value  (₹)
+ supplier_name; ?> + material_name; ?>quantity); + echo round($rel->quantity); ?>total, 2, '.', ''); + echo number_format($rel->total, 2, '.', ''); ?>
+ + + + + + + + + + + +
+ +
+
+
+
+
+
+
+
+ @@ -133,120 +133,82 @@ + + - - - \ No newline at end of file + $.fn.dataTable.moment('DD-MM-YYYY'); + // 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/accountsDashboard.php b/app/Views/accountsDashboard.php index afde5728..c2ebacde 100644 --- a/app/Views/accountsDashboard.php +++ b/app/Views/accountsDashboard.php @@ -334,7 +334,7 @@
- 'InvoiceNO', 'value' => set_value('InvoiceNO'), 'id' => 'Invoice_No', 'class' => 'form-control', 'required=>"true"'); + 'InvoiceNO', 'value' => set_value('InvoiceNO'), 'id' => 'Invoice_No', 'class' => 'form-control', 'required' =>true); echo form_input($data); ?>
@@ -343,7 +343,7 @@
'InvoiceDate', 'value' => set_value('InvoiceDate'), 'id' => 'Invoice_Date', 'class' => 'form-control', 'required=>"true"'); + $data = array('name' => 'InvoiceDate', 'value' => set_value('InvoiceDate'), 'id' => 'Invoice_Date', 'class' => 'form-control', 'required' =>true); echo form_input($data); ?>
@@ -352,7 +352,7 @@
'MaterialRcvdDate', 'value' => set_value('MaterialRcvdDate'), 'id' => 'MaterialRcvdDate', 'class' => 'form-control'); + $data = array('name' => 'MaterialRcvdDate', 'value' => set_value('MaterialRcvdDate'), 'id' => 'MaterialRcvdDate', 'class' => 'form-control' ,'required' =>true); echo form_input($data); ?>
@@ -408,9 +408,9 @@
- + 'MasterRemarks', 'value' => set_value('MasterRemarks'), 'id' => 'MasterRemarks', 'class' => 'form-control', 'autocomplete' => 'off','rows' => 3); + $data = array('name' => 'MasterRemarks', 'value' => set_value('MasterRemarks'), 'id' => 'MasterRemarks', 'class' => 'form-control', 'autocomplete' => 'off','rows' => 3,'required' =>true); echo form_textarea($data); ?>
@@ -972,6 +972,16 @@ }); }); $('#draftIGR').click(function() { + let remarks = $('#MasterRemarks').val().trim(); + let rcvdDate = $('#MaterialRcvdDate').val().trim(); + let invoiceDate = $('#InvoiceDate').val().trim(); + let invoiceNo = $('#Invoice_No').val().trim(); + + // any are empty + if (!remarks || !rcvdDate || !invoiceDate || !invoiceNo) { + alert("Please fill all the required fields"); + return; // Stop + } // $('#content').loader('show'); var igrno = $("#IGRNO1").val(); var pono = $("#PONO1").val(); @@ -1035,7 +1045,16 @@ }); }); $('#generateIGR').click(function() { - + let remarks = $('#MasterRemarks').val().trim(); + let rcvdDate = $('#MaterialRcvdDate').val().trim(); + let invoiceDate = $('#InvoiceDate').val().trim(); + let invoiceNo = $('#Invoice_No').val().trim(); + + // any are empty + if (!remarks || !rcvdDate || !invoiceDate || !invoiceNo) { + alert("Please fill all the required fields"); + return; // Stop + } var igrno = $("#IGRNO1").val(); var pono = $("#PONO1").val(); var status = 1; diff --git a/app/Views/deliver_perform.php b/app/Views/deliver_perform.php index 84e4257f..6d2a02f4 100755 --- a/app/Views/deliver_perform.php +++ b/app/Views/deliver_perform.php @@ -1,379 +1,286 @@ + + - - - -
-
-
- -
- -
-
-

Delivery Performance
- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - - ?> -

- -
- -
+ -
+
+
+ +
+ +
+
+
+
+
+ +
-
- - - -
- -
- -
-
-
- -
- -
- - - -
-

- - -
- - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - uri->total_segments(); - // $ab=$this->uri->segment($last); - $i=0; - foreach($per as $rel) - { - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OrderedDateDispatchDateCustomerNameInvoiceNumberOrderedQuantityDispatchQuantityRating
invoice_date_created)); - echo $itemdate; - ?> - invoice_date_created)); - echo $invoicedate; - ?> - client_name);?>invoice_number); ?>qty); - echo number_format(round($rel->qty)); - ?>qty); - echo number_format(round($rel->qty)); - ?>qty); - $DispatchQuantity= round($rel->qty); - $Rating =@($DispatchQuantity / $OrderedQuantity )*100; - - - echo number_format($Rating, 2, '.', ' ') ; ?>
   Total  - - - - - -  
- +
+
+
+
+
+
+ + +
+ +
"> +
+ +
+
+ + +
+ +
+ + + + + +
+ + +
+ + + + +
+ +
+
+
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + uri->total_segments(); + // $ab=$this->uri->segment($last); + $i = 0; + foreach ($per as $rel) { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OrderedDateDispatchDateCustomerNameInvoiceNumberOrderedQuantityDispatchQuantityRating
invoice_date_created)); + echo $itemdate; + ?> + invoice_date_created)); + echo $invoicedate; + ?> + client_name); ?>invoice_number); ?>qty); + echo number_format(round($rel->qty)); + ?>qty); + echo number_format(round($rel->qty)); + ?>qty); + $DispatchQuantity = round($rel->qty); + $Rating = @($DispatchQuantity / $OrderedQuantity) * 100; + + + echo number_format($Rating, 2, '.', ' '); ?>
   Total  + + + + + +  
+
+
+
-
- -
- -
-
-
- +
+
+
- - - - - - - + + + + + + + - - - \ No newline at end of file + }); + }); + \ No newline at end of file diff --git a/app/Views/employeeLeaveApplicationForm.php b/app/Views/employeeLeaveApplicationForm.php index 594a4fa5..a89fe967 100755 --- a/app/Views/employeeLeaveApplicationForm.php +++ b/app/Views/employeeLeaveApplicationForm.php @@ -229,7 +229,7 @@
-
+
@@ -258,10 +258,10 @@
diff --git a/app/Views/emppayListing.php b/app/Views/emppayListing.php index fadad718..13ad4ab7 100755 --- a/app/Views/emppayListing.php +++ b/app/Views/emppayListing.php @@ -17,7 +17,7 @@
- Create New Loan + Create New Loan
diff --git a/app/Views/inwardgateregister.php b/app/Views/inwardgateregister.php index e4ce954d..5b91579b 100755 --- a/app/Views/inwardgateregister.php +++ b/app/Views/inwardgateregister.php @@ -145,7 +145,7 @@ ?>
- + 'MasterRemarks', 'value' => set_value('MasterRemarks'), 'id' => 'MasterRemarks', 'class' => 'form-control', 'autocomplete' => 'off','rows' => 3); echo form_textarea($data); @@ -167,7 +167,7 @@ Received Quantity Balance Quantity Invoice Quantity* - Remarks* + Remarks @@ -307,6 +307,19 @@ } $('#IGRLink, #IGRDraftLink').on('click', function(e) { + let remarks = $('#MasterRemarks').val().trim(); + let rcvdDate = $('#MaterialRcvdDate').val().trim(); + let invoiceDate = $('#InvoiceDate').val().trim(); + let invoiceNo = $('#InvoiceNo').val().trim(); + let pono = $('#PONO').val().trim(); + + + // any are empty + if (!pono || !remarks || !rcvdDate || !invoiceDate || !invoiceNo) { + alert("Please fill all the required fields"); + return; // Stop + } + console.log("All fields filled. Proceeding..."); e.preventDefault(); const $btn = $(this); const strMsg = $btn.is('#IGRLink') @@ -517,7 +530,12 @@ value: item.MaterialCode, name: 'MaterialCode' + i }).appendTo('form'); - + $('').attr({ + type: 'hidden', + id: 'LineItemNo' + i, + value: item.LineItemNo, + name: 'LineItemNo' + i + }).appendTo('form'); $('').attr({ type: 'hidden', id: 'txtQuantityAsPerInvoice' + i, @@ -639,17 +657,10 @@ } function validateReceivedQuantity(Rowid) { - //alert(Rowid); var InvoiceQty = parseFloat($('#QuantityAsPerInvoice' + Rowid).val() == '' ? '0.00' : $('#QuantityAsPerInvoice' + Rowid).val()); var PendingQty = parseFloat($('#PendingQuantity' + Rowid).text() == '' ? '0.00' : $('#PendingQuantity' + Rowid).text()); var RecQty = parseFloat($('#txtReceivedQuantity' + Rowid).val() == '' ? '0.00' : $('#txtReceivedQuantity' + Rowid).val()); var OrderedQty = parseFloat($("#Quantity_1" + Rowid).text()); - var r = $("#Remark" + Rowid).val(); - if (r == '') { - alert("Please Enter the Remark") - $("#Remark" + Rowid).focus(); - return false; - } var isOpenOrder = parseInt($("#hiddenIsOpenOrder").val(), 2); var formatted_IsOpenOrder = (isOpenOrder === 0 || isNaN(isOpenOrder)) ? 0 : 1; if (formatted_IsOpenOrder == 0) { diff --git a/app/Views/report_emp.php b/app/Views/report_emp.php index 63c4588a..9e8f9c59 100755 --- a/app/Views/report_emp.php +++ b/app/Views/report_emp.php @@ -1,303 +1,297 @@ + - -
-
-
- -
- -
-
-

Employee Performance
- input->post('financialyear')){ - $ab=$this->input->post('financialyear'); - echo '('.$ab.')'; - echo ' '; - - } - if($this->input->post('month')){ - $m=$this->input->post('month'); - echo '('.$m.')'; - echo ' '; - } - - ?> -

- -
- -
+ .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; */ + + } + + +
+
+ +
+ +
+
+
+
+
+
-
- -
- -
- - - -
-

- - -
- - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - uri->total_segments(); - $ab=$this->uri->segment($last); - foreach($per as $index =>$rel) - { - //echo $index; - //echo - ?> - - - - - - - - - - - - - - - - - - -
EmpIDEmployee Name Status
Month
Year
Total DaysPresent DaysPercentageTotal DaysPresent DaysPercentage
- Eid;?> - ename;?>active == 1){ - echo 'Active'; - }else - { - echo 'In Active'; - } - ?>monthworked;?>monthpercentage;?>
- -
-
-
- -
- -
-
+ +
+
+
+
+
+ + +
+
+ +
+ + +
+
+ +
+ +
+
+ +
+ +
+ +
+ + + +
+ +

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $rel) + { + //echo $index; + //echo + ?> + + + + + + + + + + + + + + + + + + +
EmpIDEmployee Name Status
Month
Year
Total DaysPresent DaysPercentageTotal DaysPresent DaysPercentage
+ Eid;?> + ename;?>active == 1){ + echo 'Active'; + }else + { + echo 'In Active'; + } + ?>monthworked;?>monthpercentage;?>
+
+
+
+
+
+
+
+
+ + + + + + + + + - - - - - - - - \ No newline at end of file diff --git a/app/Views/report_pendingreqst.php b/app/Views/report_pendingreqst.php index 6988c8ee..2eeb4087 100755 --- a/app/Views/report_pendingreqst.php +++ b/app/Views/report_pendingreqst.php @@ -1,6 +1,3 @@ - - - + //for clear button + function Reset() { + $('#min').val(''); + $('#max').val(''); + $('#min-date').val(''); + $('#max-date').val(''); + $('#financialyear').val(''); + } + \ No newline at end of file diff --git a/app/Views/reportslink.php b/app/Views/reportslink.php index a136b0b2..ca030c4e 100644 --- a/app/Views/reportslink.php +++ b/app/Views/reportslink.php @@ -34,31 +34,32 @@

  Material Master

-

Material Master - supplier wise

-

Material Master - Item wise

-

Material Master - Receipt Value

+

Material Master - supplier wise

+

Material Master - Item wise

+

Material Master - Receipt Value

  Inward

-

Inward Details

-

Inward Summary

-

Year Wise-Inward

-

Inward-Supplier Wise

-

Consolidate Report-Inward

-

Cumulative Report-Inward

-

Cumulative Report - Category Wise-Inward

-

Consolidate Report - Category Wise-Inward

-

Report - DeliveryPerformance

+ Inward Details

+ Inward Summary

+ Year Wise-Inward

+ Inward-Supplier Wise

+ Consolidate Report-Inward

+ Cumulative Report-Inward

+ Cumulative Report - Category Wise-Inward

+ Consolidate Report - Category Wise-Inward

+ Report - DeliveryPerformance


  Finance Reports

-

Cost Cente

-

Production Salary Cost

+

Cost Center

+
+ + +

  GST Reports

-

Monthly GST Summary Report

+

Monthly GST Summary Report

+

  Sales Reports

@@ -81,14 +85,10 @@

-
-

  PayRoll

-

Employee Payroll

-
+

  Attendance

-

Employee Attendance

-

Employee Performance

+

Employee Performance

Leave Report

diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index 84815e86..b1b523d5 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -1411,6 +1411,13 @@ foreach ($period as $day) { let dropdown = document.getElementById("customizeHeader"); let selectedOption = dropdown.options[dropdown.selectedIndex]; + let containerId = `${selectedOption.value}_container` + let alreadyPresent = document.getElementById(containerId); + + if(alreadyPresent){ + return ; + } + if (selectedOption.value !== "") { let materialCode = selectedOption.value; let materialName = selectedOption.text; diff --git a/app/Views/stock/dieselStockDetails.php b/app/Views/stock/dieselStockDetails.php index 868f18aa..f5b2da8f 100644 --- a/app/Views/stock/dieselStockDetails.php +++ b/app/Views/stock/dieselStockDetails.php @@ -1,4 +1,7 @@