stock changes 23-04-2025
This commit is contained in:
commit
3a6fa55af4
@ -330,6 +330,7 @@ class Report extends BaseController
|
||||
|
||||
if ($this->request->getPost('financialyear')) {
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$a = substr((string)$ab, 0, -5);
|
||||
$b = substr((string)$ab, 5, 5);
|
||||
$data['year'] = $this->dahsboard_Model->report_year_wise($a, $b);
|
||||
@ -585,6 +586,7 @@ class Report extends BaseController
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$cat = $this->request->getVar('cat');
|
||||
$data['cat'] = $cat;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$m = $this->request->getPost('month');
|
||||
@ -615,13 +617,19 @@ class Report extends BaseController
|
||||
$this->global['pageTitle'] = 'Inward PO Reports';
|
||||
//$this->request->getPost('btn_submit');
|
||||
$cname = $this->request->getPost('client_name');
|
||||
$data['client_name'] = $cname;
|
||||
$prod = $this->request->getPost('item_name');
|
||||
$data['item_name'] = $prod;
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$m = $this->request->getPost('month');
|
||||
$data['month'] = $m;
|
||||
$frm = $this->request->getPost('from_date');
|
||||
$data['frm'] = $frm;
|
||||
$t = $this->request->getPost('to_date');
|
||||
$data['t'] = $t;
|
||||
|
||||
$sid = $this->request->getVar('sid');
|
||||
$mid = $this->request->getVar('mid');
|
||||
@ -637,13 +645,19 @@ class Report extends BaseController
|
||||
//$this->request->getPost('btn_submit');
|
||||
$cat = $this->request->getVar('cat');
|
||||
$cname = $this->request->getVar('cname');
|
||||
$data['client_name'] = $cname;
|
||||
$prod = $this->request->getVar('prod');
|
||||
$data['item_name'] = $prod;
|
||||
$ab = $this->request->getVar('ab');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$m = $this->request->getVar('m');
|
||||
$data['month'] = $m;
|
||||
$frm = $this->request->getVar('frm');
|
||||
$data['frm'] = $frm;
|
||||
$t = $this->request->getVar('t');
|
||||
$data['t'] = $t;
|
||||
$sid = $this->request->getVar('sid');
|
||||
$mid = $this->request->getVar('mid');
|
||||
$d = $this->request->getVar('d');
|
||||
@ -666,12 +680,17 @@ class Report extends BaseController
|
||||
$this->global['pageTitle'] = 'Inward Reports - Summary';
|
||||
if ($this->request->getPost('btn_submit')) {
|
||||
$cname = $this->request->getPost('client_name');
|
||||
$data['client_name'] = $cname;
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$m = $this->request->getPost('month');
|
||||
$data['month'] = $m;
|
||||
$frm = $this->request->getPost('from_date');
|
||||
$data['from_date'] = $frm;
|
||||
$t = $this->request->getPost('to_date');
|
||||
$data['to_date'] = $t;
|
||||
//print_r($prod);
|
||||
$data['material'] = $this->dahsboard_Model->material_name();
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
@ -702,6 +721,7 @@ class Report extends BaseController
|
||||
|
||||
if ($this->request->getPost('financialyear')) {
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$a = substr((string)$ab, 0, -5);
|
||||
$b = substr((string)$ab, 5, 5);
|
||||
$data['year'] = $this->dahsboard_Model->ireport_year_wise($a, $b);
|
||||
@ -730,17 +750,13 @@ class Report extends BaseController
|
||||
$data['month'] = $this->dahsboard_Model->ireport_month_wise($month);
|
||||
$this->loadviews("Report_month_wise_inward", $this->global, $data, NULL);
|
||||
}
|
||||
public function iyear_wise_total()
|
||||
public function iyear_wise_total($year)
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Inward Reports - Yearwise';
|
||||
$uri = service('uri');
|
||||
$last = $uri->getTotalSegments();
|
||||
$month = $uri->getSegment($last);
|
||||
$a = substr($month, 0, -5);
|
||||
$b = substr($month, 5, 5);
|
||||
//print_r($month);
|
||||
$data['year'] = $month;
|
||||
$a = substr($year, 0, -5);
|
||||
$b = substr($year, 5, 5);
|
||||
$data['year'] = $year;
|
||||
$data['ytotal'] = $this->dahsboard_Model->ireport_year_wise_total($a, $b);
|
||||
$this->loadviews("Report_year_wise_total_inward", $this->global, $data, NULL);
|
||||
}
|
||||
@ -751,12 +767,17 @@ class Report extends BaseController
|
||||
$this->global['pageTitle'] = 'Inward Reports - Supplierwise';
|
||||
if ($this->request->getPost('btn_submit')) {
|
||||
$cname = $this->request->getPost('client_name');
|
||||
$data['client_name'] = $cname;
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$m = $this->request->getPost('month');
|
||||
$data['month'] = $m;
|
||||
$frm = $this->request->getPost('from_date');
|
||||
$data['frm'] = $frm;
|
||||
$t = $this->request->getPost('to_date');
|
||||
$data['t'] = $t;
|
||||
//print_r($prod);
|
||||
$data['material'] = $this->dahsboard_Model->material_name();
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
@ -779,7 +800,9 @@ class Report extends BaseController
|
||||
$this->global['pageTitle'] = 'Inward Reports - Consolidate';
|
||||
if ($this->request->getPost('btn_submit')) {
|
||||
$cname = $this->request->getPost('client_name');
|
||||
$data['client_name'] = $cname;
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
//print_r($prod);
|
||||
@ -804,10 +827,14 @@ class Report extends BaseController
|
||||
$sid = $this->request->getVar('sid');
|
||||
$mid = $this->request->getVar('mid');
|
||||
$cname = $this->request->getVar('cname');
|
||||
$data['client_name'] = $cname;
|
||||
$prod = $this->request->getVar('prod');
|
||||
$data['item_name'] = $prod;
|
||||
//$mat = $this->request->getVar('mid');
|
||||
$m = $this->request->getVar('m');
|
||||
$data['month'] = $m;
|
||||
$ab = $this->request->getVar('ab');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
//print_r($prod);
|
||||
@ -828,9 +855,12 @@ class Report extends BaseController
|
||||
$sid = $this->request->getVar('sid');
|
||||
$mid = $this->request->getVar('mid');
|
||||
$cname = $this->request->getVar('cname');
|
||||
$data['client_name'] = $cname;
|
||||
$prod = $this->request->getVar('prod');
|
||||
$data['item_name'] = $prod;
|
||||
//$mat = $this->request->getVar('mid');
|
||||
$ab = $this->request->getVar('ab');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
//print_r($prod);
|
||||
@ -861,49 +891,23 @@ class Report extends BaseController
|
||||
|
||||
$this->loadviews("Report_cumulative_inward", $this->global, $data, NULL);
|
||||
}
|
||||
public function icum_month()
|
||||
public function icum_month($sup,$mat)
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Inward Reports - Cumulative-Monthwise';
|
||||
$uri = service('uri');
|
||||
$last = $uri->getSegments();
|
||||
|
||||
|
||||
$sup = $last[3];
|
||||
$mat = $last[4];
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_month'] = $this->dahsboard_Model->ireport_cum_month($sup, $mat);
|
||||
$this->loadviews("Report_cumulative_month_inward", $this->global, $data, NULL);
|
||||
}
|
||||
public function icum_year()
|
||||
public function icum_year($sup,$mat)
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Inward Reports - Cumulative-Yearwise ';
|
||||
$uri = service('uri');
|
||||
$last = $uri->getSegments();
|
||||
|
||||
|
||||
$sup = $last[3];
|
||||
$mat = $last[4];
|
||||
|
||||
//print_r($sup);
|
||||
|
||||
$data['cum_year'] = $this->dahsboard_Model->ireport_cum_year($sup, $mat);
|
||||
$this->loadviews("Report_cumulative_year_inward", $this->global, $data, NULL);
|
||||
}
|
||||
public function icum_day()
|
||||
public function icum_day($sup,$mat)
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Inward Reports - Cumulative-Daywise ';
|
||||
$uri = service('uri');
|
||||
$last = $uri->getSegments();
|
||||
|
||||
|
||||
$sup = $last[3];
|
||||
$mat = $last[4];
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_day'] = $this->dahsboard_Model->ireport_cum_day($sup, $mat);
|
||||
$this->loadviews("Report_cumulative_day_inward", $this->global, $data, NULL);
|
||||
}
|
||||
@ -959,7 +963,9 @@ class Report extends BaseController
|
||||
$this->global['pageTitle'] = ' Inward Report - Consolidate ';
|
||||
if ($this->request->getPost('btn_submit')) {
|
||||
$cname = $this->request->getPost('client_name');
|
||||
$data['client_name'] = $cname;
|
||||
$ab = $this->request->getPost('financialyear');
|
||||
$data['financialyear'] = $ab;
|
||||
$fa = substr((string)$ab, 0, -5);
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
//print_r($prod);
|
||||
|
||||
@ -34,21 +34,21 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-layer-group"> Material Master </span></h4>
|
||||
<p class="uk-text uk-margin-remove">Material Master - supplier wise</p>
|
||||
<p class="uk-text uk-margin-remove">Material Master - Item wise</p>
|
||||
<p class="uk-text uk-margin-remove">Material Master - Receipt Value</p>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Supplier" target="_blank"><p class="uk-text uk-margin-remove">Material Master - supplier wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Item" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Item wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_ReceiptValue" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Receipt Value</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-truck"> Inward</span></h4>
|
||||
<p class="uk-text-meta uk-margin-remove">Inward Details</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Inward Summary</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Year Wise-Inward</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Inward-Supplier Wise</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Consolidate Report-Inward</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Cumulative Report-Inward</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Cumulative Report - Category Wise-Inward</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Consolidate Report - Category Wise-Inward</p>
|
||||
<p class="uk-text-meta uk-margin-remove">Report - DeliveryPerformance</p>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user