added crypto pm and activation key system
This commit is contained in:
@@ -45,12 +45,21 @@ class PlanResource extends Resource
|
||||
TextInput::make('description'),
|
||||
TextInput::make('product_id')->required(),
|
||||
TextInput::make('pricing_id')->required(),
|
||||
TextInput::make('shoppy_product_id')->nullable(),
|
||||
TextInput::make('price')->numeric()->required(),
|
||||
TextInput::make('mailbox_limit')->numeric()->required(),
|
||||
Select::make('monthly_billing')->options([
|
||||
1 => 'Monthly',
|
||||
0 => 'Yearly',
|
||||
])->default(1)->required(),
|
||||
])->required(),
|
||||
Select::make('accept_stripe')->options([
|
||||
1 => 'Activate',
|
||||
0 => 'Disable',
|
||||
])->required(),
|
||||
Select::make('accept_shoppy')->options([
|
||||
1 => 'Activate',
|
||||
0 => 'Disable',
|
||||
])->required(),
|
||||
KeyValue::make('details')
|
||||
->label('Plan Details (Optional)')
|
||||
->keyPlaceholder('Name')
|
||||
|
||||
Reference in New Issue
Block a user