fix some wording
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user