Compare commits
2 Commits
57c56fffeb
...
67ee3ce0f2
| Author | SHA1 | Date | |
|---|---|---|---|
| 67ee3ce0f2 | |||
|
|
567b0544a3 |
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user