Repository navigation
feat(F33): đồng bộ giao diện Figma 16/10 + nối PayOS và F12 vào backend hiện có - #15
Merged
Merged
Conversation
…à F12 /api/staff/units
VectorNguyen
pushed a commit
that referenced
this pull request
Oct 22, 2026
feat(F33): đồng bộ giao diện Figma 16/10 + nối PayOS và F12 vào backend hiện có
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.
Tóm tắt
Đồng bộ giao diện khách hàng và khu vận hành theo Figma 16/10, gộp với main mới nhất (PayOS, Staff/Manager endpoints, QR của Tiến). Không sửa backend.
Thay đổi chính
POST /api/reservations/create-payos-qrcó sẵn; webhook chuyển đơn sangCONFIRMED→ màn tự sang C05. Giữ chỗ khi thanh toán QR: 10 phút.#/door; trạng thái "Chờ nhận kho" khi chưa bàn giao.PUT /api/staff/units/{mã}/statuscó sẵn (nhân viên + quản lý theo SRS UC09).payment-access.test.js,payment-api.test.mjs). Docs: DECISIONS D20–D21, feature_list F33, BACKEND-TODO.Auto test
npm test: 67/67 passnpm run test:render: 92 route passnpm run test:business: passnpm run build: OKCần nhóm lưu ý
/api/contracts/{id}/access-qr,/api/access/scan,/api/payments/{id}/payos(PayOS cho gia hạn),/api/reservations/{id}/pay-at-facility,/api/reservations/{id}/cancel-preview. Chi tiết trongBACKEND-TODO.md.INSPECTION./api/ops/*: đang đăng ký ở cảFacilityOpsEndpointsvàStaffEndpoints/ManagerEndpoints→ gọi/api/ops/...có thể lỗi 500 (ambiguous match). Đề nghị bỏ một bên.