Merge branch 'Feature/InstitutionContract/add-registration-style' into Main
This commit is contained in:
@@ -541,8 +541,8 @@ public class TemporaryClientRegistrationApplication : ITemporaryClientRegistrati
|
||||
|
||||
var months = (int)duration;
|
||||
//رند کردن مبالغ کارگاه ها
|
||||
var roundAmount = (((Convert.ToInt64(totalPayment1MonthDouble))) / 1000000) * 1000000;
|
||||
double roundAmount2 = roundAmount;
|
||||
|
||||
double roundAmount2 = totalPayment1MonthDouble;
|
||||
//بدست آوردن جمع کل مبالغ کارگاه بر اساس مدت قراداد
|
||||
var sumOfWorkshopsPaymentDouble = months * roundAmount2;
|
||||
result.SumOfWorkshopsPayment = roundAmount2.ToMoney();
|
||||
|
||||
@@ -263,7 +263,8 @@ public class PlanPercentageRepository : RepositoryBase<long, PlanPercentage>, IP
|
||||
planByCountPerson.RollCallDouble +
|
||||
planByCountPerson.CustomizeCheckoutDouble;
|
||||
|
||||
onlineAndInPersonSumAmount = (onlineAndInPersonSumAmount /10000) * 10000;
|
||||
onlineAndInPersonSumAmount = Math.Floor(onlineAndInPersonSumAmount);
|
||||
onlineAndInPersonSumAmount = Math.Floor(onlineAndInPersonSumAmount / 10000) * 10000;
|
||||
return new InstitutionPlanViewModel()
|
||||
{
|
||||
CountPerson = planByCountPerson.CountPerson,
|
||||
|
||||
Reference in New Issue
Block a user