jobs formated
This commit is contained in:
@@ -223,6 +223,9 @@ class ResultFormatter extends Model
|
||||
"expire" => $out["expire_${key}"],
|
||||
"sent" => $out["sent_${key}"],
|
||||
"offer_code" => $out["offer_code_${key}"],
|
||||
"offer_uid" => $out["offer_uid_${key}"],
|
||||
"job_to" => $out["job_to_${key}"],
|
||||
"public_view" => $out["public_view_${key}"],
|
||||
"whishlisted"=> false,
|
||||
"thumbnil" => 'marketplace-product-1.jpg',
|
||||
'isActive' => true,
|
||||
|
||||
@@ -150,6 +150,7 @@ function processOutJson($in, $out) {
|
||||
case WRENCHBOARD_START_JOBLIST:
|
||||
case WRENCHBOARD_ACCOUNT_JOBLIST:
|
||||
case WRENCHBOARD_ACCOUNT_PENDJOB:
|
||||
case WRENCHBOARD_JOB_OFFERS:
|
||||
|
||||
$total = $out["total_record"];
|
||||
$res = array(
|
||||
@@ -173,6 +174,9 @@ function processOutJson($in, $out) {
|
||||
"expire" => $out["expire_${key}"],
|
||||
"sent" => $out["sent_${key}"],
|
||||
"offer_code" => $out["offer_code_${key}"],
|
||||
"offer_uid" => $out["offer_uid_${key}"],
|
||||
"job_to" => $out["job_to_${key}"],
|
||||
"public_view" => $out["public_view_${key}"],
|
||||
"whishlisted"=> false,
|
||||
"thumbnil" => 'marketplace-product-1.jpg',
|
||||
'isActive' => true,
|
||||
@@ -188,7 +192,7 @@ function processOutJson($in, $out) {
|
||||
case WRENCHBOARD_MOBILE_ACTIVEJOB:
|
||||
case WRENCHBOARD_MOBILE_OFFERSLIST:
|
||||
case WRENCHBOARD_JOB_LISTJOBS:
|
||||
case WRENCHBOARD_JOB_OFFERS:
|
||||
/* case WRENCHBOARD_JOB_OFFERS: */
|
||||
|
||||
$total = $out["total_record"];
|
||||
$res = array(
|
||||
|
||||
Reference in New Issue
Block a user