From 57161f5fe1a5d111dae5fcd1d4a17aa80888cf21 Mon Sep 17 00:00:00 2001 From: ardhi Date: Tue, 21 Feb 2023 14:23:05 +0700 Subject: [PATCH] add project_code in dashboard --- app/Http/Controllers/DashboardBoDController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/DashboardBoDController.php b/app/Http/Controllers/DashboardBoDController.php index c6309e5..6901b21 100644 --- a/app/Http/Controllers/DashboardBoDController.php +++ b/app/Http/Controllers/DashboardBoDController.php @@ -103,6 +103,7 @@ class DashboardBoDController extends Controller $resp = $this->getInvoiceIntegration($project->kode_sortname); array_push($return, [ 'project' => $project->nama, + 'project_code' => $project->kode_sortname, 'invoiced' => $resp->data->total_invoice_amount ?? 0, 'paid' => $resp->data->total_invoice_paid_amount ?? 0, 'response' => $resp,