|
@@ -14,11 +14,15 @@ public class MonthlyRewardPayoutReportViewModel
|
|
|
|
|
|
|
|
public int TotalPages { get; set; } = 1;
|
|
public int TotalPages { get; set; } = 1;
|
|
|
|
|
|
|
|
|
|
+ public decimal GrandTotalPayoutCount { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ public decimal GrandTotalMmk { get; set; }
|
|
|
|
|
+
|
|
|
public List<MonthlyRewardPayoutItemViewModel> Items { get; set; } = new();
|
|
public List<MonthlyRewardPayoutItemViewModel> Items { get; set; } = new();
|
|
|
|
|
|
|
|
- public decimal TotalPayoutCount => Items.Sum(x => x.PayoutCount);
|
|
|
|
|
|
|
+ public decimal TotalPayoutCount => GrandTotalPayoutCount;
|
|
|
|
|
|
|
|
- public decimal TotalMmk => Items.Sum(x => x.TotalMmk);
|
|
|
|
|
|
|
+ public decimal TotalMmk => GrandTotalMmk;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class MonthlyRewardPayoutItemViewModel
|
|
public class MonthlyRewardPayoutItemViewModel
|