fix some wording
This commit is contained in:
parent
e26fb13813
commit
e8c4b9a2bf
|
@ -45,7 +45,7 @@ export const CategoryComponent = observer((props) => {
|
|||
key: "name",
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Space size="middle">
|
||||
|
@ -209,7 +209,7 @@ export const CategoryComponent = observer((props) => {
|
|||
visible={store.category.visibleModalCategory}
|
||||
title={idData ? "Edit Category" : "Create a new Category"}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -28,13 +28,13 @@ export const CommissionComponent = observer((props) => {
|
|||
key: "name",
|
||||
},
|
||||
{
|
||||
title: "Amount",
|
||||
title: "Nominal",
|
||||
dataIndex: "commission",
|
||||
key: "commission",
|
||||
render: (text) => <span>{text}%</span>,
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Space size="middle">
|
||||
|
@ -93,7 +93,7 @@ export const CommissionComponent = observer((props) => {
|
|||
visible={store.commission.visibleModalCommission}
|
||||
title={"Edit Commission"}
|
||||
okText={"Edit"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -86,7 +86,7 @@ export const PartnerComponent = observer((props) => {
|
|||
key: "npwp",
|
||||
},
|
||||
{
|
||||
title: "Address",
|
||||
title: "Alamat",
|
||||
dataIndex: "address",
|
||||
key: "address",
|
||||
},
|
||||
|
@ -104,7 +104,7 @@ export const PartnerComponent = observer((props) => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Space size="middle">
|
||||
|
@ -143,12 +143,12 @@ export const PartnerComponent = observer((props) => {
|
|||
icon: <ExclamationCircleOutlined />,
|
||||
okText: "Yes",
|
||||
okType: "primary",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
onOk() {
|
||||
return deleteData(id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -273,7 +273,7 @@ export const PartnerComponent = observer((props) => {
|
|||
<div style={{ marginBottom: 10 }}>
|
||||
<small>Nama : {item.name}</small> <br />
|
||||
<small>Npwp : {item.npwp}</small> <br />
|
||||
<small>Address : {item.address}</small>
|
||||
<small>Alamat : {item.address}</small>
|
||||
</div>
|
||||
<Space size="small">
|
||||
<Button
|
||||
|
@ -333,7 +333,7 @@ export const PartnerComponent = observer((props) => {
|
|||
: "Create a new partner"
|
||||
}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
@ -450,7 +450,7 @@ export const PartnerComponent = observer((props) => {
|
|||
</Form.Item>
|
||||
<Form.Item
|
||||
name="address"
|
||||
label="Address"
|
||||
label="Alamat"
|
||||
rules={[
|
||||
idData
|
||||
? { required: false }
|
||||
|
|
|
@ -113,7 +113,7 @@ export const ProductComponent = observer((props) => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Button
|
||||
|
@ -157,12 +157,12 @@ export const ProductComponent = observer((props) => {
|
|||
icon: <ExclamationCircleOutlined />,
|
||||
okText: "Yes",
|
||||
okType: "primary",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
onOk() {
|
||||
return deleteData(id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -388,7 +388,7 @@ export const ProductComponent = observer((props) => {
|
|||
visible={store.product.visibleModalProduct}
|
||||
title={idData ? "Edit Product" : "Create a new Product"}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -57,7 +57,7 @@ export const SubcategoryComponent = observer((props) => {
|
|||
key: "categoryName",
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Space size="middle">
|
||||
|
@ -214,7 +214,7 @@ export const SubcategoryComponent = observer((props) => {
|
|||
visible={store.subcategory.visibleModalSubcategory}
|
||||
title={idData ? "Edit Sub Category" : "Create a new sub category"}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -112,7 +112,7 @@ export const SupplierComponent = observer((props) => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
width: "20%",
|
||||
render: (text, record) => (
|
||||
|
@ -151,12 +151,12 @@ export const SupplierComponent = observer((props) => {
|
|||
icon: <ExclamationCircleOutlined />,
|
||||
okText: "Yes",
|
||||
okType: "primary",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
onOk() {
|
||||
return deleteData(id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -342,7 +342,7 @@ export const SupplierComponent = observer((props) => {
|
|||
visible={store.supplier.visibleModalSupplier}
|
||||
title={idData ? "Edit Supplier" : "Create a new Supplier"}
|
||||
okText={idData ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -34,7 +34,7 @@ export const TopupsaldoModal = observer((props) => {
|
|||
visible={store.supplier.visibleModalTransaction}
|
||||
title="Top Up Saldo"
|
||||
okText="Top Up"
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancelTransaction();
|
||||
|
@ -66,7 +66,7 @@ export const TopupsaldoModal = observer((props) => {
|
|||
</Form.Item>
|
||||
<Form.Item
|
||||
name="amount"
|
||||
label="Amount"
|
||||
label="Nominal"
|
||||
rules={[{ required: true, message: "Please input amount!" }]}
|
||||
>
|
||||
<InputNumber
|
||||
|
|
|
@ -2,6 +2,6 @@ export const PAYBACK_STATUS = {
|
|||
0: 'Pending',
|
||||
1: 'Success',
|
||||
2: 'Failed',
|
||||
3: 'Approved',
|
||||
4: 'Rejected',
|
||||
}
|
||||
3: 'Disetujui',
|
||||
4: 'Ditolak',
|
||||
}
|
||||
|
|
|
@ -154,7 +154,7 @@ export const DesktopLayout = observer(() => {
|
|||
<Menu.Item key="membership">
|
||||
<Link to={LINKS.MEMBERSHIP}>
|
||||
<UnorderedListOutlined />
|
||||
<span>List Anggota</span>
|
||||
<span>Daftar Anggota</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="konfirmasi">
|
||||
|
@ -174,7 +174,7 @@ export const DesktopLayout = observer(() => {
|
|||
<Menu.Item key="membership">
|
||||
<Link to={LINKS.MEMBERSHIP}>
|
||||
<UnorderedListOutlined />
|
||||
<span>List Anggota</span>
|
||||
<span>Daftar Anggota</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="konfirmasi">
|
||||
|
|
|
@ -81,7 +81,7 @@ export const MenuList = observer((props) => {
|
|||
<Menu.Item key="membership">
|
||||
<Link to={LINKS.MEMBERSHIP}>
|
||||
<UnorderedListOutlined />
|
||||
<span>List Anggota</span>
|
||||
<span>Daftar Anggota</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="konfirmasi">
|
||||
|
@ -101,7 +101,7 @@ export const MenuList = observer((props) => {
|
|||
<Menu.Item key="membership">
|
||||
<Link to={LINKS.MEMBERSHIP}>
|
||||
<UnorderedListOutlined />
|
||||
<span>List Anggota</span>
|
||||
<span>Daftar Anggota</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="konfirmasi">
|
||||
|
@ -121,7 +121,7 @@ export const MenuList = observer((props) => {
|
|||
<Menu.Item key="membership">
|
||||
<Link to={LINKS.MEMBERSHIP}>
|
||||
<UnorderedListOutlined />
|
||||
<span>List Anggota</span>
|
||||
<span>Daftar Anggota</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
</SubMenu>
|
||||
|
|
|
@ -161,7 +161,7 @@ export const DetailUser = observer(() => {
|
|||
};
|
||||
const columns = [
|
||||
{
|
||||
title: "Amount",
|
||||
title: "Nominal",
|
||||
dataIndex: "amount",
|
||||
key: "amount",
|
||||
render: (text) =>
|
||||
|
|
|
@ -113,7 +113,7 @@ export const Konfirmasi = observer(() => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
dataIndex: "amount",
|
||||
key: "action",
|
||||
width: "10%",
|
||||
|
@ -126,14 +126,14 @@ export const Konfirmasi = observer(() => {
|
|||
title: `Are you sure Accept this submission?`,
|
||||
icon: <CheckOutlined />,
|
||||
okText: "Accept",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleApprove(record.id);
|
||||
console.log(record.id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -152,13 +152,13 @@ export const Konfirmasi = observer(() => {
|
|||
title: `Are you sure Reject this submission?`,
|
||||
icon: <StopOutlined />,
|
||||
okText: "Reject",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleReject(record.id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -315,13 +315,13 @@ export const Konfirmasi = observer(() => {
|
|||
title: `Are you sure Accept this submission?`,
|
||||
icon: <CheckOutlined />,
|
||||
okText: "Accept",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleApprove(item.id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -340,13 +340,13 @@ export const Konfirmasi = observer(() => {
|
|||
title: `Are you sure Reject this submission?`,
|
||||
icon: <StopOutlined />,
|
||||
okText: "Reject",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleReject(item.id);
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
|
|
@ -196,7 +196,7 @@ export const Membership = observer(() => {
|
|||
}).format(text),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
key: "action",
|
||||
render: (text, record) => (
|
||||
<Space size="middle">
|
||||
|
@ -496,7 +496,7 @@ export const Membership = observer(() => {
|
|||
visible={isVisibleTopUpModal}
|
||||
title="Top Up Saldo"
|
||||
okText="Top Up"
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancelTransaction();
|
||||
|
@ -517,7 +517,7 @@ export const Membership = observer(() => {
|
|||
<Form form={form} layout="vertical">
|
||||
<Form.Item
|
||||
name="amount"
|
||||
label="Amount"
|
||||
label="Nominal"
|
||||
rules={[{ required: true, message: "Please input amount!" }]}
|
||||
>
|
||||
<InputNumber
|
||||
|
|
|
@ -195,7 +195,7 @@ export const MembershipModal = ({
|
|||
: "Create a new Membership"
|
||||
}
|
||||
okText={initialData.id ? "Edit" : "Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
onCancel();
|
||||
|
|
|
@ -72,7 +72,7 @@ export const Payback = observer(() => {
|
|||
key: "userData_name",
|
||||
},
|
||||
{
|
||||
title: "Picture",
|
||||
title: "Gambar",
|
||||
dataIndex: "image_prove",
|
||||
key: "image_prove",
|
||||
render: (text, record) => (
|
||||
|
@ -84,7 +84,7 @@ export const Payback = observer(() => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Amount",
|
||||
title: "Nominal",
|
||||
dataIndex: "amount",
|
||||
key: "amount",
|
||||
width: "20%",
|
||||
|
@ -95,7 +95,7 @@ export const Payback = observer(() => {
|
|||
}).format(text),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
title: "Tindakan",
|
||||
dataIndex: "amount",
|
||||
key: "action",
|
||||
width: "10%",
|
||||
|
@ -108,13 +108,13 @@ export const Payback = observer(() => {
|
|||
title: `Are you sure Accept this submission?`,
|
||||
icon: <CheckOutlined />,
|
||||
okText: "Accept",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleAction(record.id, "accept");
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -133,13 +133,13 @@ export const Payback = observer(() => {
|
|||
title: `Are you sure Reject this submission?`,
|
||||
icon: <StopOutlined />,
|
||||
okText: "Reject",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleAction(record.id, "reject");
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -244,7 +244,7 @@ export const Payback = observer(() => {
|
|||
modalLoader.setLoading(false);
|
||||
store.payback.visibleModalFilterPayback = false;
|
||||
};
|
||||
|
||||
|
||||
const footerLayoutFilter = [
|
||||
<Button
|
||||
key={"remove"}
|
||||
|
@ -377,13 +377,13 @@ export const Payback = observer(() => {
|
|||
title: `Are you sure Accept this submission?`,
|
||||
icon: <CheckOutlined />,
|
||||
okText: "Accept",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleAction(item.id, "accept");
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -402,13 +402,13 @@ export const Payback = observer(() => {
|
|||
title: `Are you sure Reject this submission?`,
|
||||
icon: <StopOutlined />,
|
||||
okText: "Reject",
|
||||
cancelText: "Cancel",
|
||||
cancelText: "Batal",
|
||||
okType: "primary",
|
||||
onOk() {
|
||||
handleAction(item.id, "reject");
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
console.log("Batal");
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
@ -478,7 +478,7 @@ export const Payback = observer(() => {
|
|||
<Row>
|
||||
<Col span={24}>
|
||||
<Title level={5} type={"secondary"} strong>
|
||||
Sender
|
||||
Pengirim
|
||||
</Title>
|
||||
<Form layout="vertical" name="filter" form={form}>
|
||||
<Select
|
||||
|
@ -498,14 +498,14 @@ export const Payback = observer(() => {
|
|||
</Select>
|
||||
<Form.Item
|
||||
name="start_date"
|
||||
label="Dari"
|
||||
label="Dari Tanggal"
|
||||
rules={[{ required: true, message: "Please input Date!" }]}
|
||||
>
|
||||
<DatePicker style={{ width: "100%" }}/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="end_date"
|
||||
label="Sampai"
|
||||
label="Sampai Tanggal"
|
||||
rules={[{ required: true, message: "Please input Date!" }]}
|
||||
>
|
||||
<DatePicker style={{ width: "100%" }} />
|
||||
|
|
|
@ -56,7 +56,7 @@ export const PaybackCreated = observer(() => {
|
|||
|
||||
const columns = [
|
||||
{
|
||||
title: "Picture",
|
||||
title: "Gambar",
|
||||
dataIndex: "image_prove",
|
||||
key: "image_prove",
|
||||
render: (text, record) => (
|
||||
|
@ -68,7 +68,7 @@ export const PaybackCreated = observer(() => {
|
|||
),
|
||||
},
|
||||
{
|
||||
title: "Amount",
|
||||
title: "Nominal",
|
||||
dataIndex: "amount",
|
||||
key: "amount",
|
||||
render: (text) =>
|
||||
|
@ -103,8 +103,8 @@ export const PaybackCreated = observer(() => {
|
|||
: record.status === 2
|
||||
? "Failed"
|
||||
: record.status === 3
|
||||
? "Approved"
|
||||
: "Rejected"}
|
||||
? "Disetujui"
|
||||
: "Ditolak"}
|
||||
</Tag>
|
||||
),
|
||||
},
|
||||
|
@ -313,8 +313,8 @@ export const PaybackCreated = observer(() => {
|
|||
: item.status === 2
|
||||
? "Failed"
|
||||
: item.status === 3
|
||||
? "Approved"
|
||||
: "Rejected"}
|
||||
? "Disetujui"
|
||||
: "Ditolak"}
|
||||
</Tag>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -100,7 +100,7 @@ export const PaybackModal = ({ initialData }) => {
|
|||
visible={store.payback.visibleModalPayback}
|
||||
title={"Create a new Created"}
|
||||
okText={"Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={handleCancel}
|
||||
onOk={() => {
|
||||
form
|
||||
|
@ -120,7 +120,7 @@ export const PaybackModal = ({ initialData }) => {
|
|||
name="form_in_modal"
|
||||
initialValues={initialData}
|
||||
>
|
||||
<Form.Item label="Upload Picture" name="image_prove">
|
||||
<Form.Item label="Upload Gambar" name="image_prove">
|
||||
<div>
|
||||
<Upload
|
||||
listType="picture-card"
|
||||
|
|
|
@ -250,7 +250,7 @@ export const Product = observer(() => {
|
|||
visible={visibleModalUpload}
|
||||
title={"Upload Excel Product"}
|
||||
okText={"Create"}
|
||||
cancelText="Cancel"
|
||||
cancelText="Batal"
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
handleCancel();
|
||||
|
|
|
@ -172,10 +172,10 @@ export const Profile = observer(() => {
|
|||
}
|
||||
>
|
||||
{record.status === 1
|
||||
? "Success"
|
||||
? "Sukses"
|
||||
: record.status === 0
|
||||
? "Pending"
|
||||
: "Failed"}
|
||||
? "Dalam Proses"
|
||||
: "Gagal"}
|
||||
</Tag>
|
||||
);
|
||||
},
|
||||
|
@ -240,7 +240,7 @@ export const Profile = observer(() => {
|
|||
<Col lg={12} xs={24}>
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
<Text strong>Name</Text>
|
||||
<Text strong>Nama</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text>
|
||||
|
@ -248,7 +248,7 @@ export const Profile = observer(() => {
|
|||
</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text strong>Phone Number</Text>
|
||||
<Text strong>No. Telepon</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text>
|
||||
|
@ -268,7 +268,7 @@ export const Profile = observer(() => {
|
|||
<Text>{store.authentication.profileData.roles?.name}</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text strong>Superior</Text>
|
||||
<Text strong>Upline</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text>
|
||||
|
@ -359,7 +359,7 @@ export const Profile = observer(() => {
|
|||
<Col span={24}>
|
||||
<div>
|
||||
<Title strong level={3}>
|
||||
History Transaction
|
||||
Riwayat Transaksi
|
||||
</Title>
|
||||
<Button
|
||||
style={{ marginBottom: "1rem" }}
|
||||
|
@ -459,10 +459,10 @@ export const Profile = observer(() => {
|
|||
}
|
||||
>
|
||||
{item.status === 1
|
||||
? "Success"
|
||||
? "Sukses"
|
||||
: item.status === 0
|
||||
? "Pending"
|
||||
: "Failed"}
|
||||
? "Dalam Proses"
|
||||
: "Gagal"}
|
||||
</Tag>
|
||||
}
|
||||
</small>{" "}
|
||||
|
|
|
@ -189,7 +189,7 @@ export const Product = observer(() => {
|
|||
)}
|
||||
<Modal
|
||||
visible={visibleModalBuy}
|
||||
title={`Are you sure buy ${barang?.product_name}?`}
|
||||
title={`Apakah anda yakin membeli ${barang?.product_name}?`}
|
||||
okText={"Confirm"}
|
||||
onCancel={() => {
|
||||
form.resetFields();
|
||||
|
@ -208,10 +208,10 @@ export const Product = observer(() => {
|
|||
handleCancel();
|
||||
}}
|
||||
>
|
||||
Cancel
|
||||
Batal
|
||||
</Button>,
|
||||
<Button
|
||||
key="Buy Prod"
|
||||
key="Beli"
|
||||
style={{
|
||||
backgroundColor: "#4e79e7",
|
||||
color: "#fff",
|
||||
|
@ -229,10 +229,10 @@ export const Product = observer(() => {
|
|||
});
|
||||
}}
|
||||
>
|
||||
Buy Prod
|
||||
Beli
|
||||
</Button>,
|
||||
<Button
|
||||
key="Buy Stag"
|
||||
key="Beli Stag"
|
||||
type="primary"
|
||||
onClick={() => {
|
||||
form
|
||||
|
@ -247,18 +247,18 @@ export const Product = observer(() => {
|
|||
});
|
||||
}}
|
||||
>
|
||||
Buy Staging
|
||||
Beli Staging
|
||||
</Button>,
|
||||
]}
|
||||
>
|
||||
<Form form={form} layout="vertical">
|
||||
<Form.Item
|
||||
name="destination"
|
||||
label="Destination"
|
||||
label="Nomor Tujuan"
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: "Please input Destination Number!",
|
||||
message: "Tolong masukan nomor tujuan!",
|
||||
},
|
||||
// {
|
||||
// pattern: /^(?:\d*)$/,
|
||||
|
|
Loading…
Reference in New Issue
Block a user