fix
This commit is contained in:
@@ -12,6 +12,20 @@ class Combo_model extends CI_Model {
|
||||
|
||||
}
|
||||
|
||||
public function getJobPriceCombo($option_name,$description, $curVal){
|
||||
|
||||
$this->defaultComboMessage ='Select Price...';
|
||||
$cmbstr ="<option value='0'>". $this->defaultComboMessage ."</option>";
|
||||
for ($i = 2000; $i <= 10000; $i = $i + 1000) {
|
||||
// $amountArray[] = [$i,$i,'Naira'];
|
||||
$selV = '';
|
||||
if ($curVal == $i) {
|
||||
$selV = " selected ";
|
||||
}
|
||||
$cmbstr .= "<option value='".$i."' ".$selV.">".$i." ".$description."</option>";
|
||||
}
|
||||
return $this->comboFrame($option_name, $cmbstr);
|
||||
}
|
||||
public function getJobPostDuration($option_name, $duration)
|
||||
{
|
||||
$this->defaultComboMessage ='Select duration of post';
|
||||
|
||||
@@ -9,6 +9,7 @@ class Job_model extends CI_Model {
|
||||
/*
|
||||
* Supply active list of jobs for this id
|
||||
*/
|
||||
|
||||
public function selectMarketJob($jobId){
|
||||
$mysql = 'SELECT jo.offer_code,mj.title,mj.description,mj.timeline_days,mj.price,jo.job_description,jo.expire::date FROM members_jobs_offer jo '
|
||||
. ' LEFT JOIN members_jobs mj ON mj.id=jo.job_id '
|
||||
|
||||
Reference in New Issue
Block a user