feat: revert saldo columns in membership
This commit is contained in:
parent
5ead0adb86
commit
95abdb5c97
|
@ -1,28 +1,8 @@
|
||||||
import React, {useContext, useEffect, useState} from "react";
|
import React, {useContext, useEffect, useState} from "react";
|
||||||
import {
|
import {Button, Card, Col, Divider, Form, Input, List, message, Modal, Row, Select, Space, Table, Tag,} from "antd";
|
||||||
Button,
|
|
||||||
Card,
|
|
||||||
Col,
|
|
||||||
Divider,
|
|
||||||
Input,
|
|
||||||
List,
|
|
||||||
message,
|
|
||||||
Modal,
|
|
||||||
Row,
|
|
||||||
Space,
|
|
||||||
Table,
|
|
||||||
Tag,
|
|
||||||
Form,
|
|
||||||
Select,
|
|
||||||
} from "antd";
|
|
||||||
import {useStore} from "../../utils/useStore";
|
import {useStore} from "../../utils/useStore";
|
||||||
import {observer} from "mobx-react-lite";
|
import {observer} from "mobx-react-lite";
|
||||||
import {
|
import {DownloadOutlined, ExclamationCircleOutlined, PlusSquareOutlined,} from "@ant-design/icons";
|
||||||
ExclamationCircleOutlined,
|
|
||||||
FilterOutlined,
|
|
||||||
PlusSquareOutlined,
|
|
||||||
DownloadOutlined,
|
|
||||||
} from "@ant-design/icons";
|
|
||||||
import {MembershipModal} from "./MembershipModal";
|
import {MembershipModal} from "./MembershipModal";
|
||||||
import {BreadcumbComponent} from "../../component/BreadcumbComponent";
|
import {BreadcumbComponent} from "../../component/BreadcumbComponent";
|
||||||
import {LINKS} from "../../routes/app";
|
import {LINKS} from "../../routes/app";
|
||||||
|
@ -133,9 +113,28 @@ export const Membership = observer(() => {
|
||||||
key: "role",
|
key: "role",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Saldo",
|
title: "Saldo di Supplier",
|
||||||
dataIndex: ["coa", "amount"],
|
dataIndex: ["coa", "amount"],
|
||||||
key: ["coa", "amount"],
|
key: ["coa", "amount"],
|
||||||
|
width: "20%",
|
||||||
|
render: (text) => (
|
||||||
|
new Intl.NumberFormat("id-ID", {
|
||||||
|
style: "currency",
|
||||||
|
currency: "IDR",
|
||||||
|
}).format(text)
|
||||||
|
)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Saldo di System",
|
||||||
|
dataIndex: ["coa_undistribute", "amount"],
|
||||||
|
key: ["coa_undistribute", "amount"],
|
||||||
|
width: "20%",
|
||||||
|
render: (text) => (
|
||||||
|
new Intl.NumberFormat("id-ID", {
|
||||||
|
style: "currency",
|
||||||
|
currency: "IDR",
|
||||||
|
}).format(text)
|
||||||
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Status",
|
title: "Status",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user