This commit is contained in:
2022-05-21 17:10:47 -04:00
parent b866d2a1be
commit 1c5b0a24c7
4 changed files with 21 additions and 11 deletions
+5 -2
View File
@@ -940,7 +940,7 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
$title = NULL;
$description = NULL;
$timeline = NULL;
$price = NULL;
$price = 0;
}
@@ -974,7 +974,8 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
$in['description'] = $description;
$in['timeline_days'] = $this->input->post('timeline') ; //$timeline;
$in['job_detail'] = trim( $this->input->post('job_detail') ); // Somehow this doesnt show when large $job_detail;
$in['price'] = $this->input->post('price') *100; // (is_int($price)? $price:0) * 100;
$price = $this->input->post('price');
$in['price'] = $price * 100; // (is_int($price)? $price:0) * 100;
$in['member_id'] = $_SESSION['member_id'];
$in['country'] = $country_job;
@@ -1002,6 +1003,7 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
$this->load->model('combo_model');
$this->combo_model->defaultComboMessage = 'Select Job Country';
$data['country_job'] = $this->combo_model->getCountryJobCombo('country', $country);
$data['job_price'] = $this->combo_model->getJobPriceCombo('price','Naira', $price);
$data['title'] = $title;
$data['description'] = $description;
@@ -1394,6 +1396,7 @@ $data['page_title'] = "Create Job";
// array('data' => 'Del.', 'style' => 'width:80px')
$data['page_title'] = "Manage Job(s)";
$data['job_table_rows'] = $query->result();
$data['job_table'] = $this->table->generate($query);
/* $this->load->view('users/view_header_user', $data);