@extends('warehouse.app') @section('content')
@lang('w_damage.title_index') ( {{ $damages->isNotEmpty() ? $damages->first()->entity->name : '' }} )
{{--
--}} {{--
--}}
{{-- --}} @forelse ($damages as $item) {{-- --}} @empty @endforelse
# @lang('warehouse.entry_number') {{ __('w_damage.date') }}{{ __('w_damage.entity_id') }} {{ __('w_damage.warehouse_type') }}{{ __('w_damage.notes') }} {{ __('w_damage.actions') }}
{{ $item->id }} {{ $item->damage_number }} {{ $item->date }}{{ $item->entity->name }} @if ($item->entity->warehouse->warehouse_type == 'prints') {{ __('w_damage.prints') }} @elseif ($item->entity->warehouse->warehouse_type == 'equipments') {{ __('w_damage.equipments') }} @elseif ($item->entity->warehouse->warehouse_type == 'both') {{ __('w_damage.both') }} @else {{ __('w_damage.undefined') }} @endif {{ $item->notes }}
{{ __('w_damage.no_data') }}
@isset($damages) {{ $damages->links('pagination::bootstrap-5') }} @endisset
@endsection