This commit is contained in:
ivan-sim
2026-02-27 15:39:31 +07:00
parent 77c8d7200d
commit e889eaadbf
3 changed files with 113 additions and 79 deletions

View File

@@ -109,7 +109,7 @@ class RequestLogController extends Controller
'type' => 'hospital',
'corporate_id_partner' => $request->corporate_id_partner ? implode(',', $request->corporate_id_partner) : null,
'created_at' => now(),
'created_by' => auth()->user()->id
// 'created_by' => auth()->user()->id
]);
// Insert data ke tabel addresses
@@ -120,7 +120,7 @@ class RequestLogController extends Controller
'addressable_id' => $organization_id,
'type' => 'hospital',
'created_at' => now(),
'created_by' => auth()->user()->id
// 'created_by' => auth()->user()->id
]);
// Update main_address_id di tabel organizations
@@ -235,7 +235,7 @@ class RequestLogController extends Controller
'amount_not_approved' => $value['amount_not_approved'],
'excess_paid' => $value['excess_paid'],
'keterangan' => $value['keterangan'] ?? '',
'created_by' => auth()->user()->id,
// 'created_by' => auth()->user()->id,
];
RequestLogBenefit::create($data);