fix: supplier menu

This commit is contained in:
ilham 2021-12-16 19:48:58 +07:00
parent 088ef0e27e
commit 787e74419e
3 changed files with 5 additions and 5 deletions

View File

@ -69,8 +69,8 @@ export const SupplierComponent = observer((props) => {
,
{
title: "Saldo",
dataIndex: "saldo",
key: "saldo",
dataIndex: ["coa","amount"],
key: ["coa","amount"],
},
{
title: "Status",

View File

@ -58,7 +58,7 @@ export const TopupsaldoModal = observer((props) => {
label="Supplier"
rules={[{ required: true, message: "Please input supplier!" }]}
>
<Input />
<Input disabled={true} />
</Form.Item>
<Form.Item
name="amount"

View File

@ -122,8 +122,8 @@ export const Membership = observer(() => {
},
{
title: "Status",
dataIndex: "status",
key: "status",
dataIndex: "isActive",
key: "isActive",
render: (text, record) => (
<Tag
color={record?.isActive === true ? "processing" : "#E3E8EE"}