1
0
forked from poc/pds

Added wire master print page permisison apge

This commit is contained in:
dhanabalan
2026-02-25 11:13:19 +05:30
parent 076d4a8f68
commit 567b0544a3

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');
}
}