diff options
Diffstat (limited to 'src/services/waybills.service.ts')
-rw-r--r-- | src/services/waybills.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/waybills.service.ts b/src/services/waybills.service.ts index 8fb6ef4..66225ac 100644 --- a/src/services/waybills.service.ts +++ b/src/services/waybills.service.ts @@ -62,7 +62,7 @@ const addFields = (item: WaybillSchema) => { const { operation, records, date } = item; const total = item.records.reduce((sum, record) => sum + record.price * record.quantity, 0); const op = operation === 'in' ? 'приход' : 'расход'; - const name = `Накладная: ${op} $${total}`; + const name = `Накладная: ${op} ${total}р`; return { ...item, name, total }; }; |