Merge branch 'develop' of https://gitlab.com/empatnusabangsa/ppob/ppob-frontend into develop
This commit is contained in:
commit
f01740f3c7
|
@ -391,7 +391,7 @@ export const PartnerComponent = observer((props) => {
|
|||
)}
|
||||
{((idData && isChangePassword) || !idData) && (
|
||||
<Form.Item
|
||||
name="password_account"
|
||||
name="password"
|
||||
label="Password Account"
|
||||
rules={[
|
||||
idData
|
||||
|
|
|
@ -129,11 +129,11 @@ export const ProductComponent = observer((props) => {
|
|||
},
|
||||
];
|
||||
if (store.authentication.userData.role !== "Admin") columns.pop();
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[2];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[2];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[3];
|
||||
if (store.authentication.userData.role != "Admin Partner") delete columns[4];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[6];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[7];
|
||||
if (store.authentication.userData.role === "Admin") delete columns[4];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[8];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[5];
|
||||
|
||||
|
|
|
@ -537,7 +537,7 @@ export const Membership = observer(() => {
|
|||
value={filterMembership}
|
||||
>
|
||||
{store.membership.data.map((item) => (
|
||||
<Option value={item.name} key={item.name}>
|
||||
<Option value={item.id} key={item.id}>
|
||||
{item.name}
|
||||
</Option>
|
||||
))}
|
||||
|
|
|
@ -131,13 +131,13 @@ export const Profile = observer(() => {
|
|||
},
|
||||
{
|
||||
title: "Tujuan",
|
||||
dataIndex: "tujuan",
|
||||
key: "tujuan",
|
||||
dataIndex: "transaction_destination",
|
||||
key: "transaction_destination",
|
||||
},
|
||||
{
|
||||
title: "ID Transaksi",
|
||||
dataIndex: "id_transaksi",
|
||||
key: "id_transaksi",
|
||||
title: "Kode Transaksi",
|
||||
dataIndex: "transaction_code",
|
||||
key: "transaction_code",
|
||||
},
|
||||
{
|
||||
title: "Status",
|
||||
|
@ -146,13 +146,13 @@ export const Profile = observer(() => {
|
|||
},
|
||||
{
|
||||
title: "No Seri",
|
||||
dataIndex: "no_seri",
|
||||
key: "no_seri",
|
||||
dataIndex: "seri_number",
|
||||
key: "seri_number",
|
||||
},
|
||||
{
|
||||
title: "IDTrx Mitra",
|
||||
dataIndex: "idtrx_mitra",
|
||||
key: "idtrx_mitra",
|
||||
dataIndex: "partner_transaction_code",
|
||||
key: "partner_transaction_code",
|
||||
},
|
||||
{
|
||||
title: "Transaction Date",
|
||||
|
@ -256,7 +256,7 @@ export const Profile = observer(() => {
|
|||
{new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(store.authentication.profileData?.wallet || 0)}
|
||||
}).format(store.authentication.profileData?.profit || 0)}
|
||||
</Text>
|
||||
</Col>
|
||||
<Col></Col>
|
||||
|
|
|
@ -21,7 +21,7 @@ export class Membership {
|
|||
|
||||
async getData() {
|
||||
try {
|
||||
const response = await http.get(`/users?page=${this.page}&pageSize=${this.pageSize}&superrior=${this.filterMembership}&type=${this.filterPartner}`);
|
||||
const response = await http.get(`/users?page=${this.page}&pageSize=${this.pageSize}&superior=${this.filterMembership}&type=${this.filterPartner}`);
|
||||
// console.log(this.filterMembership)
|
||||
// console.log(this.filterPartner)
|
||||
// console.log(response)
|
||||
|
|
Loading…
Reference in New Issue
Block a user