@foreach($entity->rows as $row) @endforeach
@if(\Modules\Platform\Core\Helper\CompanySettings::get(\Modules\Platform\Core\Helper\SettingsHelper::S_DISPLAY_SHOW_LOGO_IN_PDF)) @else @include('quotes::pdf.company_part') @endif @lang('quotes::quotes.pdf.quote') #: {{ $entity->id }}
@lang('quotes::quotes.pdf.created'): {{ \Modules\Platform\Core\Helper\UserHelper::formatUserDate($entity->created_at) }}
@lang('quotes::quotes.pdf.valid_until'): {{ \Modules\Platform\Core\Helper\UserHelper::formatUserDate($entity->valid_unitl) }}
@if(\Modules\Platform\Core\Helper\CompanySettings::get(\Modules\Platform\Core\Helper\SettingsHelper::S_DISPLAY_SHOW_LOGO_IN_PDF)) @include('quotes::pdf.company_part') @endif

@lang('quotes::quotes.pdf.quotation_for')

@if(!empty($entity->account)) {{ $entity->account->name }}
@endif {{ $entity->street }}
{{ $entity->city }} {{ $entity->state }} {{ $entity->zip_code }}
{{ optional($entity->country)->name }}
@if(!empty($entity->contact))
@lang('quotes::quotes.pdf.contact')
{{ $entity->contact->full_name }}
@lang('quotes::quotes.pdf.email'): {{ $entity->contact->mobile }}
@lang('quotes::quotes.pdf.mobile'): {{ $entity->contact->email }}
@lang('quotes::quotes.pdf.office_phone'): {{ $entity->contact->phpne }} @endif
@if(!empty($entity->owner))

@lang('quotes::quotes.pdf.sales_representative')

{{ $entity->owner->name }}
@lang('quotes::quotes.pdf.email'): {{ $entity->owner->email }}
@lang('quotes::quotes.pdf.mobile'): {{ $entity->owner->mobile_phone }}
@lang('quotes::quotes.pdf.office_phone'): {{ $entity->owner->office_phone }} @endif
@lang('quotes::quotes.pdf.product_service') @lang('quotes::quotes.pdf.unit_cost') @lang('quotes::quotes.pdf.quantity') @lang('quotes::quotes.pdf.line_total')
{{ $row->product_name }} @if(config('quotes.show_product_image') && !empty($row->product))
@endif
{{ number_format($row->price,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif {{ $row->quantity }} {{ number_format($row->lineTotal,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
@lang('quotes::quotes.pdf.subtotal') {{ number_format($entity->subtotal,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
{{ number_format($entity->discount,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
{{ number_format($entity->delivery_cost,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
{{ number_format($entity->taxValue,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
{{ number_format($entity->grossValue,2) }} @if(!empty($entity->currency)) {{ $entity->currency->code }} @endif
@if($entity->shipping)

@lang('quotes::quotes.pdf.shipping')
@if(!empty($entity->quoteCarrier)) @lang('quotes::quotes.pdf.carrier'): {{$entity->quoteCarrier->name}}
@endif {{ $entity->shipping }}
@endif @if($entity->notes)

@lang('quotes::quotes.pdf.notes')
{!! $entity->notes !!}
@endif