{{-- 庫存操作紀錄 Partial (AJAX 可替換) --}}
@foreach ($history as $item) @endforeach @if($history->isEmpty()) @endif
{{ __('Machine Information') }} {{ __('Creation Time') }} {{ __('Picked up Time') }} {{ __('Command Type') }} {{ __('Operator') }} {{ __('Status') }}
{{ $item->machine->name }}
{{ $item->machine->serial_no }}
{{ $item->created_at->format('Y/m/d') }} {{ $item->created_at->format('H:i:s') }}
@if($item->executed_at)
{{ $item->executed_at->format('Y/m/d') }} {{ $item->executed_at->format('H:i:s') }}
@else - @endif
@if($item->note) @endif
{{ mb_substr($item->user ? $item->user->name : __('System'), 0, 1) }}
{{ $item->user ? $item->user->name : __('System') }}

{{ __('No records found') }}

{{ $history->appends(request()->query())->links('vendor.pagination.luxury') }}