@@ 531-538 (lines=8) @@ | ||
528 | } |
|
529 | } |
|
530 | ||
531 | function package_patterns_error_download(){ |
|
532 | $this->load->helper('download'); |
|
533 | $error_data = $this->session->userdata('import_package_code_csv_error'); |
|
534 | $full_path = $this->config->item('rates-file-path'); |
|
535 | $data = file_get_contents($full_path.$error_data); |
|
536 | force_download("Package_Code_error.csv", $data); |
|
537 | ||
538 | } |
|
539 | ||
540 | ||
541 | } |
@@ 204-211 (lines=8) @@ | ||
201 | redirect(base_url()."rates/termination_rates_list/"); |
|
202 | } |
|
203 | } |
|
204 | function termination_rate_error_download(){ |
|
205 | $this->load->helper('download'); |
|
206 | $error_data = $this->session->userdata('import_termination_rate_csv_error'); |
|
207 | $full_path = $this->config->item('rates-file-path'); |
|
208 | $data = file_get_contents($full_path.$error_data); |
|
209 | force_download("Termination_rate_error.csv", $data); |
|
210 | ||
211 | } |
|
212 | function origination_rate_import() { |
|
213 | $data['page_title'] = 'Import Origination Rates'; |
|
214 | $this->session->set_userdata('import_origination_rate_csv',""); |
|
@@ 387-393 (lines=7) @@ | ||
384 | return $str; |
|
385 | } |
|
386 | } |
|
387 | function origination_rate_error_download(){ |
|
388 | $this->load->helper('download'); |
|
389 | $error_data = $this->session->userdata('import_origination_rate_csv_error'); |
|
390 | $full_path = $this->config->item('rates-file-path'); |
|
391 | $data = file_get_contents($full_path.$error_data); |
|
392 | force_download("Origination_rate_error.csv", $data); |
|
393 | } |
|
394 | function origination_rate_add($type = "") { |
|
395 | ||
396 | $data['username'] = $this->session->userdata('user_name'); |
@@ 812-818 (lines=7) @@ | ||
809 | } |
|
810 | } |
|
811 | ||
812 | function did_error_download() { |
|
813 | $this->load->helper('download'); |
|
814 | $error_data = $this->session->userdata('import_did_csv_error'); |
|
815 | $full_path = $this->config->item('rates-file-path'); |
|
816 | $data = file_get_contents($full_path . $error_data); |
|
817 | force_download("error_did_rates.csv", $data); |
|
818 | } |
|
819 | ||
820 | function did_export_data_xls() { |
|
821 | $account_info = $accountinfo = $this->session->userdata('accountinfo'); |