jobs formated

This commit is contained in:
CHIEFSOFT\ameye
2023-05-06 19:26:19 -04:00
parent d21b76aabb
commit 019e7912e8
3 changed files with 59 additions and 4 deletions
+3
View File
@@ -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,
+5 -1
View File
@@ -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(