feat: add all new Resource fields to data browser detail modal
Updated Resources data browser page to display all 40+ fields in the detail modal including: - Name fields (prefix, middle initial, suffix) - All contact information (3 email addresses, home phone) - Employment details (payroll, accounting, internal cost) - Location and availability - System preferences (date/time/number formats) - Demographics and security (gender, license, security level) - Survey ratings Fields are organized into logical groups with comments for clarity.
This commit is contained in:
parent
bc01a6aafb
commit
7252d2cfcf
1 changed files with 34 additions and 3 deletions
|
|
@ -96,17 +96,48 @@ export default function ResourcesBrowserPage() {
|
|||
|
||||
const detailFields = [
|
||||
{ key: 'id', label: 'ID' },
|
||||
// Name fields
|
||||
{ key: 'name_prefix', label: 'Prefix' },
|
||||
{ key: 'first_name', label: 'First Name' },
|
||||
{ key: 'middle_initial', label: 'Middle Initial' },
|
||||
{ key: 'last_name', label: 'Last Name' },
|
||||
{ key: 'email', label: 'Email' },
|
||||
{ key: 'user_name', label: 'Username' },
|
||||
{ key: 'title', label: 'Title' },
|
||||
{ key: 'name_suffix', label: 'Suffix' },
|
||||
// Contact information
|
||||
{ key: 'email', label: 'Primary Email' },
|
||||
{ key: 'email_address', label: 'Email Address' },
|
||||
{ key: 'email_address2', label: 'Email Address 2' },
|
||||
{ key: 'email_address3', label: 'Email Address 3' },
|
||||
{ key: 'office_phone', label: 'Office Phone' },
|
||||
{ key: 'mobile_phone', label: 'Mobile Phone' },
|
||||
{ key: 'home_phone', label: 'Home Phone' },
|
||||
{ key: 'office_extension', label: 'Extension' },
|
||||
// System fields
|
||||
{ key: 'user_name', label: 'Username' },
|
||||
{ key: 'title', label: 'Title' },
|
||||
{ key: 'is_active', label: 'Active' },
|
||||
// Employment details
|
||||
{ key: 'resource_type', label: 'Resource Type' },
|
||||
{ key: 'payroll_identifier', label: 'Payroll Identifier' },
|
||||
{ key: 'payroll_type', label: 'Payroll Type' },
|
||||
{ key: 'accounting_reference_id', label: 'Accounting Reference ID' },
|
||||
{ key: 'internal_cost', label: 'Internal Cost' },
|
||||
{ key: 'hire_date', label: 'Hire Date' },
|
||||
// Location and availability
|
||||
{ key: 'location_id', label: 'Location ID' },
|
||||
{ key: 'travel_availability_pct', label: 'Travel Availability %' },
|
||||
{ key: 'default_service_desk_role_id', label: 'Default Service Desk Role' },
|
||||
// System preferences
|
||||
{ key: 'email_type_code', label: 'Email Type' },
|
||||
{ key: 'number_format', label: 'Number Format' },
|
||||
{ key: 'time_format', label: 'Time Format' },
|
||||
{ key: 'date_format', label: 'Date Format' },
|
||||
// Demographics and security
|
||||
{ key: 'gender', label: 'Gender' },
|
||||
{ key: 'license_type', label: 'License Type' },
|
||||
{ key: 'security_level', label: 'Security Level' },
|
||||
// Ratings
|
||||
{ key: 'survey_resource_rating', label: 'Survey Rating' },
|
||||
// Audit fields
|
||||
{ key: 'synced_at', label: 'Synced At' },
|
||||
{ key: 'is_deleted', label: 'Is Deleted' },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue