material rcvd date change in inward report screen
This commit is contained in:
parent
8a1f14ef39
commit
e5e20c226a
@ -523,460 +523,469 @@ class report extends BaseController
|
||||
echo json_encode($data);
|
||||
|
||||
}
|
||||
public function ipurchase()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$prod = $this->input->post('item_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$cat = $this->input->get('cat');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$cat);
|
||||
$data['cashbookdatas']=$this->dahsboard_Model->report_inwardcashbook($cname,$fa,$aa,$m,$frm,$t,$cat);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function ilink_purchase()
|
||||
{
|
||||
if ($this->input->post('btn_submit')) {
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cname = $this->input->post('client_name');
|
||||
$prod = $this->input->post('item_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$d = $this->input->get('d');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
|
||||
|
||||
|
||||
} else{
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->get('m');
|
||||
$frm = $this->input->get('frm');
|
||||
$t = $this->input->get('t');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$d = $this->input->get('d');
|
||||
$da = $this->input->get('da');
|
||||
$po = $this->input->get('po');
|
||||
|
||||
//print_r($m);die();
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po);
|
||||
}
|
||||
|
||||
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function iattach()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_attachment($cname,$fa,$aa,$m,$frm,$t);
|
||||
}
|
||||
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
// if($this->DEPCode == MANAGEMENT)
|
||||
// {
|
||||
$this->loadviews("Report_attach_inward",$this->global,$data, NULL);
|
||||
// }
|
||||
|
||||
// else
|
||||
// {
|
||||
// $this->loadViews("access", $this->global, $data, NULL);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function iyear_wise()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
|
||||
if ($this->input->post('financialyear')) {
|
||||
$ab=$this->input->post('financialyear');
|
||||
$a=substr($ab,0,-5);
|
||||
$b=substr($ab,5,5);
|
||||
$data['year']=$this->dahsboard_Model->ireport_year_wise($a,$b);
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
//$this->loadviews("Report_year_wise",$this->global,$data, NULL);
|
||||
}
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
|
||||
|
||||
$this->loadviews("Report_year_wise_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function imonth_wise()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
|
||||
$month=$this->input->get('dat');
|
||||
$mon= date("F",strtotime($month));
|
||||
//print_r($month);
|
||||
$data['mont']=$mon;
|
||||
$data['month']=$this->dahsboard_Model->ireport_month_wise($month);
|
||||
$this->loadviews("Report_month_wise_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function iyear_wise_total()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
$last = $this->uri->total_segments();
|
||||
$month=$this->uri->segment($last);
|
||||
$a=substr($month,0,-5);
|
||||
$b=substr($month,5,5);
|
||||
//print_r($month);
|
||||
$data['year']=$month;
|
||||
$data['ytotal']=$this->dahsboard_Model->ireport_year_wise_total($a,$b);
|
||||
$this->loadviews("Report_year_wise_total_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function ipurchase_supplier()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->ireport_supplier($cname,$fa,$aa,$m,$frm,$t);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
|
||||
|
||||
$this->loadviews("Report_supplier_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function iconsolidate()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->ireport_consolidate($cname,$fa,$aa);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
$this->loadviews("Report_consolidate_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function i_consolidate_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$m = $this->input->get('m');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_month($m,$sid,$mid,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_month_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
public function i_consolidate_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_year($sid,$mid,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_year_inward",$this->global,$data, NULL);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $this->loadViews("access", $this->global, $data, NULL);
|
||||
// }
|
||||
|
||||
}
|
||||
public function icumulative()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum']=$this->dahsboard_Model->ireport_cumulative();
|
||||
|
||||
|
||||
$this->loadviews("Report_cumulative_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function icum_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$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()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$sup = $last[3];
|
||||
$mat = $last[4];
|
||||
public function ipurchase()
|
||||
{
|
||||
|
||||
//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()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$sup = $last[3];
|
||||
$mat = $last[4];
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward PO Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$prod = $this->input->post('item_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$cat = $this->input->get('cat');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_day']=$this->dahsboard_Model->ireport_cum_day($sup,$mat);
|
||||
$this->loadviews("Report_cumulative_day_inward",$this->global,$data, NULL);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
// $data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$cat);
|
||||
$data['cashbookdatas']=$this->dahsboard_Model->report_inwardcashbook($cname,$fa,$aa,$m,$frm,$t,$cat);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function ilink_purchase()
|
||||
{
|
||||
if ($this->input->post('btn_submit')) {
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward PO Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cname = $this->input->post('client_name');
|
||||
$prod = $this->input->post('item_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$d = $this->input->get('d');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
|
||||
|
||||
|
||||
} else{
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward PO Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->get('m');
|
||||
$frm = $this->input->get('frm');
|
||||
$t = $this->input->get('t');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$d = $this->input->get('d');
|
||||
$da = $this->input->get('da');
|
||||
$po = $this->input->get('po');
|
||||
|
||||
//print_r($m);die();
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po);
|
||||
}
|
||||
|
||||
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function iattach()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Summary';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['purchase']=$this->dahsboard_Model->ireport_attachment($cname,$fa,$aa,$m,$frm,$t);
|
||||
}
|
||||
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
// if($this->DEPCode == MANAGEMENT)
|
||||
// {
|
||||
$this->loadviews("Report_attach_inward",$this->global,$data, NULL);
|
||||
// }
|
||||
|
||||
// else
|
||||
// {
|
||||
// $this->loadViews("access", $this->global, $data, NULL);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function iyear_wise()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Yearwise ';
|
||||
|
||||
|
||||
if ($this->input->post('financialyear')) {
|
||||
$ab=$this->input->post('financialyear');
|
||||
$a=substr($ab,0,-5);
|
||||
$b=substr($ab,5,5);
|
||||
$data['year']=$this->dahsboard_Model->ireport_year_wise($a,$b);
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
//$this->loadviews("Report_year_wise",$this->global,$data, NULL);
|
||||
}
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
|
||||
|
||||
$this->loadviews("Report_year_wise_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function imonth_wise()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Monthwise';
|
||||
|
||||
|
||||
$month=$this->input->get('dat');
|
||||
$mon= date("F",strtotime($month));
|
||||
//print_r($month);
|
||||
$data['mont']=$mon;
|
||||
$data['month']=$this->dahsboard_Model->ireport_month_wise($month);
|
||||
$this->loadviews("Report_month_wise_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function iyear_wise_total()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Yearwise';
|
||||
|
||||
$last = $this->uri->total_segments();
|
||||
$month=$this->uri->segment($last);
|
||||
$a=substr($month,0,-5);
|
||||
$b=substr($month,5,5);
|
||||
//print_r($month);
|
||||
$data['year']=$month;
|
||||
$data['ytotal']=$this->dahsboard_Model->ireport_year_wise_total($a,$b);
|
||||
$this->loadviews("Report_year_wise_total_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function ipurchase_supplier()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Supplierwise';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$m=$this->input->post('month');
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->ireport_supplier($cname,$fa,$aa,$m,$frm,$t);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
|
||||
|
||||
$this->loadviews("Report_supplier_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function iconsolidate()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Consolidate';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->ireport_consolidate($cname,$fa,$aa);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
$this->loadviews("Report_consolidate_inward",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function i_consolidate_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Consolidate-Monthwise';
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$m = $this->input->get('m');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_month($m,$sid,$mid,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_month_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
public function i_consolidate_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Consolidate-Yearwise';
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_year($sid,$mid,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_year_inward",$this->global,$data, NULL);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $this->loadViews("access", $this->global, $data, NULL);
|
||||
// }
|
||||
|
||||
}
|
||||
public function icumulative()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative ';
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum']=$this->dahsboard_Model->ireport_cumulative();
|
||||
|
||||
}
|
||||
public function rawi_cumulative()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum']=$this->dahsboard_Model->rawi_report_cumulative();
|
||||
$this->loadviews("Report_cumulative_inward",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
$this->loadviews("Report_cumulative_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function icum_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative-Monthwise';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$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()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative-Yearwise ';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$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()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative-Daywise ';
|
||||
$last = $this->uri->segment_array();
|
||||
|
||||
$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);
|
||||
|
||||
}
|
||||
public function rawi_cumulative()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative Category-Wise';
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum']=$this->dahsboard_Model->rawi_report_cumulative();
|
||||
|
||||
|
||||
$this->loadviews("Report_cumulative_raw",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function rawi_cum_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative Year-Category-Wise';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
//print_r($sup);
|
||||
|
||||
$data['cum_year']=$this->dahsboard_Model->rawi_report_cum_year($cat);
|
||||
$this->loadviews("Report_cumulative_year_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_cum_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Report - Cumulative Month-Category-Wise';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_month']=$this->dahsboard_Model->rawi_report_cum_month($cat);
|
||||
$this->loadviews("Report_cumulative_month_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_cum_day()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Cumulative Daily-Category-Wise';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_day']=$this->dahsboard_Model->rawi_report_cum_day($cat);
|
||||
$this->loadviews("Report_cumulative_day_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_consolidate()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Report - Consolidate ';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->category();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_report_consolidate($cname,$fa,$aa);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->category();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
|
||||
$this->loadviews("Report_consolidate_raw",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function rawi_cum_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
//print_r($sup);
|
||||
|
||||
$data['cum_year']=$this->dahsboard_Model->rawi_report_cum_year($cat);
|
||||
$this->loadviews("Report_cumulative_year_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_cum_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_month']=$this->dahsboard_Model->rawi_report_cum_month($cat);
|
||||
$this->loadviews("Report_cumulative_month_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_cum_day()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$mat=$this->input->get('mid');
|
||||
$cat=$this->input->get('cat');
|
||||
//print_r($prod);
|
||||
|
||||
$data['cum_day']=$this->dahsboard_Model->rawi_report_cum_day($cat);
|
||||
$this->loadviews("Report_cumulative_day_raw",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_consolidate()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
if ($this->input->post('btn_submit')) {
|
||||
$cname = $this->input->post('client_name');
|
||||
$ab=$this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->category();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_report_consolidate($cname,$fa,$aa);
|
||||
}
|
||||
$data['material']=$this->dahsboard_Model->category();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
$this->loadviews("Report_consolidate_raw",$this->global,$data, NULL);
|
||||
}
|
||||
public function rawi_consolidate_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Consolidate Month-Wise';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$sup = $this->input->get('sup');
|
||||
//$mat = $this->input->get('mid');
|
||||
$m = $this->input->get('m');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_consolidate_month($m,$cat,$sup,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_month",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
public function rawi_consolidate_month()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$sup = $this->input->get('sup');
|
||||
//$mat = $this->input->get('mid');
|
||||
$m = $this->input->get('m');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_consolidate_month($m,$cat,$sup,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_month",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function rawi_consolidate_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Inward Reports - Consolidate Year-Wise';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$sup = $this->input->get('sup');
|
||||
//$mat = $this->input->get('mid');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
//$data['finyear']=$this->dahsboard_Model->report_finyear();/* finyear based on po date */
|
||||
$data['finyear']=$this->dahsboard_Model->ireport_finyear();/* year based on material rcvd date */
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_consolidate_year($cat,$sup,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_year",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
public function rawi_consolidate_year()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cat = $this->input->get('cat');
|
||||
$sup = $this->input->get('sup');
|
||||
//$mat = $this->input->get('mid');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
//print_r($prod);
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->rawi_consolidate_year($cat,$sup,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
|
||||
$this->loadviews("Report_consolidate_year",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
public function pending_purchase()
|
||||
}
|
||||
public function pending_purchase()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -3,12 +3,10 @@
|
||||
|
||||
$("#client_name").select2();
|
||||
$("#item_name").select2();
|
||||
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
|
||||
<style>
|
||||
@ -286,6 +284,7 @@ table.dataTable thead > tr > td.sorting {
|
||||
<th>Freight (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th>Package (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th>Total (<i class="fa fa-rupee "></i>)</th>
|
||||
<th>Attachments</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -350,40 +349,22 @@ table.dataTable thead > tr > td.sorting {
|
||||
$tot_pac= $tot_pac + $rel->Package;
|
||||
echo $rel->Package;?></span></td>
|
||||
|
||||
<!-- <td style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($rel->total,2);
|
||||
?>
|
||||
<?php
|
||||
if(!empty($rel->file)){ ?>
|
||||
<a target="_blank" href="<?php echo base_url().'uploads/BillFiles/'?><?php echo $rel->file ?>" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><?php echo number_format($rel->total,2,'.','');?></a>
|
||||
<?php }else if(!empty($rel->ifile)) { ?><a target="_blank" href="<?php echo base_url().''.$rel->ifile ?>" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><?php echo number_format($rel->total,2,'.','');?></a>
|
||||
<?php } else { echo number_format($rel->total,2,'.',''); } ?>
|
||||
</span></td> -->
|
||||
|
||||
<td style="text-align:right"><span><?php
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($rel->total,2);
|
||||
echo number_format($rel->total,2,'.','');
|
||||
echo number_format($rel->total,2,'.','');
|
||||
?></span></td>
|
||||
|
||||
|
||||
|
||||
<td id="download<?php echo $key?>" style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($rel->total,2);
|
||||
?><?php
|
||||
<td id="download<?php echo $key?>" style="text-align:center"><span>
|
||||
<?php
|
||||
if(!empty($rel->file)){ ?><!-- if for Inward po file -->
|
||||
|
||||
<!-- href="<?php echo base_url().'uploads/BillFiles/'?><?php echo $rel->file ?>"
|
||||
href="<?php echo base_url().'report/filedownload?pono ='.$rel->pono ?>"-->
|
||||
<a target="_blank"
|
||||
class="yourlink" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><button class="btn btn-info btn-sm" id="files<?php echo $rel->pono;?>">Download</button></a>
|
||||
<a target="_blank" class="yourlink" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><button class="btn btn-info btn-sm" id="files<?php echo $rel->pono;?>">Download</button></a>
|
||||
<?php }else if(!empty($rel->ifile)) { ?><!-- else if for igr file -->
|
||||
<a target="_blank" class="yourlink" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View">
|
||||
<button class="btn btn-info btn-sm" id="files<?php echo $rel->pono;?>">Download</button></a>
|
||||
<a target="_blank" class="yourlink" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><button class="btn btn-info btn-sm" id="files<?php echo $rel->pono;?>">Download</button></a>
|
||||
<?php } else { echo 'N/A'; } ?><!-- both inwardpo file and Igr file empty means -->
|
||||
</span></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}}
|
||||
@ -394,9 +375,10 @@ table.dataTable thead > tr > td.sorting {
|
||||
?>
|
||||
<tr>
|
||||
<td style="text-align:left"><span><?php echo $cb->AccountCode;?></span></td>
|
||||
<td style="text-align:center"><span><?php echo $cb->Date;?></span></td>
|
||||
<td style="text-align:right"><span><?php echo '-';?></span></td>
|
||||
<td style="text-align:center"><span><?php echo $cb->created_date;?></span></td>
|
||||
<!-- <td style="text-align:right"><span><?php echo $cb->created_time;?></span></td> -->
|
||||
<td style="text-align:right"><span><?php echo '-';?></span></td>
|
||||
<td style="text-align:center"><span><?php echo $cb->Date;?></span></td>
|
||||
<td><span><?php echo $cb->AccountName;?></span></td>
|
||||
<td><span><?php echo $cb->type.'-'.$cb->category;?></span></td>
|
||||
<td><span><?php echo $cb->Suppliername;?></span></td>
|
||||
@ -425,18 +407,19 @@ table.dataTable thead > tr > td.sorting {
|
||||
</span></td> -->
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($cb->Total,2);
|
||||
?>
|
||||
echo number_format($cb->Total,2,'.','');?></span></td>
|
||||
|
||||
<td style="text-align:center"><span>
|
||||
<?php
|
||||
if(!empty($cb->cashbookfile)){ ?>
|
||||
<a target="_blank" href="<?php echo base_url().''. $cb->cashbookfile ?>" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><?php echo number_format($cb->Total,2,'.','');?></a>
|
||||
<?php
|
||||
}else
|
||||
<a target="_blank" href="<?php echo base_url().''. $cb->cashbookfile ?>" data-toggle="tooltip" data-placement="left" title="Attachment Available for Download/View"><button>File Available</button></a>
|
||||
<?php }else
|
||||
{
|
||||
echo number_format($cb->Total,2,'.','');
|
||||
echo 'N/A';
|
||||
}
|
||||
?>
|
||||
|
||||
</span></td>
|
||||
|
||||
</tr>
|
||||
<?php } } ?>
|
||||
|
||||
@ -581,7 +564,7 @@ $("#Fileshow").modal("show");
|
||||
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||
table = $('#cc').DataTable( {
|
||||
|
||||
|
||||
"aaSorting": [[ 3, "asc" ]],
|
||||
"autoWidth": false,
|
||||
orderCellsTop: true,
|
||||
|
||||
@ -662,7 +645,5 @@ $("#Fileshow").modal("show");
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
Loading…
Reference in New Issue
Block a user