mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
Parse CSV numbers (#248)
This commit is contained in:
parent
54dde15d6c
commit
86c6588775
@ -15,14 +15,14 @@ export function csvChargebacksToInvoicePaymentChargebackParams(
|
||||
category: { [c['reason.category']]: {} },
|
||||
},
|
||||
levy: {
|
||||
amount: c['levy.amount'],
|
||||
amount: Number(c['levy.amount']),
|
||||
currency: {
|
||||
symbolic_code: c['levy.currency.symbolic_code'],
|
||||
},
|
||||
},
|
||||
body: clean(
|
||||
{
|
||||
amount: c['body.amount'],
|
||||
amount: Number(c['body.amount']),
|
||||
currency: {
|
||||
symbolic_code: c['body.currency.symbolic_code'],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user