1
0
forked from poc/pds

Merge pull request 'Added wire master print page permisison apge' (#395) from ranjith-dev into master

Reviewed-on: poc/pds#395
This commit is contained in:
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');
}
}