This commit is contained in:
2021-02-19 19:30:44 +00:00
parent c2c8ffa876
commit 1947fa0500

View File

@@ -509,11 +509,13 @@ export default {
value: "receivedCost"
});
headers.push({
text: vm.$ay.t("TaxCode"),
align: "left",
value: "displayTaxCode"
});
if (vm.obj.displayTaxes) {
headers.push({
text: vm.$ay.t("TaxCode"),
align: "left",
value: "displayTaxCode"
});
}
headers.push({
text: vm.$ay.t("PurchaseOrderItemNetTotal"),
@@ -521,17 +523,19 @@ export default {
value: "displayNetTotal"
});
headers.push({
text: vm.$ay.t("TaxCodeTaxA"),
align: "right",
value: "displayTaxA"
});
if (vm.obj.displayTaxes) {
headers.push({
text: vm.$ay.t("TaxCodeTaxA"),
align: "right",
value: "displayTaxA"
});
headers.push({
text: vm.$ay.t("TaxCodeTaxB"),
align: "right",
value: "displayTaxB"
});
headers.push({
text: vm.$ay.t("TaxCodeTaxB"),
align: "right",
value: "displayTaxB"
});
}
headers.push({
text: vm.$ay.t("PurchaseOrderItemLineTotal"),