This commit is contained in:
2022-05-21 12:58:19 -04:00
parent c14ab2a76b
commit 39ec57c10c
2 changed files with 28 additions and 4 deletions
+26 -2
View File
@@ -907,15 +907,39 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
return $this->job_model->addGroupMemberForm($group_id);
}
private function getJobTemplateFill($template_page){
$templateList = $this->jobsTemplates();
foreach ($templateList as $row){
if ( $row['ID'] == trim($template_page)){
return $row;
}
}
return [];
}
public function create() {
$data = $this->getSessionArray();
$template_page = ($this->uri->segment(3)) ? $this->uri->segment(3) : '';
$preFill = $this->getJobTemplateFill($template_page);
if(!empty($preFill))
{
$title = $preFill['name'];
$description = $preFill['description'];
}
else
{
$title = NULL;
$description = NULL;
}
$mybalance = 0;
$data['job_message'] = '';
// print_r($_SESSION);
$title = NULL;
$description = NULL;
$job_detail = NULL;
$timeline = NULL;
$country = 'NG';