feat: dynamic assets banner management trading closed message price source cathode label and accounting notes

This commit is contained in:
2026-11-18 18:26:01 +03:30
parent fa61e570d0
commit d68e8f40f9
68 changed files with 1091 additions and 257 deletions
@@ -105,11 +105,11 @@ function statusClass(row: GiftCardRow) {
}
function amountLabel(row: GiftCardRow) {
return row.unit === 2 ? 'مقدار (گرم)' : 'مقدار (ریال)'
return row.unit === 2 ? 'مقدار (کیلوگرم)' : 'مقدار (ریال)'
}
function amountValue(row: GiftCardRow) {
if (row.unit === 2) return `${row.amount ?? 0} گرم`
if (row.unit === 2) return `${row.amount ?? 0} کیلوگرم`
return usePrice(row.amount ?? 0, true, '')
}