{{$t(type)}}

{{$t('clientId')}} {{client.id}}
{{$t(type)}} {{ticket.id}}
{{$t('date')}} {{ticket.shipped | date('%d-%m-%Y')}}
{{$t('packages')}} {{ticket.packages}}
{{$t('deliveryAddress')}}

{{address.nickname}}

{{address.street}}
{{address.postalCode}}, {{address.city}} ({{address.province}})
{{$t('fiscalData')}}
{{client.socialName}}
{{client.street}}
{{client.fi}}

{{$t('saleLines')}}

{{$t('reference')}} {{$t('quantity')}} {{$t('concept')}} {{$t('price')}} {{$t('discount')}} {{$t('vat')}} {{$t('amount')}}
{{sale.itemFk | zerofill('000000')}} {{sale.quantity}} {{sale.concept}} {{sale.price | currency('EUR', $i18n.locale)}} {{(sale.discount / 100) | percentage}} {{sale.vatType}} {{sale.price * sale.quantity * (1 - sale.discount / 100) | currency('EUR', $i18n.locale)}}
{{sale.tag5}} {{sale.value5}} {{sale.tag6}} {{sale.value6}} {{sale.tag7}} {{sale.value7}}
{{$t('subtotal')}} {{getSubTotal() | currency('EUR', $i18n.locale)}}

{{$t('services.title')}}

{{$t('services.theader.quantity')}} {{$t('services.theader.concept')}} {{$t('services.theader.price')}} {{$t('services.theader.vat')}} {{$t('services.theader.amount')}}
{{service.quantity}} {{service.description}} {{service.price | currency('EUR', $i18n.locale)}} {{service.taxDescription}} {{service.price | currency('EUR', $i18n.locale)}}
{{$t('services.tfoot.subtotal')}} {{serviceTotal | currency('EUR', $i18n.locale)}}
* {{ $t('services.warning') }}

{{$t('packagings.title')}}

{{$t('packagings.theader.reference')}} {{$t('packagings.theader.quantity')}} {{$t('packagings.theader.concept')}}
{{packaging.itemFk | zerofill('000000')}} {{packaging.quantity}} {{packaging.name}}
{{$t('taxes.title')}}
{{$t('taxes.theader.type')}} {{$t('taxes.theader.taxBase')}} {{$t('taxes.theader.tax')}} {{$t('taxes.theader.fee')}}
{{tax.name}} {{tax.Base | currency('EUR', $i18n.locale)}} {{tax.vatPercent | percentage}} {{tax.tax | currency('EUR', $i18n.locale)}}
{{$t('subtotal')}} {{getTotalBase() | currency('EUR', $i18n.locale)}} {{getTotalTax()| currency('EUR', $i18n.locale)}}
{{$t('total')}} {{getTotal() | currency('EUR', $i18n.locale)}}
{{$t('plantPassport')}}
A {{getBotanical()}}
B ES17462130
C {{ticket.id}}
D ES
{{$t('digitalSignature')}}
{{signature.created | date('%d-%m-%Y')}}