fix: replace ریال with تومان across all 30 admin UI files
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m55s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m55s
This commit is contained in:
@@ -41,11 +41,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>ارزش هر بالانس:</strong></td>
|
||||
<td>@Payout.ValuePerBalance.ToString("N0") ریال</td>
|
||||
<td>@Payout.ValuePerBalance.ToString("N0") تومان</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>مبلغ کل:</strong></td>
|
||||
<td><strong>@Payout.TotalAmount.ToString("N0") ریال</strong></td>
|
||||
<td><strong>@Payout.TotalAmount.ToString("N0") تومان</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>وضعیت:</strong></td>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<DialogContent>
|
||||
<MudStack Spacing="3">
|
||||
<MudAlert Severity="Severity.Warning" Dense="true">
|
||||
درخواست برداشت @Amount.ToString("N0") ریال برای @UserName رد خواهد شد.
|
||||
درخواست برداشت @Amount.ToString("N0") تومان برای @UserName رد خواهد شد.
|
||||
</MudAlert>
|
||||
<MudTextField @bind-Value="_reason"
|
||||
Label="دلیل رد درخواست"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>مبلغ:</strong></td>
|
||||
<td><MudText Color="Color.Primary"><strong>@Request.Amount.ToString("N0") ریال</strong></MudText></td>
|
||||
<td><MudText Color="Color.Primary"><strong>@Request.Amount.ToString("N0") تومان</strong></MudText></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>روش برداشت:</strong></td>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<MudCard Elevation="2">
|
||||
<MudCardContent>
|
||||
<MudText Typo="Typo.h6" Color="Color.Primary">استخر هفتگی</MudText>
|
||||
<MudText Typo="Typo.h4">@(_poolData?.TotalPoolAmount.ToString("N0") ?? "0") ریال</MudText>
|
||||
<MudText Typo="Typo.h4">@(_poolData?.TotalPoolAmount.ToString("N0") ?? "0") تومان</MudText>
|
||||
<MudText Typo="Typo.body2" Color="Color.Secondary">@_currentWeekDisplayText</MudText>
|
||||
</MudCardContent>
|
||||
</MudCard>
|
||||
@@ -40,7 +40,7 @@
|
||||
<MudCard Elevation="2">
|
||||
<MudCardContent>
|
||||
<MudText Typo="Typo.h6" Color="Color.Warning">ارزش هر تعادل</MudText>
|
||||
<MudText Typo="Typo.h4">@(_poolData?.ValuePerBalance.ToString("N0") ?? "0") ریال</MudText>
|
||||
<MudText Typo="Typo.h4">@(_poolData?.ValuePerBalance.ToString("N0") ?? "0") تومان</MudText>
|
||||
<MudText Typo="Typo.body2" Color="Color.Secondary">قیمت واحد تعادل</MudText>
|
||||
</MudCardContent>
|
||||
</MudCard>
|
||||
@@ -111,7 +111,7 @@
|
||||
@if (week.TotalPoolAmount > 0)
|
||||
{
|
||||
<MudChip T="string" Size="Size.Small" Color="Color.Success" Class="mr-2">
|
||||
@week.TotalPoolAmount.ToString("N0") ریال
|
||||
@week.TotalPoolAmount.ToString("N0") تومان
|
||||
</MudChip>
|
||||
}
|
||||
</MudText>
|
||||
@@ -181,7 +181,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>مجموع استخر:</strong></td>
|
||||
<td>@_poolData.TotalPoolAmount.ToString("N0") ریال</td>
|
||||
<td>@_poolData.TotalPoolAmount.ToString("N0") تومان</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>تعداد تعادل:</strong></td>
|
||||
@@ -189,7 +189,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>ارزش هر تعادل:</strong></td>
|
||||
<td>@_poolData.ValuePerBalance.ToString("N0") ریال</td>
|
||||
<td>@_poolData.ValuePerBalance.ToString("N0") تومان</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>وضعیت:</strong></td>
|
||||
|
||||
@@ -119,7 +119,7 @@ public partial class UserPayouts
|
||||
{
|
||||
var confirmed = await DialogService.ShowMessageBox(
|
||||
"تایید برداشت",
|
||||
$"آیا از تایید برداشت برای کاربر {payout.UserName} (مبلغ: {payout.TotalAmount:N0} ریال) مطمئن هستید؟",
|
||||
$"آیا از تایید برداشت برای کاربر {payout.UserName} (مبلغ: {payout.TotalAmount:N0} تومان) مطمئن هستید؟",
|
||||
yesText: "تایید", cancelText: "لغو");
|
||||
|
||||
if (confirmed == true)
|
||||
|
||||
@@ -67,13 +67,13 @@
|
||||
<PropertyColumn Property="x => x.WeekDisplayName" Title="هفته" />
|
||||
<PropertyColumn Property="x => x.TotalPoolAmount" Title="مبلغ کل استخر" Format="N0">
|
||||
<CellTemplate>
|
||||
<MudText>@context.Item.TotalPoolAmount.ToString("N0") ریال</MudText>
|
||||
<MudText>@context.Item.TotalPoolAmount.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.TotalBalances" Title="مجموع موجودیها" />
|
||||
<PropertyColumn Property="x => x.ValuePerBalance" Title="ارزش هر موجودی" Format="N0">
|
||||
<CellTemplate>
|
||||
<MudText>@context.Item.ValuePerBalance.ToString("N0") ریال</MudText>
|
||||
<MudText>@context.Item.ValuePerBalance.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.IsCalculated" Title="وضعیت">
|
||||
@@ -128,7 +128,7 @@
|
||||
<MudPaper Elevation="0" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.h6" Color="Color.Primary">مجموع استخرها</MudText>
|
||||
<MudText Typo="Typo.h4">@_totalPoolSum.ToString("N0")</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">ریال</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
@@ -149,7 +149,7 @@
|
||||
<MudPaper Elevation="0" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.h6" Color="Color.Info">میانگین ارزش</MudText>
|
||||
<MudText Typo="Typo.h4">@_averageValue.ToString("N0")</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">ریال</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
|
||||
@@ -107,19 +107,19 @@
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Primary">مجموع مبلغ برداشتها</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalAmount.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalAmount.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Success">مبلغ پرداخت شده</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalPaid.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalPaid.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Warning">مبلغ در انتظار</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalPending.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_summary.TotalPending.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
@@ -189,17 +189,17 @@
|
||||
<PropertyColumn Property="x => x.PendingCount" Title="در انتظار" />
|
||||
<PropertyColumn Property="x => x.TotalAmount" Title="مبلغ کل" Format="N0">
|
||||
<CellTemplate>
|
||||
@context.Item.TotalAmount.ToString("N0") ریال
|
||||
@context.Item.TotalAmount.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.PaidAmount" Title="پرداخت شده" Format="N0">
|
||||
<CellTemplate>
|
||||
@context.Item.PaidAmount.ToString("N0") ریال
|
||||
@context.Item.PaidAmount.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.PendingAmount" Title="در انتظار پرداخت" Format="N0">
|
||||
<CellTemplate>
|
||||
@context.Item.PendingAmount.ToString("N0") ریال
|
||||
@context.Item.PendingAmount.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
</Columns>
|
||||
@@ -431,9 +431,9 @@
|
||||
|
||||
sb.AppendLine("خلاصه:");
|
||||
sb.AppendLine($"تعداد کل درخواستها: {_summary.TotalRequests}");
|
||||
sb.AppendLine($"مبلغ کل برداشتها: {_summary.TotalAmount:N0} ریال");
|
||||
sb.AppendLine($"مبلغ پرداخت شده: {_summary.TotalPaid:N0} ریال");
|
||||
sb.AppendLine($"مبلغ در انتظار: {_summary.TotalPending:N0} ریال");
|
||||
sb.AppendLine($"مبلغ کل برداشتها: {_summary.TotalAmount:N0} تومان");
|
||||
sb.AppendLine($"مبلغ پرداخت شده: {_summary.TotalPaid:N0} تومان");
|
||||
sb.AppendLine($"مبلغ در انتظار: {_summary.TotalPending:N0} تومان");
|
||||
sb.AppendLine($"تعداد کاربران یکتا: {_summary.UniqueUsers}");
|
||||
sb.AppendLine($"نرخ موفقیت: {_summary.SuccessRate:N2}%");
|
||||
sb.AppendLine();
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<PropertyColumn Property="x => x.Amount" Title="مبلغ">
|
||||
<CellTemplate>
|
||||
<MudText Typo="Typo.body2" Color="Color.Primary">
|
||||
<strong>@context.Item.Amount.ToString("N0") ریال</strong>
|
||||
<strong>@context.Item.Amount.ToString("N0") تومان</strong>
|
||||
</MudText>
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
|
||||
@@ -163,7 +163,7 @@ public partial class WithdrawalRequests
|
||||
{
|
||||
var confirmed = await DialogService.ShowMessageBox(
|
||||
"تایید درخواست",
|
||||
$"آیا از تایید درخواست برداشت {request.Amount:N0} ریال برای {request.UserName} مطمئن هستید؟",
|
||||
$"آیا از تایید درخواست برداشت {request.Amount:N0} تومان برای {request.UserName} مطمئن هستید؟",
|
||||
yesText: "تایید", cancelText: "لغو");
|
||||
|
||||
if (confirmed == true)
|
||||
@@ -222,7 +222,7 @@ public partial class WithdrawalRequests
|
||||
{
|
||||
var confirmed = await DialogService.ShowMessageBox(
|
||||
"پردازش پرداخت",
|
||||
$"آیا پرداخت {request.Amount:N0} ریال به {request.UserName} انجام شده است؟",
|
||||
$"آیا پرداخت {request.Amount:N0} تومان به {request.UserName} انجام شده است؟",
|
||||
yesText: "بله، پردازش شد", cancelText: "لغو");
|
||||
|
||||
if (confirmed == true)
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
<MudStack Spacing="1">
|
||||
<MudText Typo="Typo.body2" Color="Color.Secondary">مجموع فروش (۷ روز)</MudText>
|
||||
<MudText Typo="Typo.h5" Color="Color.Primary">
|
||||
@_stats.TotalSalesLast7Days.ToString("N0") ریال
|
||||
@_stats.TotalSalesLast7Days.ToString("N0") تومان
|
||||
</MudText>
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">
|
||||
امروز: @_stats.TodaySales.ToString("N0") ریال
|
||||
امروز: @_stats.TodaySales.ToString("N0") تومان
|
||||
</MudText>
|
||||
</MudStack>
|
||||
</MudItem>
|
||||
@@ -43,7 +43,7 @@
|
||||
<MudStack Spacing="1">
|
||||
<MudText Typo="Typo.body2" Color="Color.Secondary">میانگین مبلغ هر سفارش</MudText>
|
||||
<MudText Typo="Typo.h5">
|
||||
@_stats.AverageOrderAmount.ToString("N0") ریال
|
||||
@_stats.AverageOrderAmount.ToString("N0") تومان
|
||||
</MudText>
|
||||
</MudStack>
|
||||
</MudItem>
|
||||
|
||||
@@ -129,11 +129,11 @@
|
||||
</MudStack>
|
||||
</MudTd>
|
||||
<MudTd>@context.Count</MudTd>
|
||||
<MudTd>@context.UnitPrice.ToString("N0") ریال</MudTd>
|
||||
<MudTd>@context.UnitPrice.ToString("N0") تومان</MudTd>
|
||||
<MudTd>
|
||||
<MudChip T="string" Size="Size.Small" Color="Color.Success">@context.MaxDiscountPercent%</MudChip>
|
||||
</MudTd>
|
||||
<MudTd><strong>@context.FinalPrice.ToString("N0") ریال</strong></MudTd>
|
||||
<MudTd><strong>@context.FinalPrice.ToString("N0") تومان</strong></MudTd>
|
||||
</RowTemplate>
|
||||
</MudTable>
|
||||
</MudPaper>
|
||||
@@ -148,14 +148,14 @@
|
||||
<MudText Color="Color.Secondary">مبلغ کل:</MudText>
|
||||
</MudItem>
|
||||
<MudItem xs="6" Class="text-left">
|
||||
<MudText>@Order.TotalPrice.ToString("N0") ریال</MudText>
|
||||
<MudText>@Order.TotalPrice.ToString("N0") تومان</MudText>
|
||||
</MudItem>
|
||||
|
||||
<MudItem xs="6">
|
||||
<MudText Color="Color.Success">از کیف پول تخفیف:</MudText>
|
||||
</MudItem>
|
||||
<MudItem xs="6" Class="text-left">
|
||||
<MudText Color="Color.Success">@Order.DiscountBalanceUsed.ToString("N0") ریال</MudText>
|
||||
<MudText Color="Color.Success">@Order.DiscountBalanceUsed.ToString("N0") تومان</MudText>
|
||||
</MudItem>
|
||||
|
||||
<MudItem xs="12"><MudDivider /></MudItem>
|
||||
@@ -165,7 +165,7 @@
|
||||
</MudItem>
|
||||
<MudItem xs="6" Class="text-left">
|
||||
<MudText Typo="Typo.h6" Color="Color.Primary">
|
||||
<strong>@Order.GatewayAmount.ToString("N0") ریال</strong>
|
||||
<strong>@Order.GatewayAmount.ToString("N0") تومان</strong>
|
||||
</MudText>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
Format="N0"
|
||||
Immediate="true"
|
||||
Disabled="_loading"
|
||||
Label="قیمت (ریال) *"
|
||||
Label="قیمت (تومان) *"
|
||||
Required="true"
|
||||
Variant="Variant.Outlined"
|
||||
Margin="Margin.Dense" />
|
||||
|
||||
@@ -97,20 +97,20 @@
|
||||
|
||||
<TemplateColumn Title="مبلغ کل">
|
||||
<CellTemplate>
|
||||
<MudText>@context.Item.TotalPrice.ToString("N0") ریال</MudText>
|
||||
<MudText>@context.Item.TotalPrice.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
|
||||
<TemplateColumn Title="تخفیف کیفپول">
|
||||
<CellTemplate>
|
||||
<MudText Color="Color.Success">@context.Item.DiscountBalanceUsed.ToString("N0") ریال</MudText>
|
||||
<MudText Color="Color.Success">@context.Item.DiscountBalanceUsed.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
|
||||
<TemplateColumn Title="پرداخت درگاه">
|
||||
<CellTemplate>
|
||||
<MudText Typo="Typo.body2">
|
||||
<strong>@context.Item.GatewayAmount.ToString("N0") ریال</strong>
|
||||
<strong>@context.Item.GatewayAmount.ToString("N0") تومان</strong>
|
||||
</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
|
||||
<TemplateColumn Title="قیمت" CellStyle="text-wrap: nowrap;">
|
||||
<CellTemplate>
|
||||
<MudText>@context.Item.Price.ToString("N0") ریال</MudText>
|
||||
<MudText>@context.Item.Price.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
|
||||
|
||||
@@ -113,19 +113,19 @@
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Success">مجموع فروش (مبلغ نهایی)</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalSales.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalSales.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Warning">مجموع تخفیف</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalDiscount.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalDiscount.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Info">میانگین مبلغ سفارش</MudText>
|
||||
<MudText Typo="Typo.h5">@_averageOrder.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_averageOrder.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
@@ -242,12 +242,12 @@
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="مبلغ نهایی">
|
||||
<CellTemplate>
|
||||
@context.Item.GatewayAmount.ToString("N0") ریال
|
||||
@context.Item.GatewayAmount.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="تخفیف">
|
||||
<CellTemplate>
|
||||
@context.Item.DiscountBalanceUsed.ToString("N0") ریال
|
||||
@context.Item.DiscountBalanceUsed.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="وضعیت">
|
||||
@@ -566,9 +566,9 @@
|
||||
|
||||
sb.AppendLine("خلاصه:");
|
||||
sb.AppendLine($"تعداد سفارشها: {_totalOrders}");
|
||||
sb.AppendLine($"مجموع فروش (مبلغ نهایی): {_totalSales:N0} ریال");
|
||||
sb.AppendLine($"مجموع تخفیف: {_totalDiscount:N0} ریال");
|
||||
sb.AppendLine($"میانگین مبلغ سفارش: {_averageOrder:N0} ریال");
|
||||
sb.AppendLine($"مجموع فروش (مبلغ نهایی): {_totalSales:N0} تومان");
|
||||
sb.AppendLine($"مجموع تخفیف: {_totalDiscount:N0} تومان");
|
||||
sb.AppendLine($"میانگین مبلغ سفارش: {_averageOrder:N0} تومان");
|
||||
sb.AppendLine();
|
||||
|
||||
sb.AppendLine("جزئیات سفارشها:");
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
<MudStack Spacing="0">
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">مبلغ کل استخر</MudText>
|
||||
<MudText Typo="Typo.h6" Color="Color.Primary">
|
||||
@(_currentPool?.TotalPoolAmount.ToString("N0") ?? "0") ریال
|
||||
@(_currentPool?.TotalPoolAmount.ToString("N0") ?? "0") تومان
|
||||
</MudText>
|
||||
</MudStack>
|
||||
</MudItem>
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.PoolContribution" Title="سهم از استخر">
|
||||
<CellTemplate>
|
||||
@context.Item.PoolContribution.ToString("N0") ریال
|
||||
@context.Item.PoolContribution.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</PropertyColumn>
|
||||
<PropertyColumn Property="x => x.IsExpired" Title="وضعیت">
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
<td><strong>کل کمیسیون کسب شده:</strong></td>
|
||||
<td>
|
||||
<MudText Typo="Typo.body1" Color="Color.Primary">
|
||||
<strong>@_userInfo.TotalEarnedCommission.ToString("N0") ریال</strong>
|
||||
<strong>@_userInfo.TotalEarnedCommission.ToString("N0") تومان</strong>
|
||||
</MudText>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -262,7 +262,7 @@
|
||||
<td><strong>کمیسیون پرداخت شده:</strong></td>
|
||||
<td>
|
||||
<MudText Typo="Typo.body1" Color="Color.Success">
|
||||
@_userInfo.TotalPaidCommission.ToString("N0") ریال
|
||||
@_userInfo.TotalPaidCommission.ToString("N0") تومان
|
||||
</MudText>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -270,7 +270,7 @@
|
||||
<td><strong>کمیسیون در انتظار:</strong></td>
|
||||
<td>
|
||||
<MudText Typo="Typo.body1" Color="Color.Warning">
|
||||
@_userInfo.PendingCommission.ToString("N0") ریال
|
||||
@_userInfo.PendingCommission.ToString("N0") تومان
|
||||
</MudText>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<MudText Typo="Typo.h6">جزئیات فعالسازی دستی</MudText>
|
||||
<MudText Typo="Typo.body2">شناسه: @Model.Id</MudText>
|
||||
<MudText Typo="Typo.body2">کاربر: @Model.UserFullName (@Model.UserId)</MudText>
|
||||
<MudText Typo="Typo.body2">مبلغ: @Model.Amount.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.body2">مبلغ: @Model.Amount.ToString("N0") تومان</MudText>
|
||||
<MudText Typo="Typo.body2">نوع: @Model.TypeDisplay</MudText>
|
||||
<MudText Typo="Typo.body2">وضعیت: @Model.StatusDisplay</MudText>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<MudText Typo="Typo.h6">جزئیات تراکنش</MudText>
|
||||
<MudText Typo="Typo.body2">شناسه: @Model.Id</MudText>
|
||||
<MudText Typo="Typo.body2">RefId: @Model.RefId</MudText>
|
||||
<MudText Typo="Typo.body2">مبلغ: @Model.Amount.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.body2">مبلغ: @Model.Amount.ToString("N0") تومان</MudText>
|
||||
<MudText Typo="Typo.body2">وضعیت: @StatusText</MudText>
|
||||
<MudText Typo="Typo.body2">تاریخ پرداخت: @Model.PaymentDate.ToLocalTime().MiladiToJalaliWithTime()</MudText>
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@
|
||||
{
|
||||
bool? confirm = await DialogService.ShowMessageBox(
|
||||
"تایید پرداخت",
|
||||
$"آیا از تایید پرداخت دستی #{model.Id} به مبلغ {model.Amount:N0} ریال مطمئن هستید؟",
|
||||
$"آیا از تایید پرداخت دستی #{model.Id} به مبلغ {model.Amount:N0} تومان مطمئن هستید؟",
|
||||
yesText: "تایید", cancelText: "لغو");
|
||||
if (confirm == true)
|
||||
{
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
<MudNumericField T="long?"
|
||||
HideSpinButtons="true"
|
||||
Label="قیمت جدید (ریال)"
|
||||
Label="قیمت جدید (تومان)"
|
||||
@bind-Value="_newPrice"
|
||||
Variant="Variant.Outlined"
|
||||
Margin="Margin.Dense" />
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<MudTextField T="string" @bind-Value="Model.Title" Disabled="_isLoading" Label="عنوان" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
</MudItem>
|
||||
<MudItem xs="6">
|
||||
<MudNumericField T="long" HideSpinButtons="true" @bind-Value="Model.Price" Format="N0" Immediate="true" Disabled="_isLoading" Label="قیمت (ریال)" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
<MudNumericField T="long" HideSpinButtons="true" @bind-Value="Model.Price" Format="N0" Immediate="true" Disabled="_isLoading" Label="قیمت (تومان)" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
</MudItem>
|
||||
</MudStack>
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<MudTextField T="string" @bind-Value="Model.Title" Disabled="_isLoading" Label="عنوان" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
</MudItem>
|
||||
<MudItem xs="6">
|
||||
<MudNumericField T="long" HideSpinButtons="true" @bind-Value="Model.Price" Format="N0" Immediate="true" Disabled="_isLoading" Label="قیمت (ریال)" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
<MudNumericField T="long" HideSpinButtons="true" @bind-Value="Model.Price" Format="N0" Immediate="true" Disabled="_isLoading" Label="قیمت (تومان)" Variant="Variant.Outlined" Margin="Margin.Dense" />
|
||||
</MudItem>
|
||||
</MudStack>
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
<TemplateColumn Title="قیمت" CellStyle="text-wrap: nowrap;">
|
||||
<CellTemplate>
|
||||
@context.Item.Price.ToString("N0") ریال
|
||||
@context.Item.Price.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
</MudText>
|
||||
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">
|
||||
مبلغ تخفیف بهصورت ریالی وارد شود.
|
||||
مبلغ تخفیف بهصورت تومانی وارد شود.
|
||||
</MudText>
|
||||
|
||||
<MudNumericField T="long?"
|
||||
@bind-Value="_discountAmount"
|
||||
Label="مبلغ تخفیف (ریال)"
|
||||
Label="مبلغ تخفیف (تومان)"
|
||||
Variant="Variant.Outlined"
|
||||
HideSpinButtons="true" />
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public partial class ApplyDiscountDialog
|
||||
|
||||
if (response.Success)
|
||||
{
|
||||
Snackbar.Add($"تخفیف با موفقیت اعمال شد. مبلغ نهایی: {response.FinalAmount.ToString("N0")} ریال", Severity.Success);
|
||||
Snackbar.Add($"تخفیف با موفقیت اعمال شد. مبلغ نهایی: {response.FinalAmount.ToString("N0")} تومان", Severity.Success);
|
||||
MudDialog.Close(DialogResult.Ok(true));
|
||||
}
|
||||
else
|
||||
|
||||
@@ -113,13 +113,13 @@
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Success">مجموع فروش</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalSales.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_totalSales.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
<MudPaper Elevation="1" Class="pa-4 text-center">
|
||||
<MudText Typo="Typo.subtitle2" Color="Color.Info">میانگین مبلغ سفارش</MudText>
|
||||
<MudText Typo="Typo.h5">@_averageOrder.ToString("N0") ریال</MudText>
|
||||
<MudText Typo="Typo.h5">@_averageOrder.ToString("N0") تومان</MudText>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
<MudItem xs="12" md="3">
|
||||
@@ -237,7 +237,7 @@
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="مبلغ">
|
||||
<CellTemplate>
|
||||
@context.Item.Amount.ToString("N0") ریال
|
||||
@context.Item.Amount.ToString("N0") تومان
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="وضعیت پرداخت">
|
||||
|
||||
@@ -279,8 +279,8 @@ public partial class OrderSalesReports
|
||||
|
||||
sb.AppendLine("خلاصه:");
|
||||
sb.AppendLine($"تعداد سفارشها: {_totalOrders}");
|
||||
sb.AppendLine($"مجموع فروش: {_totalSales:N0} ریال");
|
||||
sb.AppendLine($"میانگین مبلغ سفارش: {_averageOrder:N0} ریال");
|
||||
sb.AppendLine($"مجموع فروش: {_totalSales:N0} تومان");
|
||||
sb.AppendLine($"میانگین مبلغ سفارش: {_averageOrder:N0} تومان");
|
||||
sb.AppendLine($"پرداخت شده: {_paidCount}");
|
||||
sb.AppendLine();
|
||||
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
<PropertyColumn Property="x => x.UserId" Title="کاربر" />
|
||||
<TemplateColumn Title="موجودی اصلی">
|
||||
<CellTemplate>
|
||||
<MudText Color="Color.Primary"><strong>@context.Item.Balance.ToString("N0")</strong> ریال</MudText>
|
||||
<MudText Color="Color.Primary"><strong>@context.Item.Balance.ToString("N0")</strong> تومان</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="موجودی شبکه">
|
||||
<CellTemplate>
|
||||
<MudText Color="Color.Success">@context.Item.NetworkBalance.ToString("N0") ریال</MudText>
|
||||
<MudText Color="Color.Success">@context.Item.NetworkBalance.ToString("N0") تومان</MudText>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="عملیات" Sortable="false">
|
||||
|
||||
Reference in New Issue
Block a user