diff --git a/src/component/SupplierComponent.js b/src/component/SupplierComponent.js index 975df85..3156b2d 100644 --- a/src/component/SupplierComponent.js +++ b/src/component/SupplierComponent.js @@ -69,8 +69,8 @@ export const SupplierComponent = observer((props) => { , { title: "Saldo", - dataIndex: "saldo", - key: "saldo", + dataIndex: ["coa","amount"], + key: ["coa","amount"], }, { title: "Status", diff --git a/src/component/TopupsaldoModal.js b/src/component/TopupsaldoModal.js index 673e857..b598b0f 100644 --- a/src/component/TopupsaldoModal.js +++ b/src/component/TopupsaldoModal.js @@ -58,7 +58,7 @@ export const TopupsaldoModal = observer((props) => { label="Supplier" rules={[{ required: true, message: "Please input supplier!" }]} > - + { }, { title: "Status", - dataIndex: "status", - key: "status", + dataIndex: "isActive", + key: "isActive", render: (text, record) => (