Selaa lähdekoodia

EntryAndExitTips 增加 签证费用提示细项

leiy 11 kuukautta sitten
vanhempi
commit
784afab9bc

+ 3 - 2
OASystem/OASystem.Infrastructure/Repositories/Groups/VisaFeeInfoRepository.cs

@@ -295,12 +295,13 @@ namespace OASystem.Infrastructure.Repositories.Groups
             {
                 var countryData = visaCountryDatas.Find(it => it.Id == kvp.Key);
                 decimal _otherFee = kvp.FirstOrDefault()?.OtherFee ?? 0;
-                decimal visaFeeTotal = Convert.ToDecimal(countryData?.VisaPrice ?? 0.00M) + _otherFee;
+                decimal _visaFee = Convert.ToDecimal(countryData?.VisaPrice ?? 0.00M);
+                decimal visaFeeTotal = _visaFee + _otherFee;
                 decimal _agencyFee = 0;
                 decimal _GrandBusinessAgencyFee = 0;
                 decimal _PettyBusinessAgencyFee = 0;
                 
-                string remark1 = "";
+                string remark1 = $"签证费:{_visaFee.ToString("#0.00")}元、";
                 foreach (var item in kvp.ToList())
                 {
                     if (item.OBType == 1)