diff --git a/www/application/controllers/Jobs.php b/www/application/controllers/Jobs.php index 588fc0fa..c2dfc74d 100644 --- a/www/application/controllers/Jobs.php +++ b/www/application/controllers/Jobs.php @@ -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); diff --git a/www/application/controllers/Paymnt.php b/www/application/controllers/Paymnt.php index 8f3fda76..2a5411a8 100644 --- a/www/application/controllers/Paymnt.php +++ b/www/application/controllers/Paymnt.php @@ -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(); diff --git a/www/application/views/jobs/view_joboffer.php b/www/application/views/jobs/view_joboffer.php index fe0bce92..f0df7f90 100644 --- a/www/application/views/jobs/view_joboffer.php +++ b/www/application/views/jobs/view_joboffer.php @@ -72,15 +72,16 @@