Dev - #61
Open
hoangtuzami wants to merge 82 commits into
Open
Conversation
…ents; update error handling in API calls and implement staff creation functionality
…re/audit-logs Refactor UI styles and implement audit logs with API integration
…ctions; update axios interceptor to handle token refresh errors
…ment - Added Vietnamese translations in common.json for various UI elements and messages. - Implemented languageStore.js to manage language settings using localStorage and integrate with i18n and dayjs for localization.
…re/i18n-multilanguage Add QuoteDetail component and Vietnamese language support
…d update translations
- Added TRANSLATIONS endpoint to HOUSES_ENDPOINTS for fetching translations. - Updated ISSUE_ENDPOINTS to correct the response ticket path. - Enhanced ASSET_ENDPOINTS for better function area retrieval. - Introduced new translation keys in English, Japanese, and Vietnamese for house translations and PDF handling. - Implemented HouseTranslationReview component for editing translations with a user-friendly interface.
…re/i18n-multilanguage Enhance multilingual support and add translation review component
- Integrated i18n for maintenance plans page, including translations for Vietnamese, English, and Japanese. - Updated UI elements to use translation keys for labels, buttons, and statistics. - Added new translation keys in common.json files for maintenance-related texts.
…on and localized messages
…re/i18n-multilanguage Feature/i18n multilanguage
Add internationalization support for maintenance plans and asset confirmation
…multiple languages
Add internationalization support and improve layout styles
- Introduce `useCountries` fallback and proxy hook for nationalities. - Implement `useUtilityAlerts` with per-metric caching and refresh support. - Add utilities API module for fetching alerts and limits data. - Enhance address picker with foreign mode and country sync. - Update house creation flow to include legal fields and land certificate info. - Add `HouseLegalFieldsEditor` to house detail modal.
# Conflicts: # src/features/contracts/components/create/StepHouseAndMoney.jsx # src/features/contracts/pages/CreateContract.jsx # src/features/issues/pages/IssuePriceListPage.jsx # src/features/maintenance/components/AddHousesModal.jsx # src/features/maintenance/components/CreatePlanDrawer.jsx # src/features/maintenance/components/GenerateJobsResultModal.jsx # src/features/maintenance/components/JobDetailDrawer.jsx # src/features/maintenance/components/MaintenancePlanCard.jsx # src/features/maintenance/components/MaintenancePlanList.jsx # src/features/maintenance/components/PlanDetailDrawer.jsx # src/features/maintenance/components/PlanJobsDrawer.jsx # src/features/maintenance/pages/MaintenanceJobsPage.jsx # src/features/maintenance/pages/MaintenancePlansPage.jsx # src/locales/en/common.json # src/locales/ja/common.json # src/locales/vi/common.json
Add internationalization support and improve layout styles
# Conflicts: # .claude/settings.local.json
…nts/hooks for multilingual support
- Implemented regions management page with create and assign staff functionality. - Added localization for Japanese and Vietnamese languages in common.json files. - Updated routes to include the new RegionsPage. - Created RegionsPage component with region cards, detail drawer, and create region modal. - Integrated API calls for fetching regions, staff, and houses. - Enhanced UI with loading states, error handling, and user feedback via toast notifications.
Add landlord dashboard features and internationalization support
…rolling behavior Co-authored-by: Copilot <copilot@github.com>
…s; update state management in DragSignatureBox and HouseAlertDrawer; enhance Vietnam address hook; adjust Vite configuration for module resolution. Co-authored-by: Copilot <copilot@github.com>
…t replacement links dynamically. - Introduce `ManagersPage` for managing regional operations contacts. - Add `NotificationPreferencesPanel` for settings notification preferences with voice and SMS features. - Create `MultiLangDemo` for showcasing multilingual input and text components.
…vailability and total-deposit summary; add demo milestone scenarios
Adds a "Xác nhận hoàn cọc" action on the contract detail page, shown when
the contract is in INSPECTION_DONE. Opens a modal to enter the refund amount
(prefilled with the deposit) and an optional note, then calls
PUT /econtracts/{id}/confirm-refund to move the contract to
DEPOSIT_REFUND_PENDING. The confirm-refund endpoint existed in the backend
and in api-endpoints.js but had no UI wired to it.
Adds DepositRefundActions on the CHECK_OUT inspection result page: when the contract is INSPECTION_DONE it shows "Xác nhận hoàn cọc" (confirm refund amount), then "Đánh dấu đã hoàn cọc" (mark refund paid, BANK_TRANSFER/CASH) once it is DEPOSIT_REFUND_PENDING, and a done state when TERMINATED. Removes the confirm-refund button from the contract detail page so the flow lives in one place next to checkout. Wires the new payment endpoints (deposit-refund-invoice lookup + mark-refund-paid).
…etch
The inspection list now returns houseName/houseAddress per row, so the page
reads them from the item instead of fetching GET /houses/{id} for every row.
Removes the house N+1 from the list load.
…-house fetch" This reverts commit 6599861.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.