Merge branch 'staging' of https://dev.sismedika.online/febio/aso into staging
This commit is contained in:
@@ -146,7 +146,9 @@ class ClaimController extends Controller
|
||||
$affectedRows = DB::table('claim_requests')
|
||||
->where('code','=', $row['code'])
|
||||
->where('claim_management','=', 1)
|
||||
->where('status_claim_management.status', '=', 'received')
|
||||
->update([
|
||||
'status' => $row['qc'] == 'Y' ? 'approved' : 'declined',
|
||||
'status_claim_management' => $row['qc'] == 'Y' ? 'approved' : 'declined',
|
||||
'reason_decline' => $row['reason'] ? $row['reason'] : null,
|
||||
'approval_by_claim_management' => auth()->user()->id,
|
||||
|
||||
Reference in New Issue
Block a user