feat: add BrentPriceResource with 30-day line chart widget

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ovidiu U
2026-04-04 14:23:57 +01:00
parent d936175090
commit b2cc3ee0ff
4 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Filament\Resources\BrentPriceResource\Pages;
use App\Filament\Resources\BrentPriceResource;
use App\Filament\Widgets\BrentPriceChartWidget;
use Filament\Resources\Pages\ListRecords;
class ListBrentPrices extends ListRecords
{
protected static string $resource = BrentPriceResource::class;
protected function getHeaderActions(): array
{
return [];
}
protected function getHeaderWidgets(): array
{
return [
BrentPriceChartWidget::class,
];
}
}