@page "/payments" @attribute [Microsoft.AspNetCore.Authorization.Authorize] @inject IDialogService DialogService @inject NavigationManager NavigationManager @inject ISnackbar Snackbar @inject IUserUtility UserUtility @inject IRestWrapper RestWrapper پرداختـــ ها @* *@

@context.Item.Type.ToDisplay()

@context.Item.Status.ToDisplay()

@context.Item.Amount.ToString("N0") ریالــ

@context.Item.CreatedAt.ToPersianDateTime().ToLongDateString()

@code { public PaymentsPageViewModel ViewModel { get; set; } protected override async Task OnInitializedAsync() { ViewModel = new PaymentsPageViewModel(NavigationManager, Snackbar, UserUtility, RestWrapper, DialogService); await ViewModel.InitializeAsync(); await base.OnInitializedAsync(); } }