forked from CITKParus/P8-ExchangeService
Коррекция алгоритма передачи сумм налогов для случаев "БЕЗ НДС" и "НДС 0"
This commit is contained in:
parent
2714cc5708
commit
b135bbbab5
@ -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%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user