dev #14305 Изменение дизайна WPA Кофе-лайка: round bonuses count

This commit is contained in:
nikolay 2023-05-15 13:45:49 +04:00
parent e062f05f36
commit 6feeec80f2
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<p id="level-percent">Кэшбек {{ loyaltyProgram.currentLvlPeriod.percent }}%</p>
</div>
<p class="top-info__bonus">
{{ loyaltyProgram.getBalanceAmount(customerInfo?.walletBalances) }}
{{ Math.floor(loyaltyProgram.getBalanceAmount(customerInfo?.walletBalances)) }}
бонусов
</p>
</div>

View File

@ -23,7 +23,7 @@ export class GuestCardComponent implements OnInit {
public customerInfo!: any;
public purchases!: Purchase[];
public lastPurchase!: Purchase;
public Math: Math = Math;
constructor(
private _bottomSheet: MatBottomSheet,