penyesuaian approved at

This commit is contained in:
2024-02-01 10:43:40 +07:00
parent 8a7fac07ff
commit 12fee09c65
2 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ class ReportLogResource extends JsonResource
$created_final_at = null;
}
$durationGl = Helper::differenceTime($formattedDateTime, $this->submission_date);
$durationGl = Helper::differenceTime($formattedDateTime, $this->approved_at);
$approveByFgl = '-';
if ($this->import_system) {
$approveByFgl = 'Import By Excel';
@@ -54,7 +54,7 @@ class ReportLogResource extends JsonResource
'code' => $this->code,
'created_at' => $formattedDateTime,
'created_final_at' => $created_final_at,
'submission_date' => $this->submission_date,
'submission_date' => $this->approved_at,
'approved_by' => Helper::userName($this->approved_by),
'approved_final_log_at' => $this->approved_final_log_at,
'approved_final_log_by' => $approveByFgl,