Tenant_Management #114

Merged
ashutosh.nehete merged 73 commits from Tenant_Management into main 2025-08-28 05:13:10 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 3d6926864d - Show all commits

View File

@ -34,5 +34,6 @@ namespace Marco.Pms.Model.ViewModels.Tenant
public DateTime? NextBillingDate { get; set; } public DateTime? NextBillingDate { get; set; }
public BasicEmployeeVM? CreatedBy { get; set; } public BasicEmployeeVM? CreatedBy { get; set; }
public List<SubscriptionPlanDetailsVM>? SubscriptionHistery { get; set; } public List<SubscriptionPlanDetailsVM>? SubscriptionHistery { get; set; }
public SubscriptionPlanDetailsVM? CurrentPlan { get; set; }
} }
} }

View File

@ -343,6 +343,7 @@ namespace Marco.Pms.Services.Controllers
response.NextBillingDate = nextBillingDate; response.NextBillingDate = nextBillingDate;
response.CreatedBy = createdBy; response.CreatedBy = createdBy;
response.CurrentPlan = _mapper.Map<SubscriptionPlanDetailsVM>(currentPlan);
// Map subscription history plans to DTO // Map subscription history plans to DTO
response.SubscriptionHistery = _mapper.Map<List<SubscriptionPlanDetailsVM>>(plans); response.SubscriptionHistery = _mapper.Map<List<SubscriptionPlanDetailsVM>>(plans);