Update improvement client portal daily monitoring
This commit is contained in:
@@ -33,6 +33,7 @@ class RequestLogService
|
||||
"Tgl Billing dari RS" => "approved_final_log_at",
|
||||
"Total Billing" => "total_billing",
|
||||
"Benefit Item" => "benefit_id",
|
||||
"Amount Incurred" => "amount_incurred",
|
||||
"Amount Approval" => "amount_approval",
|
||||
"Amount Not Approval" => "amount_not_approval",
|
||||
"Total COB" => "total_cob",
|
||||
@@ -57,6 +58,7 @@ class RequestLogService
|
||||
"approved_final_log_at" => "Tgl Billing dari RS",
|
||||
"total_billing" => "Total Billing",
|
||||
"benefit_id" => "Benefit Item",
|
||||
"amount_incurred" => "Amount Incurred",
|
||||
"amount_approval" => "Amount Approval",
|
||||
"amount_not_approval" => "Amount Not Approval",
|
||||
"total_cob" => "Total COB",
|
||||
@@ -80,6 +82,7 @@ class RequestLogService
|
||||
"Tgl Billing dari RS",
|
||||
"Total Billing",
|
||||
"Benefit Item",
|
||||
"Amount Incurred",
|
||||
"Amount Approval",
|
||||
"Amount Not Approval",
|
||||
"Total COB",
|
||||
@@ -103,6 +106,7 @@ class RequestLogService
|
||||
"Tgl Billing dari RS",
|
||||
"Total Billing",
|
||||
"Benefit Item",
|
||||
"Amount Incurred",
|
||||
"Amount Approval",
|
||||
"Amount Not Approval",
|
||||
"Total COB",
|
||||
@@ -297,7 +301,7 @@ class RequestLogService
|
||||
'request_log_id' => $requestLog->id,
|
||||
'benefit_id' => $benefit->id,
|
||||
// 'amount_incurred' => ($row['amount_approval'] ? $row['amount_approval'] : 0) + ($row['amount_not_approval'] ? $row['amount_not_approval'] : 0) ,
|
||||
'amount_incurred' => $row['total_billing'] ,
|
||||
'amount_incurred' => $row['amount_incurred'] ,
|
||||
'amount_approved' => $row['amount_approval'] ?? 0,
|
||||
'amount_not_approved' => $row['amount_not_approval'] ?? 0,
|
||||
'excess_paid' => $row['amount_not_approval'] ?? 0,
|
||||
|
||||
Reference in New Issue
Block a user