1
0
forked from poc/pds

Added chart on footer

This commit is contained in:
dhanabalan
2025-04-19 12:47:53 +05:30
parent 1232c7a549
commit 56a74e5f11

View File

@@ -3,6 +3,7 @@
namespace App\Filament\Resources\ProductionQuantityResource\Pages;
use App\Filament\Resources\ProductionQuantityResource;
use App\Filament\Widgets\ItemOverview;
use App\Models\ProductionQuantity;
use App\Models\Shift;
use Filament\Actions;
@@ -15,6 +16,13 @@ class CreateProductionQuantity extends CreateRecord
{
protected static string $resource = ProductionQuantityResource::class;
protected function getFooterWidgets(): array
{
return [
ItemOverview::make(),
];
}
protected function getRedirectUrl(): string
{
return $this->getResource()::getUrl('create'); // Stay on Create Page after saving