stock changes 22-04-2025
This commit is contained in:
parent
ea5f7b3680
commit
47fd42baee
@ -544,3 +544,6 @@ $routes->post('updateTrpProductionDetails', 'StockController::updateTrpProductio
|
||||
$routes->post('updateAbstractDetails','StockController::updateAbstractDetails');
|
||||
|
||||
|
||||
//Reports Module
|
||||
|
||||
$routes->get('allReports','Report::allReports');
|
||||
@ -1065,11 +1065,11 @@ pm.Status != 'ST030' and pm.Status != 'ST056' and pm.Status != 'ST027' ";
|
||||
|
||||
|
||||
$sql = "SELECT
|
||||
CASE WHEN MONTH(PODate)>=4 THEN
|
||||
concat(YEAR(PODate), '-',YEAR(PODate)+1)
|
||||
ELSE concat(YEAR(PODate)-1,'-', YEAR(PODate)) END AS financial_year
|
||||
FROM t_purchaseorder_master
|
||||
GROUP BY financial_year";
|
||||
CASE WHEN MONTH(PODate)>=4 THEN
|
||||
concat(YEAR(PODate), '-',YEAR(PODate)+1)
|
||||
ELSE concat(YEAR(PODate)-1,'-', YEAR(PODate)) END AS financial_year
|
||||
FROM t_purchaseorder_master
|
||||
GROUP BY financial_year";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->getResult();
|
||||
}
|
||||
|
||||
@ -125,6 +125,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<label for="from_date">
|
||||
|
||||
@ -952,10 +952,18 @@
|
||||
<?php }?>
|
||||
|
||||
|
||||
<!-- report generation -->
|
||||
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle arrow-none" href="#" id="topnav-report-generation" role="button"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fa fa-file"></i> Reports
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="topnav-report-generation">
|
||||
<a class="dropdown-item" href="<?= base_url('reports') ?>">All Reports</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul> <!-- end navbar-->
|
||||
</div> <!-- end .collapsed-->
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-shopping-cart"> Purchase </span></h4>
|
||||
<p class="uk-text-meta uk-margin-remove">Purchase</p>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase" target="_blank"><p class="uk-text uk-margin-remove">Purchase</p></a>
|
||||
<p class="uk-text-meta uk-margin-remove">Year Wise</p>
|
||||
<a href="<?php echo base_url(); ?>Report_pending_purchase" target="_blank"><p class="uk-text uk-margin-remove">Pending</p></a>
|
||||
<p class="uk-text-meta uk-margin-remove">Purchase Supplier - Wise</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user