Прислали из техподдержки для версии 70 сп2. Заработало.
Настройка магазина/Описание/Параметры
Должны быть включены слудующие параметры:
- Расчет скидок после каждого товара" (бывший постоянный подытог).
- На дисплей покупателя выводить: Неподтверждённую позицию.
Соответствующую функцию в скрипте display.lua заменить на:
SQL код:
function print_display_item_20_2(__display, __item)
local text = "";
text = text .. hw_goto_xy(0,0);
text = text .. ukm.adjustment(ukm.left(__item.name, 20 - string.len(" " .. tostring(__item.total))), tostring(__item.total), 20, " ");
text = text .. hw_goto_xy(0,1);
local core = ukm.get_core(ukm.mashine.handle);
if core:header_exists() then
if (core:receipt_amount() - core:receipt_payed()) ~= ukm.currency(0) then
local cur_subtotal = core:receipt_amount() - core:receipt_payed();
text = text .. ukm.adjustment("ИТОГО: ", tostring(cur_subtotal), 20, " ");
end
end
return text;
end