Merge pull request 'Fix form submission staying in draft status' (#13) from fix/submit-draft-status into master
All checks were successful
All checks were successful
Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
@@ -17,7 +17,7 @@ class ApprovalService
|
||||
$workflow = $travelRequest->workflow;
|
||||
|
||||
if (! $workflow) {
|
||||
return;
|
||||
throw new \RuntimeException('No active approval workflow is configured.');
|
||||
}
|
||||
|
||||
$steps = $workflow->steps()->orderBy('order')->get();
|
||||
|
||||
Reference in New Issue
Block a user