@@ 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------ |
|
@@ 1852-1869 (lines=18) @@ | ||
1849 | ||
1850 | /* * ********************************************************************* */ |
|
1851 | ||
1852 | function reseller_list() { |
|
1853 | $data['username'] = $this->session->userdata('user_name'); |
|
1854 | $data['page_title'] = 'Resellers'; |
|
1855 | $data['search_flag'] = true; |
|
1856 | /** |
|
1857 | ASTPP 3.0 |
|
1858 | Reseller Batch Update |
|
1859 | * */ |
|
1860 | $data['batch_update_flag'] = true; |
|
1861 | /* * *************************************** */ |
|
1862 | $this->session->set_userdata('advance_search', 0); |
|
1863 | $data['grid_fields'] = $this->accounts_form->build_account_list_for_reseller(); |
|
1864 | $data["grid_buttons"] = $this->accounts_form->build_grid_buttons_reseller(); |
|
1865 | $data['form_search'] = $this->form->build_serach_form($this->accounts_form->get_reseller_search_form()); |
|
1866 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->accounts_form->reseller_batch_update_form()); |
|
1867 | /* * ************************************************************************************************************ */ |
|
1868 | $this->load->view('view_accounts_list', $data); |
|
1869 | } |
|
1870 | ||
1871 | /** |
|
1872 | * -------Here we write code for controller accounts functions account_list------ |
@@ 43-60 (lines=18) @@ | ||
40 | if ($this->session->userdata('user_login') == FALSE) redirect(base_url() . '/astpp/login'); |
|
41 | } |
|
42 | ||
43 | function termination_rates_list() |
|
44 | { |
|
45 | $data['username'] = $this->session->userdata('user_name'); |
|
46 | $data['page_title'] = 'Termination Rates'; |
|
47 | $data['search_flag'] = true; |
|
48 | $data['batch_update_flag'] = true; |
|
49 | /********* |
|
50 | ASTPP 3.0 |
|
51 | Batch Delete |
|
52 | *********/ |
|
53 | $data['delete_batch_flag'] = true; |
|
54 | /***************/ |
|
55 | $this->session->set_userdata('advance_search', 0); |
|
56 | $data['grid_fields'] = $this->rates_form->build_termination_rate_for_admin(); |
|
57 | $data["grid_buttons"] = $this->rates_form->build_grid_buttons(); |
|
58 | $data['form_search'] = $this->form->build_serach_form($this->rates_form->get_termination_rate_search_form()); |
|
59 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->rates_form->termination_rate_batch_update_form()); |
|
60 | $this->load->view('view_termination_rates_list', $data); |
|
61 | } |
|
62 | ||
63 | /** |
|
@@ 630-647 (lines=18) @@ | ||
627 | redirect(base_url() . 'rates/origination_rates_list/'); |
|
628 | } |
|
629 | ||
630 | function origination_rates_list() |
|
631 | { |
|
632 | $data['username'] = $this->session->userdata('user_name'); |
|
633 | $data['page_title'] = 'Origination Rates'; |
|
634 | $data['search_flag'] = true; |
|
635 | $data['batch_update_flag'] = true; |
|
636 | /********* |
|
637 | ASTPP 3.0 |
|
638 | Batch Delete |
|
639 | *********/ |
|
640 | $data['delete_batch_flag'] = true; |
|
641 | /***************/ |
|
642 | $this->session->set_userdata('advance_search', 0); |
|
643 | $data['grid_fields'] = $this->rates_form->build_origination_rate_list_for_admin(); |
|
644 | $data["grid_buttons"] = $this->rates_form->build_grid_buttons_origination_rate(); |
|
645 | $data['form_search'] = $this->form->build_serach_form($this->rates_form->get_origination_rate_search_form()); |
|
646 | $data['form_batch_update'] = $this->form->build_batchupdate_form($this->rates_form->origination_rate_batch_update_form()); |
|
647 | $this->load->view('view_origination_rate_list', $data); |
|
648 | } |
|
649 | ||
650 | /********* |