This commit is contained in:
2022-05-14 20:28:23 -04:00
parent 58b12ee874
commit ee04eaa22c
4 changed files with 75 additions and 7 deletions
+2 -1
View File
@@ -1087,6 +1087,7 @@ $data['page_title'] = "Create Job";
// $this->load->view('users/view_header_user', $data);
// $this->load->view('jobs/view_joboffer', $data);
// $this->load->view('users/view_footer_user', $data);
$data['page_title'] ="View Job";
$this->renderSecurePage('jobs/view_joboffer', $data);
} else {
@@ -1238,7 +1239,7 @@ $data['page_title'] = "Create Job";
$out = array();
$res = $this->backend_model->wrenchboard_api($in, $out);
$out["status"] = '';
//$out["status"] = '';
//$res = $this->wrenchboard_api($in, $out);
// print_r($out);
+6 -3
View File
@@ -86,8 +86,10 @@ class Paymnt extends Users_Controller {
$cd['cvc'] = $this->input->post('cvc');
$cd['description']= $this->input->post('description');
//$amount = rand(5555,9999);
$amount = rand(450,700);
//$amount = rand(450,700);
$cd['amount'] = $this->input->post('amount');
$cd['postal'] = $this->input->post('postal');
$cardTestResult= $this->cardpay_model->verifyCardData($cd);
//var_dump($cardTestResult);
@@ -104,10 +106,11 @@ class Paymnt extends Users_Controller {
"exp_month" => $cd['exp_month'],
"exp_year" => $cd['exp_year'],
"cvc" => $cd['cvc'],
"amount" => $amount ,
"amount" => $cd['amount'],
"email" => $email,
"description" => $cd['description'],
"member_id" => $member_id,
"postal" => $cd['postal'] ,
"paymenttype" => 100
);
$out=array();