updated plan, and oxapay integration

This commit is contained in:
Gitea
2025-06-21 04:09:08 +05:30
parent 930144f8f8
commit 30bd0c2712
14 changed files with 360 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ class PlanResource extends Resource
TextInput::make('product_id')->required(),
TextInput::make('pricing_id')->required(),
TextInput::make('shoppy_product_id')->nullable(),
TextInput::make('oxapay_link')->nullable(),
TextInput::make('price')->numeric()->required(),
TextInput::make('mailbox_limit')->numeric()->required(),
Select::make('monthly_billing')->options([
@@ -60,6 +61,10 @@ class PlanResource extends Resource
1 => 'Activate',
0 => 'Disable',
])->required(),
Select::make('accept_oxapay')->options([
1 => 'Activate',
0 => 'Disable',
])->required(),
KeyValue::make('details')
->label('Plan Details (Optional)')
->keyPlaceholder('Name')