@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') }}:

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

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

{{ $invoice->price_list->name }}

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

{{ $invoice->payment->name }}

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

{{ $invoice->getType() }}

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

{{$invoice->note}}

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

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

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

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

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

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

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

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

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

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

{{ $invoice->tax->name }}

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

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

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

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