refactored from bulkcheckin to quickscancheckin

This commit is contained in:
Alex Janes 2021-12-20 23:27:36 -05:00
parent 7acb559069
commit b01a4468c7
4 changed files with 10 additions and 10 deletions

View file

@ -30,8 +30,8 @@
'bulkaudit' => 'Bulk Audit',
'bulkaudit_status' => 'Audit Status',
'bulk_checkout' => 'Bulk Checkout',
'bulk_checkin' => 'Bulk Checkin',
'bulk_checkin_status' => 'Bulk Checkin Status',
'quickscan_checkin' => 'Quick Scan Checkin',
'quickscan_checkin_status' => 'Bulk Checkin Status',
'bystatus' => 'by Status',
'cancel' => 'Cancel',
'categories' => 'Categories',

View file

@ -2,7 +2,7 @@
{{-- Page title --}}
@section('title')
{{ trans('general.bulk_checkin') }}
{{ trans('general.quickscan_checkin') }}
@parent
@stop
@ -64,7 +64,7 @@
<div class="col-md-6">
<div class="box box-default" id="checkedin-div" style="display: none">
<div class="box-header with-border">
<h2 class="box-title"> {{ trans('general.bulk_checkin_status') }} (<span id="checkin-counter">0</span> assets checked in) </h2>
<h2 class="box-title"> {{ trans('general.quickscan_checkin_status') }} (<span id="checkin-counter">0</span> assets checked in) </h2>
</div>
<div class="box-body">
@ -72,7 +72,7 @@
<thead>
<tr>
<th>{{ trans('general.asset_tag') }}</th>
<th>{{ trans('general.bulk_checkin_status') }}</th>
<th>{{ trans('general.quickscan_checkin_status') }}</th>
<th></th>
</tr>
<tr id="checkin-loader" style="display: none;">

View file

@ -481,9 +481,9 @@
<li class="divider">&nbsp;</li>
@can('checkin', \App\Models\Asset::class)
<li{!! (Request::is('hardware/bulkcheckin') ? ' class="active"' : '') !!}>
<a href="{{ route('hardware/bulkcheckin') }}">
{{ trans('general.bulk_checkin') }}
<li{!! (Request::is('hardware/quickscancheckin') ? ' class="active"' : '') !!}>
<a href="{{ route('hardware/quickscancheckin') }}">
{{ trans('general.quickscan_checkin') }}
</a>
</li>
@endcan

View file

@ -28,9 +28,9 @@ Route::group(
[AssetsController::class, 'quickScan']
)->name('assets.bulkaudit');
Route::get('bulkcheckin',
Route::get('quickscancheckin',
[AssetsController::class, 'quickScanCheckin']
)->name('hardware/bulkcheckin');
)->name('hardware/quickscancheckin');
// Asset Maintenances
Route::resource('maintenances',