Коррекция алгоритма передачи сумм налогов для случаев "БЕЗ НДС" и "НДС 0"

This commit is contained in:
Mikhail Chechnev 2019-03-19 13:23:19 +03:00
parent 2714cc5708
commit b135bbbab5

View File

@ -411,14 +411,14 @@ const getVats = props => {
if (getPropValueByCode(props, "1105", "NUM") !== null) { if (getPropValueByCode(props, "1105", "NUM") !== null) {
vats.push({ vats.push({
type: "none", type: "none",
sum: getPropValueByCode(props, "1105", "NUM") sum: null
}); });
} }
//Сумма расчета по чеку с НДС по ставке 0%; //Сумма расчета по чеку с НДС по ставке 0%;
if (getPropValueByCode(props, "1104", "NUM") !== null) { if (getPropValueByCode(props, "1104", "NUM") !== null) {
vats.push({ vats.push({
type: "vat0", type: "vat0",
sum: getPropValueByCode(props, "1104", "NUM") sum: 0
}); });
} }
//Сумма НДС чека по ставке 10%; //Сумма НДС чека по ставке 10%;