production-evyos-systems-an.../ServicesWeb/customer/README.md

87 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Occupant Types
Toplantı Başkanı Toplantı Başkanı MT-PRS Toplantı MT
Toplantı Katip Toplantıda tutanak tutan kişi MT-WRT Toplantı MT
Toplantı Katılımcısı Toplantıda sadece katılan kişi MT-ATT Toplantı MT
Toplantı Danışman Toplantıda danışmanlık yapan kişi MT-ADV Toplantı MT
Toplantı Seçilmiş Başkanı Toplantı Seçilmiş Başkanı MT-VPR Toplantı MT
Daire Sahibi Daire Sahibi FL-OWN Daire FL
Daire Kiracısı Daire Kiracısı FL-TEN Daire FL
Daire Sakini Daire Sakini FL-RES Daire FL
Daire Sakini Vekili Daire Sakini Vekili FL-REP Daire FL
Bina Avukatı Bina Avukatı BU-ATT Bina BU
Bina Avukatı Yardımcısı Bina Avukatı Yardımcısı BU-ATA Bina BU
Bina Denetmen Yardımcısı Bina Denetmen Yardımcısı BU-SPA Bina BU
Bina Denetmeni Bina Denetmeni BU-SPV Bina BU
Bina Yönetici Yardımcısı Bina Yönetici Yardımcısı BU-MNA Bina BU
Bina Yöneticisi Bina Yöneticisi BU-MNG Bina BU
Bina Muhasabecisi Bina Muhasabecisi BU-ACC Bina BU
Proje Lideri Proje Lideri PRJ-LDR Proje PRJ
Proje Sorumlusu Proje Sorumlusu PRJ-RES Proje PRJ
Proje Ekibi Proje Ekibi PRJ-EMP Proje PRJ
Proje Finans Sorumlusu Proje Finans Sorumlusu PRJ-FIN Proje PRJ
Proje Teknik Sorumlusu Proje Teknik Sorumlusu PRJ-TEC Proje PRJ
Bina Teknik Sorumlusu Bina Teknik Sorumlusu BU-TEC Bina BU
Bina Teknik Elemanı Bina Teknik Elemanı BU-EMP Bina BU
Bina Teknik Freelancer Bina Teknik Freelancer BU-FLC Bina BU
Daire Mülkiyet Vekili Daire Mülkiyet Vekili FL-DEP Daire FL
# Employee Types
General Manager GM0001 General Manager
Business Manager BM0001 Business Manager
IT Manager IT0001 IT Manager
BULK BULK BULK RECORDS OF THE COMPANY
OCCUPANT OCCUPANT OCCUPANT RECORDS OF THE COMPANY
Database Manager DM Database Manager
Network Manager NM Network Manager
Application Manager AM Application Manager
Super User SUE Super User
Daire Sakini Vekili Daire Sakini Vekili FL-REP Daire FL
URL Type Tested
/building/accounts/managment/accounts : flat_representative No
/definitions/identifications/people : flat_tenant No
## Table Component with Edit/Create Functionality
### Features Implemented
1. **Table Actions Column**
- Added an actions column with pencil icon edit button as the first column in the table
- Implemented proper styling and visibility for the edit button
- Ensured the button appears in each row of the table
2. **Redis Cache Integration**
- Implemented data caching between list and edit/create views
- Row data is stored in Redis when edit button is clicked
- Cached data is retrieved and populated in the update form
- Boolean values (checkboxes) are properly handled with type conversion
3. **Navigation**
- Added dynamic routing based on activePageUrl
- Edit button navigates to `/panel/${activePageUrl}/update`
- Added "Create New" button that navigates to `/panel/${activePageUrl}/create`
- Added "Back to List" buttons on both create and update forms
4. **UI Improvements**
- Fixed page dropdown to always show at least page 1 when there's only one page
- Added debugging logs for troubleshooting
- Improved form field handling with proper type conversion
### Implementation Details
- Used `@tanstack/react-table` for table rendering
- Leveraged Redis for state management between pages
- Implemented proper error handling and debugging
- Used Next.js routing for navigation