Merge branch 'develop' into 'devops-staging'
Perbaikan PPOB See merge request empatnusabangsa/ppob/ppob-frontend!60
This commit is contained in:
commit
7abd5dae3c
|
@ -256,6 +256,8 @@ export const Profile = observer(() => {
|
||||||
{store.authentication.profileData.superior?.username}
|
{store.authentication.profileData.superior?.username}
|
||||||
</Text>
|
</Text>
|
||||||
</Col>
|
</Col>
|
||||||
|
{store.authentication.userData.role === "Sales" && (
|
||||||
|
<Row>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Text strong>Foto Identitas</Text>
|
<Text strong>Foto Identitas</Text>
|
||||||
</Col>
|
</Col>
|
||||||
|
@ -279,7 +281,8 @@ export const Profile = observer(() => {
|
||||||
<Text>
|
<Text>
|
||||||
<Image
|
<Image
|
||||||
src={
|
src={
|
||||||
store.authentication.dataProfit.profileData?.image_store
|
store.authentication.dataProfit.profileData
|
||||||
|
?.image_store
|
||||||
? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.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"
|
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||||
}
|
}
|
||||||
|
@ -288,6 +291,44 @@ export const Profile = observer(() => {
|
||||||
</Text>
|
</Text>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
)}
|
||||||
|
{store.authentication.userData.role === "Supervisor" && (
|
||||||
|
<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>
|
||||||
|
)}
|
||||||
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={store.ui.mediaQuery.isMobile ? 24 : 5}>
|
<Col span={store.ui.mediaQuery.isMobile ? 24 : 5}>
|
||||||
<Row justify={"center"}>
|
<Row justify={"center"}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user