feat: dynamic assets banner management trading closed message price source cathode label and accounting notes
This commit is contained in:
@@ -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, '')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user