|
|
@@ -561,8 +561,8 @@
|
|
|
const tenderName = JSON.parse(unescape('<%- escape(JSON.stringify(tender.data.name)) %>'));
|
|
|
const tenderId = '<%- tender.id %>';
|
|
|
const deleteFilePermission = <%- deleteFilePermission %>;
|
|
|
- const totalPriceUnit = '<%- tpUnit %>';
|
|
|
- const unitPriceUnit = '<%- upUnit %>';
|
|
|
+ const totalPriceUnit = parseInt('<%- tpUnit %>', 10);
|
|
|
+ const unitPriceUnit = parseInt('<%- upUnit %>', 10);
|
|
|
const accountId = parseInt('<%- ctx.session.sessionUser.accountId %>');
|
|
|
const ledgeStatus = '<%- tender.ledger_status %>';
|
|
|
const ledgerConsts = JSON.parse('<%- JSON.stringify(ledgerConsts) %>');
|