Skip to content

Dev - #61

Open
hoangtuzami wants to merge 82 commits into
mainfrom
dev
Open

Dev#61
hoangtuzami wants to merge 82 commits into
mainfrom
dev

Conversation

@hoangtuzami

Copy link
Copy Markdown
Member

No description provided.

phu3110s and others added 30 commits April 19, 2026 20:01
…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
- 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.
…re/i18n-multilanguage

Feature/i18n multilanguage
Add internationalization support for maintenance plans and asset confirmation
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
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants