Add Spesialis & DPPJ
This commit is contained in:
@@ -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