@lang('school')

@lang('division')

@lang('reservation')

@lang('user') : {{ $user->username }} - {{ $user->name }}
@lang('room') : {{ $room->building->name }} - {{ $room->name }}
@lang('date_start') : {{ date('d.m.Y', strtotime($date_start)) }}
@lang('date_end') : @if(!empty($date_end)) {{ date('d.m.Y', strtotime($date_end)) }} @else @lang('permanent') @endif
@if($products_total_amount >= 1)

@lang('products')

@foreach($products as $loan) @endforeach
@lang('category') @lang('subcategory') @lang('brand') @lang('model') @lang('name') @lang('amount')
{{ $loan->loanable->category->name }} @if(!empty($loan->loanable->subcategory)) {{ $loan->loanable->subcategory->name }} @endif {{ $loan->loanable->brand->name }} {{ $loan->loanable->model->name }} @if(!empty($loan->loanable->name)) {{ $loan->loanable->name }} @endif {{ $loan->amount}}

Total @lang('amount') : {{$products_total_amount}}

@endif @if($cabels_total_amount >= 1)

Kabler

@foreach($cabels as $loan) @endforeach
@lang('category') @lang('type') @lang('amount')
{{ $loan->loanable->category->name }} {{ $loan->loanable->name }} {{ $loan->amount }}

Total @lang('amount') : {{$cabels_total_amount}}

@endif

@lang('loaner') @lang('lender')
{{ $user->name }} {{ Auth::user()->name }}