|
@@ -60,6 +60,8 @@ function receiptDocuments(data, domId) {
|
|
|
price = Number(item.weight) * Number(item.unitPrice);
|
|
|
totalPrice += price
|
|
|
}
|
|
|
+ price = price.toFixed(2);
|
|
|
+ totalPrice = totalPrice.toFixed(2);
|
|
|
printContent += `<tr align="center">
|
|
|
<td>${item.productName}</td>
|
|
|
<td>${item.productSpecifications}</td>
|