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'); $ab = $this->request->getPost('financialyear');
$data['ab'] = $ab;
$fa = substr((string)$ab, 0, -5); $fa = substr((string)$ab, 0, -5);
$aa = substr((string)$ab, 5, 5); $aa = substr((string)$ab, 5, 5);
$m = $this->request->getPost('month'); $m = $this->request->getPost('month');
$data['m'] = $m;
//print_r($prod); //print_r($prod);

View File

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

View File

@ -40,15 +40,15 @@
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<h4><span class="fa fa-truck">&nbsp; Inward</span></h4> <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_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_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_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_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_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_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_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(); ?>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>
</div> </div>
<hr> <hr>