@php
$establishment = $document->establishment;
//$path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.'style.css');
$tittle = $document->prefix.'-'.str_pad($document->id, 8, '0', STR_PAD_LEFT);
@endphp
{{--{{ $tittle }}--}}
{{----}}
@if($logo)
|
|
@else
{{-- --}}
|
@endif
{{ $company->name }}
@isset($establishment->trade_address)
{{ ($establishment->trade_address !== '-')? ' DIRECCION: '.$establishment->trade_address : '' }}
{{ ($establishment->district_id !== '-')? ', '.$establishment->district->description : '' }}
{{ ($establishment->province_id !== '-')? ', '.$establishment->province->description : '' }}
{{ ($establishment->department_id !== '-')? '- '.$establishment->department->description : '' }}
@endisset
{{ ($establishment->telephone !== '-')? 'TELEFONO.: '.$establishment->telephone : '' }}
{{ ($establishment->email !== '-')? 'Email: '.$establishment->email : '' }}
|
COTIZACIÓN
{{ $tittle }}
|
| Atendió: |
{{ $document->user->name }}
|
| CANTIDAD |
|
DESCRIPCIÓN |
@foreach($document->items as $row)
|
@if(((int)$row->quantity != $row->quantity))
{{ $row->quantity }}
@else
{{ number_format($row->quantity, 0) }}
@endif
|
{!!$row->item->description!!} @if (!empty($row->item->presentation)) {!!$row->item->presentation->description!!} @endif
|
|
@endforeach