path added of chart size
This commit is contained in:
@@ -11,6 +11,7 @@ use Filament\Facades\Filament;
|
|||||||
use Filament\Notifications\Notification;
|
use Filament\Notifications\Notification;
|
||||||
use Filament\Resources\Pages\CreateRecord;
|
use Filament\Resources\Pages\CreateRecord;
|
||||||
use Livewire\Livewire;
|
use Livewire\Livewire;
|
||||||
|
use Log;
|
||||||
use Route;
|
use Route;
|
||||||
|
|
||||||
class CreateProductionQuantity extends CreateRecord
|
class CreateProductionQuantity extends CreateRecord
|
||||||
@@ -30,10 +31,11 @@ class CreateProductionQuantity extends CreateRecord
|
|||||||
|
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
|
// dd('Current Route: ' . Route::currentRouteName());
|
||||||
Filament::registerRenderHook(
|
Filament::registerRenderHook(
|
||||||
'panels::body.start',
|
'panels::body.start',
|
||||||
function () {
|
function () {
|
||||||
if (str_contains(Route::currentRouteName(), 'filament.admin.resources.production-quantities')) {
|
if (str_contains(Route::currentRouteName(), 'filament.admin.resources.production-quantities.create')) {
|
||||||
echo <<<HTML
|
echo <<<HTML
|
||||||
<style>
|
<style>
|
||||||
/* Hide sidebar and topbar */
|
/* Hide sidebar and topbar */
|
||||||
|
|||||||
Reference in New Issue
Block a user