Removed extra debugging

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-09 16:15:14 +01:00
parent 6d55d78280
commit 866bbe5e11

View file

@ -1063,9 +1063,6 @@ class ReportsController extends Controller
} else {
$logItem_res = $assetItem->checkouts()->where('created_at', '=', $acceptance->created_at)->get();
\Log::debug('Acceptance created at: '.$acceptance->created_at);
\Log::debug(print_r($logItem_res, true));
if ($logItem_res->isEmpty()){
\Log::debug('Acceptance date mismatch');
return redirect()->route('reports/unaccepted_assets')->with('error', trans('general.bad_data'));