Skip to content

Commit

Permalink
fix: Updated the merchant field variable name (#3380)
Browse files Browse the repository at this point in the history
* fix: Updated the merchant field variable name

* minor update
  • Loading branch information
devendrafyle authored Dec 19, 2024
1 parent 6046246 commit 9bc2347
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/app/fyle/view-expense/view-expense.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
<div class="d-flex">
<div class="view-expense--card-container__block">
<div class="view-expense--card-container__category">{{ expense.category.display_name }}</div>
<div class="view-expense--card-container__merchant">{{ expense.merchant || '-' }}</div>
<div class="view-expense--card-container__merchant" *ngIf="!expense.matched_corporate_card_transactions[0]">
{{ expense.merchant || '-' }}
</div>
<div *ngIf="isProjectShown" class="view-expense--card-container__project">
{{ projectFieldName | titlecase }}: {{ expense.project?.name || '-' }}
</div>
Expand Down Expand Up @@ -100,11 +102,11 @@
</div>
</div>

<ng-container *ngIf="isCCCTransaction">
<ng-container *ngIf="expense.matched_corporate_card_transactions[0]">
<div class="view-expense--card-container__merchant_block">
<div class="view-expense--card-container__merchant_label">Merchant:</div>
<div class="view-expense--card-container__merchant_value">
<span> {{ selectedCCCTransaction?.vendor || 'Unavailable' }} </span>
<span> {{ expense.matched_corporate_card_transactions[0].merchant || 'Unavailable' }} </span>
<ion-icon
(click)="openCCExpenseMerchantInfoModal()"
src="../../../assets/svg/info-circle-outline.svg"
Expand Down

0 comments on commit 9bc2347

Please sign in to comment.