@extends('layout.backend.main') @section('content')
{{$brand->companyname}}
{{$brand->address}}
{{$brand->postcode}} {{$brand->city}} {{$brand->province}}
{{Config::get('countries_'.Localization::getCurrentLocale().'.'.$brand->country)}} {!! $brand->telephone !== '' ? '
T '.$brand->telephone : '' !!} {!! $brand->telephone !== '' ? '
E '.$brand->email : '' !!} {{ $brand->website !== '' ? '
W '.$brand->website : '' }}
{{ trans('x.Customer') }}:

{{$proforma->customerOrSupplier()->companyname}} {!! $proforma->customerOrSupplier()->name !== '' ? '
rif. '.$proforma->customerOrSupplier()->name : ''!!}
{{$proforma->customerOrSupplier()->address}}
{{$proforma->customerOrSupplier()->postcode}} {{$proforma->customerOrSupplier()->city}} {{$proforma->customerOrSupplier()->province}}
{{Config::get('countries_'.Localization::getCurrentLocale().'.'.$proforma->customerOrSupplier()->country)}} {!! $proforma->customerOrSupplier()->telephone !== '' ? '
T '.$proforma->customerOrSupplier()->telephone : '' !!} {!! $proforma->customerOrSupplier()->telephone !== '' ? '
E '.$proforma->customerOrSupplier()->email : '' !!}
@if ($proforma->type !== 'unique') @endif

{{ trans('x.Price List') }}

{{ $proforma->price_list->name }}

{{ trans('x.Payment Conditions') }}

{{ $proforma->payment->name }}

{{ trans('x.Products type') }}

{{ $proforma->getType() }}

{{ trans('x.Notes') }}

{{$proforma->note}}

{{ trans('x.Details') }}:

@include('sections.orders.steps._4.details_tables')

N. {{ trans('x.Pieces') }}

{{$proforma->details->sum('qty')}}

{{ trans('x.Subtotal') }}

{{ trans('x.Variation') }} {{$proforma->payment->action}}{{$proforma->payment->amount}}%

{{X::priceFormat($proforma->subtotal)}} €

{{X::priceFormat($proforma->getVariations())}} €

{{ trans('x.'.$proforma->getTypeName()) }} {{ $proforma->getTypePercent() }}%

{{ X::prettyPrice($proforma->totalByType()) }}

{{ $proforma->tax->name }}

{{ X::prettyPrice($proforma->getTaxes()) }}

{{ trans('x.Total') }}

{{X::prettyPrice($proforma->total)}}

{{-- n-success btn-lg" style="float:right; margin:2px;">HTML --}} PDF @if ( Auth::user()->can('orders_update') ) {{ trans('x.Edit') }} @endif
@stop