From ee04eaa22cea5e5be4571851246642cf61996052 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 14 May 2022 20:28:23 -0400 Subject: [PATCH] fix --- www/application/controllers/Jobs.php | 3 +- www/application/controllers/Paymnt.php | 9 ++- www/application/views/jobs/view_joboffer.php | 5 +- .../views/users/view_startpaymus.php | 65 ++++++++++++++++++- 4 files changed, 75 insertions(+), 7 deletions(-) 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 @@ create_date ?> -Please provide clear deliverables for this task. + Please provide clear deliverables for this task. Delivery Detail +
- +
diff --git a/www/application/views/users/view_startpaymus.php b/www/application/views/users/view_startpaymus.php index 103b6ecb..bd186902 100644 --- a/www/application/views/users/view_startpaymus.php +++ b/www/application/views/users/view_startpaymus.php @@ -10,6 +10,8 @@ + +

@@ -26,6 +28,37 @@
+
+ +
+ + + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ + +
+ + +
+ +
+ +
@@ -153,10 +186,40 @@ - +
+
+ +
+ + + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ + +
+ + +
+ +
+