stock changes 23-04-2025

This commit is contained in:
vadivelJ96 2025-04-24 09:07:52 +05:30
parent 3a6fa55af4
commit ea0d9afaaf
3 changed files with 47 additions and 22 deletions

View File

@ -1170,10 +1170,12 @@ class Report extends BaseController
$ab = $this->request->getPost('financialyear');
$data['ab'] = $ab;
$fa = substr((string)$ab, 0, -5);
$aa = substr((string)$ab, 5, 5);
$m = $this->request->getPost('month');
$data['m'] = $m;
//print_r($prod);

View File

@ -87,8 +87,12 @@
foreach($fy as $item):
{?>
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
<option
<?php echo isset($ab) && $ab == $item->financial_year ? "selected" : ""?>
value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
<?php } endforeach; ?>
@ -104,19 +108,38 @@
<div class="input-group">
<select class="form-control" id="month" name="month" required>
<option value="">Select Month</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<?php
$months=[
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
"January",
"February",
"March",
]
?>
<?php
foreach($months as $month){ ?>
<option
<?php echo isset($m) && $m == $month ? "selected" : "" ?>
value="<?=$month?>">
<?=$month?>
</option>
<?php }
?>
</select>
</div>

View File

@ -40,15 +40,15 @@
</div>
<div class="col-md-3">
<h4><span class="fa fa-truck">&nbsp; Inward</span></h4>
<a href="<?php echo base_url(); ?>Report_purchase_inward" target="_blank" >Inward Details<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_purchase_attach" target="_blank" >Inward Summary<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_year_wise_inward" target="_blank" >Year Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_supplier_inward" target="_blank" >Inward-Supplier Wise<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_inward" target="_blank" >Consolidate Report-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_inward" target="_blank" >Cumulative Report-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_purchase_inward" target="_blank" >Inward Details<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_purchase_attach" target="_blank" >Inward Summary<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_year_wise_inward" target="_blank" >Year Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_supplier_inward" target="_blank" >Inward-Supplier Wise<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_inward" target="_blank" >Consolidate Report-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_inward" target="_blank" >Cumulative Report-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_category" target="_blank" >Consolidate Report - Category Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
</div>
</div>
<hr>