fix: ru locale for numbers
This commit is contained in:
@ -56,6 +56,8 @@ const useProductServicesTableColumns = ({
|
||||
{
|
||||
accessor: "price",
|
||||
title: "Цена",
|
||||
render: productService =>
|
||||
productService.price.toLocaleString("ru"),
|
||||
footer: data.length > 0 && (
|
||||
<Box my={"sm"}>
|
||||
<Text fw={700}>
|
||||
|
||||
@ -27,6 +27,8 @@ const useDealServicesTableColumns = ({ onChange, onDelete }: Props) => {
|
||||
accessor: "price",
|
||||
title: "Цена",
|
||||
width: "30%",
|
||||
render: dealService =>
|
||||
dealService.price.toLocaleString("ru"),
|
||||
},
|
||||
{
|
||||
accessor: "actions",
|
||||
|
||||
@ -57,5 +57,10 @@ export const theme = createTheme({
|
||||
size: "sm",
|
||||
},
|
||||
},
|
||||
NumberInput: {
|
||||
defaultProps: {
|
||||
decimalSeparator: ",",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user