diff --git a/application/controllers/Tmc.php b/application/controllers/Tmc.php index 505d5a0..a104442 100644 --- a/application/controllers/Tmc.php +++ b/application/controllers/Tmc.php @@ -81,8 +81,9 @@ class Tmc extends CI_Controller { public function gen_tmc_recon(){ $this->checksess(); - $fromdate = $this->input->post('fromdate'); - $todate = $this->input->post('todate'); + $fromdate = $this->input->post('from'); + + $todate = $this->input->post('to'); // if($gid) // $res = $this->db->query('select *,am_code as supplier_code from gstr2a_data gd left join (select *,group_concat(td_gst_inv) g_td_gst_inv,sum(td_net) td_net_ref from tmc_data where td_show_status = 1 group by td_tkt) td on gd.gd_id=td.td_gstr2a_match_id left join airline_master am on am.am_name=gd.gd_supplier_type where gd_id = "'.$gid.'"'); // else diff --git a/application/views/corporate/dashboard.php b/application/views/corporate/dashboard.php index 8a46776..a5aa454 100644 --- a/application/views/corporate/dashboard.php +++ b/application/views/corporate/dashboard.php @@ -81,24 +81,27 @@