update fitur delete all import

This commit is contained in:
2023-11-09 17:25:16 +07:00
parent 3100a1a1b2
commit cea8b476e0
7 changed files with 92 additions and 4 deletions

View File

@@ -237,7 +237,6 @@ class CorporateService
->where('corporate_plan_id', $benefit_data['plan_code'])
->first();
$benefit_data['plan_code'] = $plan->id;
$benefit = Benefit::updateOrCreate([
'code' => $benefit_data['code'],
'service_code' => $plan->service_code,