Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/core/components/profile/stepCard.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ const StepCard: React.FC<StepCardProps> = ({ step, status, isApproved }) => {

<div className={classes.buttonContainer}>
{text.primaryButton &&
date == 19 &&
date === 19 &&
renderButton(text.primaryButton.opensDialog, text.primaryButton.dialogType, true, text.primaryButton.isExternalPath)}
{text.secondaryButton &&
date == 21 &&
date === 21 &&
renderButton(text.secondaryButton.opensDialog, text.secondaryButton.dialogType, false, text.secondaryButton.isExternalPath)}
</div>
</>
Expand Down Expand Up @@ -369,6 +369,11 @@ const StepCard: React.FC<StepCardProps> = ({ step, status, isApproved }) => {
{text.secondaryButton &&
renderButton(text.secondaryButton.opensDialog, text.secondaryButton.dialogType, false, text.secondaryButton.isExternalPath)}
</div>
{step === 5 && application.payment.updatedAt && (
<Typography variant="subtitle2" className={`${classes.text} ${classes.content}`}>
Last uploaded at: {application.payment.updatedAt}
</Typography>
)}
</>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/core/constants/stepCard.constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const stepCardConstant: StepCardModel = {
{
<div style={{ marginTop: "0.75rem" }}>
<div>นอกจากการเข้าทางปุ่มแล้ว ยังสามารถเข้า ZOOM ได้โดยการกรอก</div>
<div style={{ fontWeight: 400 }}>Meeting ID: 947 8220 7804</div>
<div style={{ fontWeight: 400 }}>Meeting ID: 987 8697 5771</div>
<div style={{ fontWeight: 400 }}>Password: LG24</div>
</div>
}
Expand Down
1 change: 1 addition & 0 deletions src/core/models/dto/application.dto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface DocumentStateDetail {
status: FileStatus
url: string
originalName: string
updatedAt: string
}

export interface AllDocumentStateDetail {
Expand Down
1 change: 1 addition & 0 deletions src/core/models/dto/document.dto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import DocumentType from "../../constants/documentType.constant"
export interface DocumentItem {
originalName?: string
url: string
updatedAt: string
}

type DocumentDTO = {
Expand Down
Loading