mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
aha, ok thisd kind of works
This commit is contained in:
parent
b2c2097e8b
commit
cdda4a56d8
|
@ -233,12 +233,12 @@ class BulkAssetsController extends Controller
|
||||||
if(!empty($error_bag)) {
|
if(!empty($error_bag)) {
|
||||||
$ids = array_values($assets);
|
$ids = array_values($assets);
|
||||||
// dd($ids);
|
// dd($ids);
|
||||||
return redirect()->back()
|
// return redirect()->back()
|
||||||
->withInput(["ids" => $ids, "bulk_actions" => "edit"])
|
// ->withInput(["ids" => $ids, "bulk_actions" => "edit"])
|
||||||
->withErrors($error_bag);
|
// ->with('error_messages', $error_bag);
|
||||||
// return $error_bag;
|
// return $error_bag;
|
||||||
|
|
||||||
// return redirect($bulk_back_url)->withErrors($error_bag);
|
return redirect($bulk_back_url)->with('error_messages', $error_bag);
|
||||||
}
|
}
|
||||||
return redirect($bulk_back_url)->with('success', trans('admin/hardware/message.update.success'));
|
return redirect($bulk_back_url)->with('success', trans('admin/hardware/message.update.success'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue