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);
|
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() {
|
public function create() {
|
||||||
|
|
||||||
$data = $this->getSessionArray();
|
$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;
|
$mybalance = 0;
|
||||||
$data['job_message'] = '';
|
$data['job_message'] = '';
|
||||||
// print_r($_SESSION);
|
// print_r($_SESSION);
|
||||||
|
|
||||||
$title = NULL;
|
|
||||||
$description = NULL;
|
|
||||||
$job_detail = NULL;
|
$job_detail = NULL;
|
||||||
$timeline = NULL;
|
$timeline = NULL;
|
||||||
$country = 'NG';
|
$country = 'NG';
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<!--begin::Col-->
|
<!--begin::Col-->
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<!--begin::Hot sales post-->
|
<!--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::Overlay-->
|
||||||
|
|
||||||
<!--begin::Image-->
|
<!--begin::Image-->
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
<span class="fs-6 fw-bold text-gray-400">estimate-<?=$tdata['timeline_days']?> days</span></span>
|
<span class="fs-6 fw-bold text-gray-400">estimate-<?=$tdata['timeline_days']?> days</span></span>
|
||||||
<!--end::Label-->
|
<!--end::Label-->
|
||||||
<!--begin::Action-->
|
<!--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-->
|
<!--end::Action-->
|
||||||
</div>
|
</div>
|
||||||
<!--end::Text-->
|
<!--end::Text-->
|
||||||
|
|||||||
Reference in New Issue
Block a user