[Client Portal] - tambah feild item benefit di service monitoring (tb fajri)
This commit is contained in:
@@ -51,7 +51,7 @@ class RequestLog extends Model
|
||||
'deleted_by',
|
||||
];
|
||||
|
||||
public static $doc_headers_to_field_map = [
|
||||
public static $doc_headers_to_field_map = [
|
||||
"Date Of Request" => "submission_date",
|
||||
"Date Addmission" => "submission_date",
|
||||
"Member ID Peserta" => "member_id",
|
||||
@@ -65,7 +65,7 @@ class RequestLog extends Model
|
||||
"Total Billing" => "total_billing",
|
||||
"Amount Approval" => "amount_approval",
|
||||
"Amount Not Approval" => "amount_not_approval",
|
||||
"QC 1" => "status_final_log",
|
||||
"QC 1" => "status_final_log",
|
||||
];
|
||||
|
||||
public static $listing_doc_headers = [
|
||||
@@ -82,7 +82,7 @@ class RequestLog extends Model
|
||||
"Total Billing",
|
||||
"Amount Approval",
|
||||
"Amount Not Approval",
|
||||
"QC 1",
|
||||
"QC 1",
|
||||
];
|
||||
|
||||
public static $listing_data_doc_headers = [
|
||||
@@ -246,6 +246,11 @@ class RequestLog extends Model
|
||||
return $this->hasOne(RequestLogBenefit::class, 'request_log_id');
|
||||
}
|
||||
|
||||
public function requestLogBenefits()
|
||||
{
|
||||
return $this->hasMany(RequestLogBenefit::class, 'request_log_id');
|
||||
}
|
||||
|
||||
public function requestLogDailyMonitorings()
|
||||
{
|
||||
return $this->hasMany(RequestLogDailyMonitoring::class, 'request_log_id');
|
||||
|
||||
Reference in New Issue
Block a user