new deployer command
This commit is contained in:
@@ -11,6 +11,8 @@ use Modules\Platform\app\Models\PlatformPrice;
|
||||
|
||||
class PlatformPriceController extends Controller
|
||||
{
|
||||
private const MIN_ZERO = self::MIN_ZERO;
|
||||
|
||||
/**
|
||||
* Display the customer-facing platform pricing cards.
|
||||
*/
|
||||
@@ -101,12 +103,12 @@ class PlatformPriceController extends Controller
|
||||
'name' => ['required', 'string', 'max:255'],
|
||||
'strapline' => ['nullable', 'string', 'max:255'],
|
||||
'description' => ['nullable', 'string', 'max:2000'],
|
||||
'monthly_amount' => ['required', 'numeric', 'min:0', 'max:999999.99'],
|
||||
'annual_amount' => ['nullable', 'numeric', 'min:0', 'max:999999.99'],
|
||||
'monthly_amount' => ['required', 'numeric', self::MIN_ZERO, 'max:999999.99'],
|
||||
'annual_amount' => ['nullable', 'numeric', self::MIN_ZERO, 'max:999999.99'],
|
||||
'currency' => ['required', 'string', 'size:3'],
|
||||
'badge_label' => ['nullable', 'string', 'max:60'],
|
||||
'features' => ['nullable', 'string', 'max:4000'],
|
||||
'sort_order' => ['required', 'integer', 'min:0', 'max:65535'],
|
||||
'sort_order' => ['required', 'integer', self::MIN_ZERO, 'max:65535'],
|
||||
'is_featured' => ['nullable', 'boolean'],
|
||||
'is_active' => ['nullable', 'boolean'],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user