Advertisement
Guest User

function.php

a guest
Nov 13th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. public function tambah_proses()
  2. {
  3. $data=[
  4. "deposit_client_id" => $this->input->post('deposit_client_id'),
  5. "deposit_from_sender_name" => $this->input->post('deposit_from_sender_name'),
  6. "deposit_type_transfer" => md5(htmlspecialchars($this->input->post('deposit_type_transfer'))),
  7. "deposit_from_bank_name" => $this->input->post('deposit_from_bank_name'),
  8. "deposit_from_account_number" => $this->input->post('deposit_from_account_number'),
  9. "deposit_nominal" => $this->input->post('deposit_nominal'),
  10. "deposit_from_ref_code" => $this->input->post('deposit_from_ref_code'),
  11. "deposit_type" => $this->input->post('deposit_type'),
  12. "deposit_datetime" => $this->input->post('deposit_datetime'),
  13. "deposit_sysdate" => $this->input->post('deposit_sysdate'),
  14. "deposit_to_account_number" => $this->input->post('deposit_to_account_number')
  15. ];
  16. $this->session->set_userdata('deposit_admin_id');
  17. $data2=[
  18. $this->session->set_userdata('transaction_admin_id'),
  19. "transaction_client_id" => $this->input->post('deposit_client_id'),
  20. "transaction_product_code" => $this->input->post('deposit_client_id'),
  21. "transaction_note" => $this->input->post('transaction_note'),
  22. "deposit_from_ref_code" => $this->input->post('transaction_ref_number'),
  23. ];
  24. print_r($data2);die();
  25. $this->mod->tambah_deposit($data,$data2);
  26. redirect('manual_deposit');
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement