add kolom import system
This commit is contained in:
@@ -40,7 +40,14 @@ class ReportLogResource extends JsonResource
|
||||
}
|
||||
|
||||
$durationGl = Helper::differenceTime($formattedDateTime, $this->submission_date);
|
||||
|
||||
$approveByFgl = '-';
|
||||
if ($this->import_system) {
|
||||
$approveByFgl = 'Import By Excel';
|
||||
} else if ($this->final_log == 1 && $this->status_final_log == 'requested'){
|
||||
$approveByFgl = '-';
|
||||
} else {
|
||||
$approveByFgl = Helper::userName($this->approved_final_log_by);
|
||||
}
|
||||
|
||||
$data = [
|
||||
'id' => $this->id,
|
||||
|
||||
Reference in New Issue
Block a user