improving donation messages

This commit is contained in:
Hamid Reza Mohammadi 2023-04-16 15:33:08 +03:30
parent 6378a2d611
commit aab7f104c4
2 changed files with 1 additions and 2 deletions

View File

@ -100,7 +100,7 @@ namespace GanjooRazor.Areas.Admin.Pages
if(donation != null)
{
int rowNumber = Donations.Length - Array.IndexOf(Donations, donation);
EmailContent = $"با درود و سپاس از بزرگواری شما{Environment.NewLine}" +
EmailContent = $"با درود به {donation.DonorName} عزیز و سپاس از بزرگواری شما{Environment.NewLine}" +
$"کمک دریافتی به شماره ردیف {rowNumber.ToPersianNumbers()} در این نشانی ثبت شد:{Environment.NewLine}" +
$"https://ganjoor.net/donate{Environment.NewLine}" +
$"نحوهٔ هزینه شدن آن متعاقباً در همان ردیف مستند خواهد شد.{Environment.NewLine}" +

View File

@ -11,7 +11,6 @@ using RSecurityBackend.Services.Implementation;
using RSecurityBackend.Services;
using Microsoft.Extensions.Configuration;
using RMuseum.Models.Ganjoor.ViewModels;
using System.Globalization;
using RMuseum.Models.Accounting.ViewModels;
namespace RMuseum.Services.Implementation