Skip to content

Commit

Permalink
feat: Change terminology for resubmit date (#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Jul 11, 2024
1 parent 23e63c2 commit cef0580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/fyle/my-view-report/my-view-report.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
<div class="view-reports--submitted-date">
<div>
<span class="view-reports--submitted-date__text"
>{{report.state === "DRAFT" ? "Created on : " : "Submitted on : " }}
>{{report.state === "DRAFT" ? "Created on : " : (report.last_resubmitted_at ? "Resubmitted on : "
: "Submitted on : " )}}
</span>
<span *ngIf="report.state === 'DRAFT'" class="view-reports--submitted-date__date"
>{{report.created_at | date: 'MMM dd, YYYY'}}</span
Expand Down
4 changes: 3 additions & 1 deletion src/app/fyle/view-team-report/view-team-report.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@
<div>
<div class="view-reports--submitted-date">
<div>
<span class="view-reports--submitted-date__text">Submitted on: </span>
<span class="view-reports--submitted-date__text"
> {{ report.last_resubmitted_at ? "Resubmitted on : " : "Submitted on : "}}
</span>
<span class="view-reports--submitted-date__date"
>{{(report.last_resubmitted_at || report.last_submitted_at) | date: 'MMM dd, YYYY'}}</span
>
Expand Down

0 comments on commit cef0580

Please sign in to comment.