Aesthetic Fixes
This commit is contained in:
@@ -179,7 +179,7 @@ class MaterialTransferController extends Controller
|
||||
{
|
||||
abort_if($materialTransfer->status !== MaterialTransferStatus::Draft, 403, 'Only draft transfers can be submitted.');
|
||||
|
||||
$approverIds = \App\Models\User::role('project_manager')->pluck('id')->toArray();
|
||||
$approverIds = \App\Models\User::role('Project Manager')->pluck('id')->toArray();
|
||||
if (empty($approverIds)) {
|
||||
$approverIds = [1]; // Fallback to admin/first user
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user