diff --git a/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php b/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php index b01698ecfe..754c8fe12b 100644 --- a/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php +++ b/packages/admin/src/Filament/Resources/DiscountResource/Pages/EditDiscount.php @@ -24,7 +24,7 @@ protected function mutateFormDataBeforeSave(array $data): array $minPrices = $data['data']['min_prices'] ?? []; $fixedPrices = $data['data']['fixed_values'] ?? []; $currencies = Currency::enabled()->get(); - + foreach ($minPrices as $currencyCode => $value) { $currency = $currencies->first( fn ($currency) => $currency->code == $currencyCode