diff --git a/web/templates/pricelist_detail.html b/web/templates/pricelist_detail.html
index 564582a..fcd8e8e 100644
--- a/web/templates/pricelist_detail.html
+++ b/web/templates/pricelist_detail.html
@@ -60,7 +60,6 @@
Описание |
Доступно |
Partnumbers |
- Поставщик |
Цена, $ |
Настройки |
@@ -161,14 +160,13 @@
}
function itemsColspan() {
- return isStockSource() ? 6 : 5;
+ return isStockSource() ? 5 : 5;
}
function toggleWarehouseColumns() {
const stock = isStockSource();
document.getElementById('th-qty').classList.toggle('hidden', true);
document.getElementById('th-partnumbers').classList.toggle('hidden', !stock);
- document.getElementById('th-competitors').classList.toggle('hidden', !stock);
document.getElementById('th-settings').classList.toggle('hidden', stock);
}
@@ -273,18 +271,6 @@
}
}
- // Supplier cell (stock sources only)
- let supplierHtml = '';
- if (stock) {
- if (isWarehouseSource()) {
- supplierHtml = `склад`;
- } else {
- const names = Array.isArray(item.competitor_names) && item.competitor_names.length > 0
- ? item.competitor_names
- : ['конкурент'];
- supplierHtml = names.map(n => `${escapeHtml(n)}`).join(' ');
- }
- }
// Price cell — add spread badge for competitor
let priceHtml = price;
@@ -302,7 +288,6 @@
${escapeHtml(truncatedDesc)} |
${stock ? `${pnHtml} | ` : ''}
- ${stock ? `${supplierHtml} | ` : ''}
${priceHtml} |
${!stock ? `${formatPriceSettings(item)} | ` : ''}