Bug fixing PPOB
This commit is contained in:
@@ -95,8 +95,6 @@ export const Profile = observer(() => {
|
||||
));
|
||||
console.log(awal);
|
||||
console.log(akhir);
|
||||
// store.transaction.filterStart = data.start_date;
|
||||
// store.transaction.filterEnd = data.end_date;
|
||||
modalLoader.setLoading(true);
|
||||
await store.transaction.getDataHistoryTransaction();
|
||||
modalLoader.setLoading(false);
|
||||
@@ -270,83 +268,7 @@ export const Profile = observer(() => {
|
||||
{store.authentication.profileData.superior?.username}
|
||||
</Text>
|
||||
</Col>
|
||||
{/* {store.authentication.userData.role === "Retail" && (
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
<Text strong>Foto Identitas</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text strong>Foto Toko</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text>
|
||||
<Image
|
||||
src={
|
||||
store.authentication.dataProfit.profileData
|
||||
?.image_identity
|
||||
? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_identity}`
|
||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
}
|
||||
style={{ width: "10vw" }}
|
||||
/>
|
||||
</Text>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Text>
|
||||
<Image
|
||||
src={
|
||||
store.authentication.dataProfit.profileData
|
||||
?.image_store
|
||||
? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_store}`
|
||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
}
|
||||
style={{ width: "10vw" }}
|
||||
/>
|
||||
</Text>
|
||||
</Col>
|
||||
</Row>
|
||||
)} */}
|
||||
{store.authentication.userData.role === "Retail" && (
|
||||
// <Row>
|
||||
// <Col span={12}>
|
||||
// <Text strong>Foto Identitas</Text>
|
||||
// </Col>
|
||||
// <Col span={12}></Col>
|
||||
// <Col span={12}>
|
||||
// <Text>
|
||||
// <Image
|
||||
// src={
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_identity
|
||||
// ? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_identity}`
|
||||
// : "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
// }
|
||||
// style={{ width: "10vw" }}
|
||||
// />
|
||||
// </Text>
|
||||
// </Col>
|
||||
// <Col span={24}>
|
||||
// <Text strong>Foto Toko</Text>
|
||||
// <Text>
|
||||
// <Row>
|
||||
// {JSON.parse(
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_store
|
||||
// ).map((item) => (
|
||||
// <Image
|
||||
// src={
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_store
|
||||
// ? `${appConfig.apiUrl}/config/image/${item}`
|
||||
// : "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
// }
|
||||
// style={{ width: "10vw", marginRight: 15 }}
|
||||
// />
|
||||
// ))}
|
||||
// </Row>
|
||||
// </Text>
|
||||
// </Col>
|
||||
// </Row>
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
<Text strong>Foto Identitas</Text>
|
||||
|
||||
Reference in New Issue
Block a user