feat(organization-chart): update registration date handling and styling
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m41s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m41s
- Modified the OrganizationChart component to convert and display the registration date in Jalali format, enhancing user understanding of the date information. - Updated the NetworkMembershipDtos class to include a comment in Persian for the JoinedAt property, clarifying its purpose. - Adjusted the NetworkMembershipService to utilize the UserCreated date when available, improving data accuracy. - Introduced new CSS styles for the registration date display, ensuring better visibility and presentation in the organization chart. These changes enhance the clarity and usability of the organization chart by providing accurate registration date information in a user-friendly format.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using DateTimeConverterCL;
|
||||
using FrontOffice.Main.Utilities;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.JSInterop;
|
||||
@@ -108,7 +109,9 @@ public partial class OrganizationChart : IAsyncDisposable
|
||||
isActive = n.IsActive,
|
||||
isClubActive = n.IsClubActive,
|
||||
activationWeekNumber = n.ActivationWeekNumber,
|
||||
joinedAt = n.JoinedAt,
|
||||
registeredAt = n.JoinedAt.HasValue
|
||||
? n.JoinedAt.Value.ToLocalTime().MiladiToJalali()
|
||||
: "",
|
||||
referralCode = n.ReferralCode,
|
||||
packageName = n.PackageName ?? string.Empty
|
||||
}).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user