fix
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<!--begin::Col-->
|
||||
<div class="col-md-4">
|
||||
<!--begin::Hot sales post-->
|
||||
<div class="card-xl-stretch me-md-6">
|
||||
<div class="card-xl-stretch me-md-6" style="background-color:aliceblue">
|
||||
<!--begin::Overlay-->
|
||||
|
||||
<!--begin::Image-->
|
||||
@@ -61,7 +61,7 @@
|
||||
<span class="fs-6 fw-bold text-gray-400">estimate-<?=$tdata['timeline_days']?> days</span></span>
|
||||
<!--end::Label-->
|
||||
<!--begin::Action-->
|
||||
<a href="/jobs/create" class="btn btn-sm btn-primary">Continue</a>
|
||||
<a href="/jobs/create/<?=$tdata['ID']?>" class="btn btn-sm btn-primary">Continue</a>
|
||||
<!--end::Action-->
|
||||
</div>
|
||||
<!--end::Text-->
|
||||
|
||||
Reference in New Issue
Block a user