fix: show actual product discount percent instead of misleading '100% تخفیفی'
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m3s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m3s
This commit is contained in:
@@ -88,7 +88,10 @@
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">
|
||||
@item.Quantity × @FormatPrice(item.UnitPrice)
|
||||
</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Error">۱۰۰٪ تخفیفی</MudText>
|
||||
@if (item.MaxDiscountPercent > 0)
|
||||
{
|
||||
<MudText Typo="Typo.caption" Color="Color.Error">@item.MaxDiscountPercent% تخفیف</MudText>
|
||||
}
|
||||
</MudStack>
|
||||
</MudStack>
|
||||
</MudListItemText>
|
||||
@@ -107,7 +110,7 @@
|
||||
</MudStack>
|
||||
|
||||
<MudAlert Severity="Severity.Success" Variant="Variant.Text" Dense="true" Class="mt-1">
|
||||
تخفیف ۱۰۰٪ از کیف تخفیفی اعمال میشود.
|
||||
تخفیف هر محصول بهصورت کامل از کیف تخفیفی اعمال میشود.
|
||||
</MudAlert>
|
||||
</MudStack>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user