From eb7102f262bcbed079e7fc867b5bc2133353c6f6 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 16 Jun 2023 13:20:12 -0400 Subject: [PATCH] clientds data --- www-api/app/Models/ResultFormatter.php | 6 ++++++ www-api/public/svs/user/formarter.php | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/www-api/app/Models/ResultFormatter.php b/www-api/app/Models/ResultFormatter.php index ec9a8113..435bb08d 100644 --- a/www-api/app/Models/ResultFormatter.php +++ b/www-api/app/Models/ResultFormatter.php @@ -99,6 +99,12 @@ class ResultFormatter extends Model "client_uid" => $out["client_uid_${key}"], "client_name" => $out["client_name_${key}"], "client_added" => $out["client_added_${key}"], + "client_jobs_completed" => $out["client_jobs_completed_${key}"], + "client_jobs_active" => $out["client_jobs_active_${key}"], + "client_jobs_missed" => $out["client_jobs_missed_${key}"], + "client_offers_pending" => $out["client_offers_pending_${key}"], + "client_percent_completion" => $out["client_percent_completion_${key}"], + "client_ratings" => $out["client_ratings_${key}"], "offer_code" => $out["offer_code_${key}"], "offer_uid" => $out["offer_uid_${key}"], "sent" => $out["sent_${key}"], diff --git a/www-api/public/svs/user/formarter.php b/www-api/public/svs/user/formarter.php index cc426a56..b41951af 100755 --- a/www-api/public/svs/user/formarter.php +++ b/www-api/public/svs/user/formarter.php @@ -92,6 +92,12 @@ function processOutJson($in, $out) { "client_uid" => $out["client_uid_${key}"], "client_name" => $out["client_name_${key}"], "client_added" => $out["client_added_${key}"], + "client_jobs_completed" => $out["client_jobs_completed_${key}"], + "client_jobs_active" => $out["client_jobs_active_${key}"], + "client_jobs_missed" => $out["client_jobs_missed_${key}"], + "client_offers_pending" => $out["client_offers_pending_${key}"], + "client_percent_completion" => $out["client_percent_completion_${key}"], + "client_ratings" => $out["client_ratings_${key}"], "offer_code" => $out["offer_code_${key}"], "offer_uid" => $out["offer_uid_${key}"], "sent" => $out["sent_${key}"],