@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 |
@lang('category') | @lang('subcategory') | @lang('brand') | @lang('model') | @lang('name') | @lang('amount') | @foreach($products as $loan)
---|---|---|---|---|---|
{{ $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}} |
@lang('category') | @lang('type') | @lang('amount') | @foreach($cabels as $loan)
---|---|---|
{{ $loan->loanable->category->name }} | {{ $loan->loanable->name }} | {{ $loan->amount }} |
@lang('loaner') | @lang('lender') |
{{ $user->name }} | {{ Auth::user()->name }} |