| @@ 44-66 (lines=23) @@ | ||
| 41 | redirect(base_url() . '/login/login'); |
|
| 42 | } |
|
| 43 | ||
| 44 | function customer_list() { |
|
| 45 | $data['username'] = $this->session->userdata('user_name'); |
|
| 46 | $data['page_title'] = 'Customers'; |
|
| 47 | $data['search_flag'] = true; |
|
| 48 | /** |
|
| 49 | ASTPP 3.0 |
|
| 50 | Customer Batch Update. |
|
| 51 | * */ |
|
| 52 | $data['batch_update_flag'] = true; |
|
| 53 | /* * *********************************** */ |
|
| 54 | $this->session->set_userdata('advance_search', 0); |
|
| 55 | $data['grid_fields'] = $this->accounts_form->build_account_list_for_customer(); |
|
| 56 | $data["grid_buttons"] = $this->accounts_form->build_grid_buttons_customer(); |
|
| 57 | $data['form_search'] = $this->form->build_serach_form($this->accounts_form->get_search_customer_form()); |
|
| 58 | /** |
|
| 59 | ASTPP 3.0 |
|
| 60 | Customer Batch Update. |
|
| 61 | * */ |
|
| 62 | ||
| 63 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->accounts_form->customer_batch_update_form()); |
|
| 64 | /* * *****************************************************************************************8 */ |
|
| 65 | $this->load->view('view_accounts_list', $data); |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * -------Here we write code for controller accounts functions account_list------ |
|
| @@ 1851-1868 (lines=18) @@ | ||
| 1848 | ||
| 1849 | /* * ********************************************************************* */ |
|
| 1850 | ||
| 1851 | function reseller_list() { |
|
| 1852 | $data['username'] = $this->session->userdata('user_name'); |
|
| 1853 | $data['page_title'] = 'Resellers'; |
|
| 1854 | $data['search_flag'] = true; |
|
| 1855 | /** |
|
| 1856 | ASTPP 3.0 |
|
| 1857 | Reseller Batch Update |
|
| 1858 | * */ |
|
| 1859 | $data['batch_update_flag'] = true; |
|
| 1860 | /* * *************************************** */ |
|
| 1861 | $this->session->set_userdata('advance_search', 0); |
|
| 1862 | $data['grid_fields'] = $this->accounts_form->build_account_list_for_reseller(); |
|
| 1863 | $data["grid_buttons"] = $this->accounts_form->build_grid_buttons_reseller(); |
|
| 1864 | $data['form_search'] = $this->form->build_serach_form($this->accounts_form->get_reseller_search_form()); |
|
| 1865 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->accounts_form->reseller_batch_update_form()); |
|
| 1866 | /* * ************************************************************************************************************ */ |
|
| 1867 | $this->load->view('view_accounts_list', $data); |
|
| 1868 | } |
|
| 1869 | ||
| 1870 | /** |
|
| 1871 | * -------Here we write code for controller accounts functions account_list------ |
|
| @@ 42-59 (lines=18) @@ | ||
| 39 | redirect(base_url() . '/astpp/login'); |
|
| 40 | } |
|
| 41 | ||
| 42 | function termination_rates_list() { |
|
| 43 | $data['username'] = $this->session->userdata('user_name'); |
|
| 44 | $data['page_title'] = 'Termination Rates'; |
|
| 45 | $data['search_flag'] = true; |
|
| 46 | $data['batch_update_flag'] = true; |
|
| 47 | /********* |
|
| 48 | ASTPP 3.0 |
|
| 49 | Batch Delete |
|
| 50 | *********/ |
|
| 51 | $data['delete_batch_flag'] = true; |
|
| 52 | /***************/ |
|
| 53 | $this->session->set_userdata('advance_search', 0); |
|
| 54 | $data['grid_fields'] = $this->rates_form->build_termination_rate_for_admin(); |
|
| 55 | $data["grid_buttons"] = $this->rates_form->build_grid_buttons(); |
|
| 56 | $data['form_search'] = $this->form->build_serach_form($this->rates_form->get_termination_rate_search_form()); |
|
| 57 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->rates_form->termination_rate_batch_update_form()); |
|
| 58 | $this->load->view('view_termination_rates_list', $data); |
|
| 59 | } |
|
| 60 | /** |
|
| 61 | * -------Here we write code for controller accounts functions account_list------ |
|
| 62 | * Listing of Accounts table data through php function json_encode |
|
| @@ 495-512 (lines=18) @@ | ||
| 492 | redirect(base_url() . 'rates/origination_rates_list/'); |
|
| 493 | } |
|
| 494 | ||
| 495 | function origination_rates_list() { |
|
| 496 | $data['username'] = $this->session->userdata('user_name'); |
|
| 497 | $data['page_title'] = 'Origination Rates'; |
|
| 498 | $data['search_flag'] = true; |
|
| 499 | $data['batch_update_flag'] = true; |
|
| 500 | /********* |
|
| 501 | ASTPP 3.0 |
|
| 502 | Batch Delete |
|
| 503 | *********/ |
|
| 504 | $data['delete_batch_flag'] = true; |
|
| 505 | /***************/ |
|
| 506 | $this->session->set_userdata('advance_search', 0); |
|
| 507 | $data['grid_fields'] = $this->rates_form->build_origination_rate_list_for_admin(); |
|
| 508 | $data["grid_buttons"] = $this->rates_form->build_grid_buttons_origination_rate(); |
|
| 509 | $data['form_search'] = $this->form->build_serach_form($this->rates_form->get_origination_rate_search_form()); |
|
| 510 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->rates_form->origination_rate_batch_update_form()); |
|
| 511 | $this->load->view('view_origination_rate_list', $data); |
|
| 512 | } |
|
| 513 | ||
| 514 | /********* |
|
| 515 | ASTPP 3.0 |
|