Merge pull request 'refs #6041 hotfix agricola' (!1709) from 6041-hotfixAgricola into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1709 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
555306c5da
|
@ -8,4 +8,4 @@ SELECT
|
|||
FROM supplier s
|
||||
JOIN entry e ON e.supplierFk = s.id
|
||||
LEFT JOIN province p ON p.id = s.provinceFk
|
||||
WHERE e.id = ?
|
||||
WHERE e.id = ?
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<h3 class="uppercase">{{invoice.name}}</h3>
|
||||
<div>{{invoice.postalAddress}}</div>
|
||||
<div>{{invoice.postcodeCity}}</div>
|
||||
<div>{{invoice.postCode}}, {{invoice.city}}, ({{invoice.province}})</div>
|
||||
<div v-if="invoice.nif">{{$t('fiscalId')}}: {{invoice.nif}}</div>
|
||||
<div v-if="invoice.phone">{{$t('phone')}}: {{invoice.phone}}</div>
|
||||
</div>
|
||||
|
|
|
@ -4,6 +4,9 @@ SELECT
|
|||
i.issued,
|
||||
s.name,
|
||||
s.street AS postalAddress,
|
||||
s.city,
|
||||
s.postCode,
|
||||
pr.name province,
|
||||
s.nif,
|
||||
s.phone,
|
||||
p.name payMethod
|
||||
|
@ -11,4 +14,5 @@ SELECT
|
|||
JOIN supplier s ON s.id = i.supplierFk
|
||||
JOIN company c ON c.id = i.companyFk
|
||||
JOIN payMethod p ON p.id = s.payMethodFk
|
||||
LEFT JOIN province pr ON pr.id = s.provinceFk
|
||||
WHERE i.id = ?
|
||||
|
|
Loading…
Reference in New Issue