Added wire master print page permisison apge #395

Merged
jothi merged 1 commits from ranjith-dev into master 2026-02-25 05:43:32 +00:00

View File

@@ -296,4 +296,9 @@ class WireMasterPrint extends Page
'customer' => $state['customer_po_master_id'],
]));
}
public static function canAccess(): bool
{
return Auth::check() && Auth::user()->can('view wire master print page');
}
}