-
- @if (activeTab == "properties")
+
+
+ @if (activeTab == "properties")
+ {
+ @if (previewData.Properties?.Any() == true)
{
-
- @if (previewData.Properties?.Any() == true)
- {
-
-
-
+
+
+
+
+ | Address |
+ City |
+ State |
+ Type |
+ Status |
+ Monthly Rent |
+
+
+
+ @foreach (var property in previewData.Properties)
+ {
- | Address |
- City |
- State |
- Type |
- Status |
+ @property.Address |
+ @property.City |
+ @property.State |
+ @property.PropertyType |
+ @property.Status |
+ @(property.MonthlyRent?.ToString("C") ?? "—") |
-
-
- @foreach (var property in previewData.Properties)
- {
-
- | @property.Address |
- @property.City |
- @property.State |
- @property.PropertyType |
-
- @property.Status
- |
-
- }
-
-
+ }
+
+
+
+ @if (previewData.PropertyCount > 100)
+ {
+
+ Showing first 100 of @previewData.PropertyCount properties. All records will be imported.
}
- else
+ }
+ else
+ {
+
No properties found
+ }
+ }
+
+
+ @if (activeTab == "tenants")
+ {
+ @if (previewData.Tenants?.Any() == true)
+ {
+
+
+
+
+ | Name |
+ Email |
+ Phone |
+ Added |
+
+
+
+ @foreach (var tenant in previewData.Tenants)
+ {
+
+ | @tenant.FullName |
+ @tenant.Email |
+ @tenant.Phone |
+ @tenant.CreatedOn.ToString("d") |
+
+ }
+
+
+
+ @if (previewData.TenantCount > 100)
{
-
No properties found
+
+ Showing first 100 of @previewData.TenantCount tenants. All records will be imported.
+
}
-
}
+ else
+ {
+
No tenants found
+ }
+ }
-
- @if (activeTab == "tenants")
+
+ @if (activeTab == "leases")
+ {
+ @if (previewData.Leases?.Any() == true)
{
-
- @if (previewData.Tenants?.Any() == true)
- {
-
-
-
+
+
+
+
+ | Property |
+ Tenant |
+ Start Date |
+ End Date |
+ Monthly Rent |
+ Status |
+
+
+
+ @foreach (var lease in previewData.Leases)
+ {
- | Name |
- Email |
- Phone |
- Created |
+ @lease.PropertyAddress |
+ @lease.TenantName |
+ @lease.StartDate.ToString("d") |
+ @lease.EndDate.ToString("d") |
+ @lease.MonthlyRent.ToString("C") |
+
+ @lease.Status
+ |
-
-
- @foreach (var tenant in previewData.Tenants)
- {
-
- | @tenant.FullName |
- @tenant.Email |
- @tenant.Phone |
- @tenant.CreatedOn.ToString("d") |
-
- }
-
-
+ }
+
+
+
+ }
+ else
+ {
+
No leases found
+ }
+ }
+
+
+ @if (activeTab == "invoices")
+ {
+ @if (previewData.Invoices?.Any() == true)
+ {
+
+
+
+
+ | Invoice # |
+ Property |
+ Tenant |
+ Due Date |
+ Amount |
+ Status |
+
+
+
+ @foreach (var invoice in previewData.Invoices)
+ {
+
+ @invoice.InvoiceNumber |
+ @invoice.PropertyAddress |
+ @invoice.TenantName |
+ @invoice.DueOn.ToString("d") |
+ @invoice.Amount.ToString("C") |
+ @invoice.Status |
+
+ }
+
+
+
+ @if (previewData.InvoiceCount > 100)
+ {
+
+ Showing first 100 of @previewData.InvoiceCount invoices. All records will be imported.
}
- else
+ }
+ else
+ {
+
No invoices found
+ }
+ }
+
+
+ @if (activeTab == "payments")
+ {
+ @if (previewData.Payments?.Any() == true)
+ {
+
+
+
+
+ | Payment # |
+ Invoice # |
+ Paid On |
+ Amount |
+ Method |
+
+
+
+ @foreach (var payment in previewData.Payments)
+ {
+
+ @payment.PaymentNumber |
+ @payment.InvoiceNumber |
+ @payment.PaidOn.ToString("d") |
+ @payment.Amount.ToString("C") |
+ @payment.PaymentMethod |
+
+ }
+
+
+
+ @if (previewData.PaymentCount > 100)
{
-
No tenants found
+
+ Showing first 100 of @previewData.PaymentCount payments. All records will be imported.
+
}
-
}
+ else
+ {
+
No payments found
+ }
+ }
-
- @if (activeTab == "leases")
+
+ @if (activeTab == "maintenance")
+ {
+ @if (previewData.MaintenanceRequests?.Any() == true)
{
-
- @if (previewData.Leases?.Any() == true)
- {
-
-
-
+
+
+
+
+ | Title |
+ Property |
+ Type |
+ Priority |
+ Status |
+ Requested |
+
+
+
+ @foreach (var request in previewData.MaintenanceRequests)
+ {
- | Property |
- Tenant |
- Start Date |
- End Date |
- Monthly Rent |
- Status |
+ @request.Title |
+ @request.PropertyAddress |
+ @request.RequestType |
+
+ @request.Priority
+ |
+ @request.Status |
+ @request.RequestedOn.ToString("d") |
-
-
- @foreach (var lease in previewData.Leases)
- {
-
- | @lease.PropertyAddress |
- @lease.TenantName |
- @lease.StartDate.ToString("d") |
- @lease.EndDate.ToString("d") |
- @lease.MonthlyRent.ToString("C") |
-
-
- @lease.Status
-
- |
-
- }
-
-
+ }
+
+
+
+ @if (previewData.MaintenanceCount > 100)
+ {
+
+ Showing first 100 of @previewData.MaintenanceCount requests. All records will be imported.
}
- else
+ }
+ else
+ {
+
No maintenance requests found
+ }
+ }
+
+
+ @if (activeTab == "repairs")
+ {
+ @if (previewData.Repairs?.Any() == true)
+ {
+
+
+
+
+ | Description |
+ Property |
+ Type |
+ Cost |
+ Completed |
+
+
+
+ @foreach (var repair in previewData.Repairs)
+ {
+
+ | @repair.Description |
+ @repair.PropertyAddress |
+ @repair.RepairType |
+ @repair.Cost.ToString("C") |
+ @(repair.CompletedOn.HasValue ? repair.CompletedOn.Value.ToString("d") : "In Progress") |
+
+ }
+
+
+
+ @if (previewData.RepairCount > 100)
{
-
No leases found
+
+ Showing first 100 of @previewData.RepairCount repairs. All records will be imported.
+
}
-
}
-