1
0
forked from poc/pds

path added of chart size

This commit is contained in:
dhanabalan
2025-04-21 20:18:34 +05:30
parent 12d3ef3d20
commit 5533a441c0

View File

@@ -11,6 +11,7 @@ use Filament\Facades\Filament;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\CreateRecord;
use Livewire\Livewire;
use Log;
use Route;
class CreateProductionQuantity extends CreateRecord
@@ -30,10 +31,11 @@ class CreateProductionQuantity extends CreateRecord
public function boot(): void
{
// dd('Current Route: ' . Route::currentRouteName());
Filament::registerRenderHook(
'panels::body.start',
function () {
if (str_contains(Route::currentRouteName(), 'filament.admin.resources.production-quantities')) {
if (str_contains(Route::currentRouteName(), 'filament.admin.resources.production-quantities.create')) {
echo <<<HTML
<style>
/* Hide sidebar and topbar */