Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
2cdc22bc4d
|
@ -130,7 +130,7 @@
|
|||
<!-- Create invoice PDF confirmation dialog -->
|
||||
<vn-confirm
|
||||
vn-id="createInvoicePdfConfirmation"
|
||||
on-accept="$ctrl.createInvoicePdf()"
|
||||
on-accept="$ctrl.createPdfInvoice()"
|
||||
question="Are you sure you want to generate/regenerate the PDF invoice?"
|
||||
message="Generate PDF invoice document">
|
||||
</vn-confirm>
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
<tr>
|
||||
<th>
|
||||
{{$t('incoterms')}}
|
||||
<div class="description">asd</div>
|
||||
</th>
|
||||
<td>{{incoterms.incotermsFk}} - {{incoterms.incotermsName}}</td>
|
||||
</tr>
|
||||
|
|
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
return this.findOneFromDef('client', [invoiceId]);
|
||||
},
|
||||
fetchIncoterms(invoiceId) {
|
||||
return this.findOneFromDef('incoterms', {invoiceId});
|
||||
return this.findOneFromDef('incoterms', [invoiceId, invoiceId, invoiceId]);
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -51,8 +51,8 @@ SELECT io.issued,
|
|||
FROM vn.invoiceOut io
|
||||
JOIN vn.ticket t ON t.refFk = io.ref
|
||||
JOIN vn.saleVolume sv ON sv.ticketFk = t.id
|
||||
WHERE io.id = :invoiceId
|
||||
)sub2 ON TRUE
|
||||
WHERE io.id = ?
|
||||
) sub2 ON TRUE
|
||||
JOIN vn.itemTaxCountry itc ON itc.countryFk = su.countryFk AND itc.itemFk = s.itemFk
|
||||
JOIN vn.taxClass tc ON tc.id = itc.taxClassFk
|
||||
LEFT JOIN vn.invoiceOutSerial ios ON ios.code = io.serial AND ios.taxAreaFk = 'CEE'
|
||||
|
@ -66,6 +66,6 @@ SELECT io.issued,
|
|||
JOIN vn.sale s ON t.id = s.ticketFk
|
||||
JOIN vn.item i ON i.id = s.itemFk
|
||||
JOIN vn.intrastat ir ON ir.id = i.intrastatFk
|
||||
WHERE io.id = :invoiceId
|
||||
WHERE io.id = ?
|
||||
)sub3 ON TRUE
|
||||
WHERE io.id = :invoiceId
|
||||
WHERE io.id = ?
|
||||
|
|
Loading…
Reference in New Issue