missed a spot
This commit is contained in:
parent
de41def2b3
commit
f6b9ae6aee
1 changed files with 1 additions and 1 deletions
|
@ -1162,7 +1162,7 @@ class ReportsController extends Controller
|
||||||
Mail::to($email)->send((new CheckoutAssetMail($assetItem, $assetItem->assignedTo, $logItem->user, $logItem->note, $acceptance)));
|
Mail::to($email)->send((new CheckoutAssetMail($assetItem, $assetItem->assignedTo, $logItem->user, $logItem->note, $acceptance)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($assetItem->assignedTo?->email == ''){
|
if ($email == ''){
|
||||||
return redirect()->route('reports/unaccepted_assets')->with('error', trans('general.no_email'));
|
return redirect()->route('reports/unaccepted_assets')->with('error', trans('general.no_email'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue