Skip to content

Commit

Permalink
Fix: Support Service Print Shipment Previwer (adempiere#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez committed Dec 3, 2022
1 parent d33e756 commit 83024e6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/api/ADempiere/form/point-of-sales.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,25 @@ export function printTicketPreviwer({
})
}

export function printShipmentPreviwer({
posUuid,
shipmentUuid,
reportType
}) {
return request({
url: `${config.pointOfSales.endpoint}/print-shipment-preview`,
method: 'post',
data: {
pos_uuid: posUuid,
shipment_uuid: shipmentUuid,
report_type: reportType
}
})
.then(printShipmentPreviwer => {
return printShipmentPreviwer
})
}

export function generateImmediateInvoice({
posId,
posUuid
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ADempiere/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,8 @@ export default {
tableProduct: {
product: 'Product',
quantity: 'Quantity',
basePrice: 'Base Price',
baseQuantity: 'Base Quantity',
uom: 'UOM',
unitOfMeasure: 'Unit of Measure',
options: 'Options',
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ADempiere/es/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ export default {
},
tableProduct: {
product: 'Producto',
basePrice: 'Precio Base',
baseQuantity: 'Cantidad Base',
quantity: 'Cantidad',
uom: 'UM',
unitOfMeasure: 'Unidad de Medida',
Expand Down

0 comments on commit 83024e6

Please sign in to comment.