report entry-order
gitea/salix/2038-entry_descriptor_vista_impresion This commit looks good
Details
gitea/salix/2038-entry_descriptor_vista_impresion This commit looks good
Details
This commit is contained in:
parent
aecfe2b8a9
commit
c48da59314
|
@ -48,6 +48,12 @@
|
|||
<div>
|
||||
{{supplier.street}}
|
||||
</div>
|
||||
<div>
|
||||
{{supplier.postCode}}, {{supplier.city}}, ({{supplier.province}})
|
||||
</div>
|
||||
<div>
|
||||
{{supplier.nif}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -21,9 +21,14 @@ module.exports = {
|
|||
return db.findOne(
|
||||
`SELECT
|
||||
s.name,
|
||||
s.street
|
||||
s.street,
|
||||
s.nif,
|
||||
s.postCode,
|
||||
s.city,
|
||||
p.name province
|
||||
FROM supplier s
|
||||
JOIN entry e ON e.supplierFk = s.id
|
||||
LEFT JOIN province p ON p.id = s.provinceFk
|
||||
WHERE e.id = ?`, [entryId]);
|
||||
},
|
||||
fetchEntry(entryId) {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
title: Pedido
|
||||
supplierName: Proveedor
|
||||
supplierStreet: Dirección
|
||||
entryId: Pedido nº
|
||||
entryId: Referencia interna
|
||||
date: Fecha
|
||||
ref: Referencia
|
||||
ref: Nº Factura
|
||||
boxes: Cajas
|
||||
packing: U/C
|
||||
packing: U/C
|
||||
quantity: Cantidad
|
||||
price: Precio
|
||||
amount: Importe
|
||||
|
|
Loading…
Reference in New Issue