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