mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-01 00:47:27 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
41e96ad0ab
|
@ -295,7 +295,7 @@ class AssetsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->filled('order_number')) {
|
if ($request->filled('order_number')) {
|
||||||
$assets->where('assets.order_number', '=', $request->get('order_number'));
|
$assets->where('assets.order_number', '=', strval($request->get('order_number')));
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is kinda gross, but we need to do this because the Bootstrap Tables
|
// This is kinda gross, but we need to do this because the Bootstrap Tables
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
{{ trans('general.assets') }}
|
{{ trans('general.assets') }}
|
||||||
|
|
||||||
@if (Request::has('order_number'))
|
@if (Request::has('order_number'))
|
||||||
: Order #{{ Request::get('order_number') }}
|
: Order #{{ strval(Request::get('order_number')) }}
|
||||||
@endif
|
@endif
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
class="table table-striped snipe-table"
|
class="table table-striped snipe-table"
|
||||||
data-url="{{ route('api.assets.index',
|
data-url="{{ route('api.assets.index',
|
||||||
array('status' => e(Request::get('status')),
|
array('status' => e(Request::get('status')),
|
||||||
'order_number'=>e(Request::get('order_number')),
|
'order_number'=>e(strval(Request::get('order_number'))),
|
||||||
'company_id'=>e(Request::get('company_id')),
|
'company_id'=>e(Request::get('company_id')),
|
||||||
'status_id'=>e(Request::get('status_id')))) }}"
|
'status_id'=>e(Request::get('status_id')))) }}"
|
||||||
data-export-options='{
|
data-export-options='{
|
||||||
|
|
Loading…
Reference in a new issue