Merge branch 'staging' of https://dev.sismedika.online/febio/aso into staging
This commit is contained in:
@@ -51,6 +51,8 @@ class RequestLog extends Model
|
||||
'approved_final_log_at',
|
||||
'created_final_at',
|
||||
'created_final_by',
|
||||
'specialities_id',
|
||||
'dppj',
|
||||
'type_of_member'
|
||||
];
|
||||
|
||||
@@ -82,7 +84,7 @@ class RequestLog extends Model
|
||||
"Keterangan IGL" => "keterangan",
|
||||
"Catatan FGL" => "catatan",
|
||||
"QC 1" => "status_final_log",
|
||||
"Ingestion Code" => "ingestion_code",
|
||||
"Ingestion Code" => "ingestion_code",
|
||||
"Ingestion Status" => "ingestion_status",
|
||||
|
||||
];
|
||||
|
||||
@@ -21,14 +21,16 @@ use Str;
|
||||
class RequestLogService{
|
||||
|
||||
public static function storeRequestLog(
|
||||
$row = null,
|
||||
$code,
|
||||
$member,
|
||||
$paymentType,
|
||||
$serviceCode,
|
||||
$submissionDate,
|
||||
$status, $organization_id = null,
|
||||
$source
|
||||
$row = null,
|
||||
$code,
|
||||
$member,
|
||||
$paymentType,
|
||||
$serviceCode,
|
||||
$submissionDate,
|
||||
$status, $organization_id = null,
|
||||
$source,
|
||||
$specialities_id,
|
||||
$dppj
|
||||
)
|
||||
{
|
||||
try {
|
||||
@@ -55,6 +57,8 @@ class RequestLogService{
|
||||
'policy_id' => $member->currentPolicy->id ?? null,
|
||||
'organization_id' => $organization ? $organization->id : 0,
|
||||
'source' => $source,
|
||||
'specialities_id' => $specialities_id,
|
||||
'dppj' => $dppj
|
||||
];
|
||||
|
||||
$requestLog = RequestLog::create($requestLogData);
|
||||
@@ -109,7 +113,7 @@ class RequestLogService{
|
||||
DB::commit();
|
||||
return $claimManagement;
|
||||
|
||||
|
||||
|
||||
} catch (\Exception $error) {
|
||||
DB::rollBack();
|
||||
|
||||
@@ -168,4 +172,4 @@ class RequestLogService{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user