feat(tenant): add checkout editing policy
This commit is contained in:
@@ -46,6 +46,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
'display_seach_bar',
|
||||
'display_cart',
|
||||
'cart_editing_policy',
|
||||
'checkout_editing_policy',
|
||||
'display_cart_item_images',
|
||||
'scanner_category_validation_enabled',
|
||||
'event_title',
|
||||
@@ -65,6 +66,7 @@ class Tenant extends Model
|
||||
'display_seach_bar' => true,
|
||||
'display_cart' => true,
|
||||
'cart_editing_policy' => CartEditingPolicy::Full->value,
|
||||
'checkout_editing_policy' => CartEditingPolicy::Disabled->value,
|
||||
'display_cart_item_images' => true,
|
||||
'scanner_category_validation_enabled' => true,
|
||||
];
|
||||
@@ -116,6 +118,7 @@ class Tenant extends Model
|
||||
'display_seach_bar' => 'boolean',
|
||||
'display_cart' => 'boolean',
|
||||
'cart_editing_policy' => CartEditingPolicy::class,
|
||||
'checkout_editing_policy' => CartEditingPolicy::class,
|
||||
'display_cart_item_images' => 'boolean',
|
||||
'scanner_category_validation_enabled' => 'boolean',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user