5120-reports_loopback #1389
|
@ -7,18 +7,18 @@
|
|||
<h3 style="text-align: center; margin-top: 8%">{{$t('Compensation') | uppercase}}</h3>
|
||||
<p style="margin-top: 8%">{{$t('In one hand')}}:</p>
|
||||
<p style="text-align: justify">
|
||||
{{receipt.supplier().name}} {{$t('CIF')}} {{receipt.supplier().nif}} {{$t('Home')}} {{receipt.supplier().street}},
|
||||
{{receipt.supplier().city}}.
|
||||
{{company.name}} {{$t('CIF')}} {{company.nif}} {{$t('Home')}} {{company.street}},
|
||||
{{company.city}}.
|
||||
</p>
|
||||
<p style="margin-top: 5%">{{$t('In other hand')}}:</p>
|
||||
<p style="text-align: justify">
|
||||
{{$t('Sr')}} {{receipt.client().name}} {{$t('NIF')}} {{receipt.client().fi}} {{$t('Home')}} {{receipt.client().street}},
|
||||
{{receipt.client().city}}.
|
||||
{{$t('Sr')}} {{client.name}} {{$t('NIF')}} {{client.fi}} {{$t('Home')}} {{client.street}},
|
||||
{{client.city}}.
|
||||
</p>
|
||||
<h4 style="text-align: center; margin-top: 10%">{{$t('Agree') | uppercase}}</h4>
|
||||
<p style="margin-top: 8%; text-align: justify">
|
||||
{{$t('Date')}} {{formatDate(receipt.payed, '%d-%m-%Y')}} {{$t('Compensate')}} {{receipt.amountPaid}} €
|
||||
{{$t('From client')}} {{receipt.client().name}} {{$t('Against the balance of')}}: {{receipt.description}}.
|
||||
{{$t('From client')}} {{client.name}} {{$t('Against the balance of')}}: {{receipt.description}}.
|
||||
</p>
|
||||
<p style="margin-top: 8%">
|
||||
{{$t('Reception')}} <span style="color: blue">administracion@verdnatura.es</span>
|
||||
|
|
|
@ -22,6 +22,10 @@ module.exports = {
|
|||
],
|
||||
where: {id: this.id}
|
||||
});
|
||||
console.log(this.receipt);
|
||||
this.client = this.receipt.client();
|
||||
this.company = this.receipt.supplier();
|
||||
|
||||
this.checkMainEntity(this.receipt);
|
||||
},
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue