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

This commit is contained in:
2026-09-15 23:51:10 +03:00
parent ea73cc3562
commit 97004234f0
14 changed files with 447 additions and 36 deletions
@@ -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;
}
}