feat: add BrentPriceResource with 30-day line chart widget
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user