path added of chart size
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user