Add Spesialis & DPPJ

This commit is contained in:
ivan-sim
2025-02-13 13:41:57 +07:00
parent a7c7dd8d8f
commit d6a84ce9f2
15 changed files with 239 additions and 61 deletions

View File

@@ -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{
}
}
}
}