refactor: restructure Stripe pricing config to support monthly and annual tiers
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

- Nest price IDs under `monthly` and `annual` keys for each tier (basic, plus, pro)
This commit is contained in:
Ovidiu U
2026-04-14 19:26:01 +01:00
parent 486f0e689c
commit aec547cd86
6 changed files with 499 additions and 6 deletions

View File

@@ -20,9 +20,9 @@ class ListOilPredictions extends ListRecords
->icon('heroicon-o-cpu-chip')
->requiresConfirmation()
->modalHeading('Run oil price prediction?')
->modalDescription('This will fetch the latest FRED prices and generate a new prediction. May take a few seconds.')
->modalDescription('Generates a new prediction from the stored Brent prices. Runs even if a prediction already exists for the latest price.')
->action(function () {
$result = Artisan::call('oil:predict', ['--fetch' => true]);
$result = Artisan::call('oil:predict', ['--force' => true]);
if ($result === 0) {
Notification::make()