update
This commit is contained in:
@@ -184,6 +184,7 @@ class ShopPaymentMethodController
|
||||
'apilo_payment_type_id' => $paymentMethod['apilo_payment_type_id'] ?? '',
|
||||
'min_order_amount' => $paymentMethod['min_order_amount'] ?? '',
|
||||
'max_order_amount' => $paymentMethod['max_order_amount'] ?? '',
|
||||
'is_cod' => (int)($paymentMethod['is_cod'] ?? 0),
|
||||
];
|
||||
|
||||
$fields = [
|
||||
@@ -220,6 +221,10 @@ class ShopPaymentMethodController
|
||||
'tab' => 'settings',
|
||||
'options' => $apiloOptions,
|
||||
]),
|
||||
FormField::switch('is_cod', [
|
||||
'label' => 'Platnosc przy odbiorze',
|
||||
'tab' => 'settings',
|
||||
]),
|
||||
FormField::switch('status', [
|
||||
'label' => 'Aktywny',
|
||||
'tab' => 'settings',
|
||||
|
||||
Reference in New Issue
Block a user