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

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

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

{{ $creditNote->price_list->name }}

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

{{ $creditNote->payment->name }}

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

{{ $creditNote->getType() }}

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

{{$creditNote->note}}

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

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

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

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

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

{{ trans('x.Variation') }} @if ($creditNote->payment->action == '-') + @elseif ($creditNote->payment->action == '+') - @endif

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

@if ($creditNote->payment->action == '-') + @elseif ($creditNote->payment->action == '+') - @endif {{X::priceFormat($creditNote->getVariations())}} €

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

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

{{ $creditNote->tax->name }}

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

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

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

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