missing closing )

This commit is contained in:
akemidx 2024-10-01 16:37:30 -04:00
parent f45b836010
commit 6fef127cd1

View file

@ -103,7 +103,7 @@ class AssetCheckoutController extends Controller
$settings = \App\Models\Setting::getSettings();
if($settings->require_checkinout_notes=="1" && (is_null($request->note))) {
return redirect()->to("hardware/$assetId/checkout")->with('error', trans('admin/hardware/message.update.no_note'); //needs translation
return redirect()->to("hardware/$assetId/checkout")->with('error', trans('admin/hardware/message.update.no_note'));
}
// We have to check whether $target->company_id is null here since locations don't have a company yet