Implement warehouse/lot pricing updates and configurator performance fixes

This commit is contained in:
mchus committed 2026-02-07 05:20:35 +03:00
1 parent ba36c3aae7
commit 207ecfc032
26 files changed
+1701 -305

No files matched your search

+10
View File
@@ -169,6 +169,16 @@
return qty.toLocaleString('ru-RU', { minimumFractionDigits: 0, maximumFractionDigits: 3 });
}
function escapeHtml(text) {
if (text === null || text === undefined) return '';
return String(text)
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#039;');
}
function formatPriceSettings(item) {
// Format price settings to match admin pricing interface style
let settings = [];