round promocode discount value
This commit is contained in:
parent
3ef684fdfe
commit
e4ecd541ff
@ -25,7 +25,7 @@ export function usePromocodeGridColDef(deletePromocode: (id: string) => void) {
|
|||||||
headerName: "Коэф. скидки",
|
headerName: "Коэф. скидки",
|
||||||
width: 120,
|
width: 120,
|
||||||
sortable: false,
|
sortable: false,
|
||||||
valueGetter: ({ row }) => row.bonus.discount.factor,
|
valueGetter: ({ row }) => Math.round(row.bonus.discount.factor * 1000) / 1000,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "activationCount",
|
field: "activationCount",
|
||||||
|
Loading…
Reference in New Issue
Block a user