Feat: Adding Translations to Payment and Shipping Methods, removing unecessary shipping method fulfillment type

This commit is contained in:
arvanitakis committed 2026-09-15 23:51:10 +03:00
1 parent ea73cc3562
commit 97004234f0
14 files changed
+447 -36

No files matched your search

@@ -42,6 +42,8 @@ class OrderPaymentMethodSummaryExtension extends ViewPageExtension
return null;
}
return PaymentMethod::where('type', $type)->value('name') ?? $type;
$method = PaymentMethod::where('type', $type)->first();
return $method?->translate('name') ?? $type;
}
}