Feature Spec — Detail (Admin CRM · Ticket)

Round A — business confirmation through interface (CPG-GUIDE-SPEC-A)Vòng A — xác nhận nghiệp vụ qua giao diện (CPG-GUIDE-SPEC-A)

A. Document controlA. Kiểm soát tài liệu

Doc IDCPG-SPEC-CRM-TKT-DETAIL
VersionPhiên bản0.2
StatusTrạng tháiFor Review
OwnerDHC — BA
AudienceĐối tượngFlyPay — PM / Business; DHC — BA, UI, Frontend, Backend, QA
ClassificationPhân loạiConfidential — FlyPay and DHCConfidential — FlyPay và DHC
Effective dateNgày hiệu lực02/12/2026
Related docs 01_BR · Admin CRM FSD Ticket · MP Ticket UC · GUIDE-SPEC-A · CRM Ticket TC
AuthorSoạnDHC — BA
ReviewRà soátFlyPay — BusinessFlyPay — Nghiệp vụ
ApprovalPhê duyệtFlyPay — PM
ConfidentialityĐộ mậtConfidential — FlyPay and DHC
FrameworkKhungCPG-GUIDE-SPEC-A (Round A) · sample CPG-SPEC-ACC-HW-CREATE

B. Version historyB. Lịch sử phiên bản

Version Date Author ChangesThay đổi
0.1 14/11/2026 DHC — BA InitializeKhởi tạo
0.2 01/12/2026 DHC — BA Layout of 14 items according to GUIDE-SPEC-A + Invoice module Round ABố cục 14 mục theo GUIDE-SPEC-A + module Invoice Vòng A

C. Table of contentsC. Mục lục

D. ContentD. Nội dung

Detail CRM · §3.1.2.

1. Introduction1. Giới thiệu

1.1 Purpose1.1 Mục đích

Merchant + ticket panels; Update Status/Assignee.

RoundVòngContentNội dungOwnerThực hiện
A — business confirmation via UI (this document)A — xác nhận nghiệp vụ qua giao diện (tài liệu này)
  • UI journey: screens, buttons, fieldsHành trình trên giao diện: màn hình, nút, trường
  • Rules and user-visible error messagesQuy tắc, thông báo lỗi người dùng thấy
  • Acceptance criteriaTiêu chí nghiệm thu
DHC drafts, FlyPay approvesDHC soạn, FlyPay phê duyệt
B — FSD / backend design (after Round A approval)B — FSD / thiết kế backend (sau khi vòng A được duyệt)
  • Break down by network, API, data, system error codes, detailed audit logPhân rã theo network, API, dữ liệu, mã lỗi hệ thống, audit log chi tiết
  • Cover every Round A UI flowBao phủ mọi luồng giao diện của vòng A
DHC drafts, FlyPay approvesDHC soạn, FlyPay phê duyệt

1.2 Scope1.2 Phạm vi

In scopeTrong phạm viOut of scope (other docs)Ngoài phạm vi (tài liệu khác)
  • Details tab
  • Update Ticket

1.3 Audience1.3 Đối tượng đọc

AudienceĐối tượngReadĐọc phần
FlyPay — Support / OpsSection 2, 3, 6, 10Mục 2, 3, 6, 10
DHC — BA, FE Admin CRMEntireToàn bộ
DHC — backend, QASection 8, 9, 11Mục 8, 9, 11

1.4 Glossary & abbreviations1.4 Thuật ngữ & viết tắt

Terms follow the CPG glossary: keep industry English terms; short meaning text (ND-03).Thuật ngữ theo Từ điển thuật ngữ CPG: giữ thuật ngữ ngành (tiếng Anh), giải thích ngắn bằng tiếng Việt (ND-03).

VietnameseTiếng ViệtEnglish / UITiếng Anh / trên giao diệnMeaningNghĩaStatusTrạng thái
yêu cầu hỗ trợticket (Tickets)Support request sent to FlyPay Support via Merchant Portal Tickets.Phiếu gửi FlyPay Support qua mục Tickets của Merchant Portal.referencetham khảo
người được gánassigneeCRM staff member assigned to handle the ticket.Nhân sự CRM đang được giao xử lý ticket.referencetham khảo
bình luận nội bộinternal commentComment with visibility=internal — CRM only; hidden from merchant.Comment visibility=internal — chỉ CRM; merchant không thấy.referencetham khảo
đề cập@mentionTag @user in a comment to notify a CRM colleague.Gắn @user trong comment để thông báo đồng nghiệp CRM.referencetham khảo
bắt đầu xử lýStart WorkingCRM list action: move ticket to in_progress (often with self-assign).Hành động CRM trên list: chuyển ticket sang in_progress (thường kèm self-assign).referencetham khảo
danh mụccategoryTicket classification group (ticket categories) used on create / filter.Nhóm phân loại ticket (ticket categories) dùng khi tạo / lọc.referencetham khảo
độ ưu tiênpriorityTicket priority: low / medium / high / critical (domain); legacy CRM FSD may say urgent.Mức ưu tiên ticket: low / medium / high / critical (domain); FSD CRM cũ có thể ghi urgent.referencetham khảo
thương nhânmerchantCPG customer organization; CRM binds tickets to a merchant (except internal).Tổ chức khách hàng CPG; CRM gắn ticket với merchant (trừ internal).referencetham khảo
phân quyền theo vaiRBAC / roleMerchant Admin, Finance, Operator, Approver, Support, Developer, Viewer.Merchant Admin, Finance, Operator, Approver, Support, Developer, Viewer.referencetham khảo
yêu cầu / quy tắc nghiệp vụBR / Business Rule (RL)IDs from FlyPay URD / RTM.Mã lấy từ URD / RTM của FlyPay.referencetham khảo
trường hợp sử dụng / nghiệm thu / kiểm thửUC / AC / TCUse Case / Acceptance Criteria / Test Case.Use Case / Acceptance Criteria / Test Case.referencetham khảo
phạm vi công việc / yêu cầu thay đổiSoW / CRStatement of Work / Change Request.Statement of Work / Change Request.referencetham khảo
(keep English)baselineConfirmed and signed requirements snapshot.Bản yêu cầu đã xác nhận và ký.referencetham khảo
tài liệu yêu cầu / truy vết / thiết kếURD / RTM / FSDFlyPay requirements / traceability matrix / functional spec (Round B).Tài liệu yêu cầu FlyPay / sổ cái truy vết / đặc tả chức năng (vòng B).referencetham khảo

1.5 References1.5 Tài liệu tham chiếu

IDMãDocumentTài liệuRelated toLiên quan tớiVersion / statusPhiên bản / tình trạngLink
L19FSD Admin CRM / TicketTicket & Support (CRM)—OpenMở
L20CPG-GUIDE-SPEC-A — Guide for writing Round A feature specificationsCPG-GUIDE-SPEC-A — Hướng dẫn viết đặc tả tính năng vòng A14-item rules, HA-01…09, ND-01…13Quy tắc 14 mục, HA-01…09, ND-01…13v0.1, 13/11/2026OpenMở
L21CPG-SPEC-ACC-HW-CREATE — Sample Document for Creating Hot WalletCPG-SPEC-ACC-HW-CREATE — Tài liệu mẫu Tạo Hot WalletStandard detail level (Create Hot Wallet)Mức chi tiết chuẩn (Tạo Hot Wallet)v0.1, 13/11/2026 — illustrative samplev0.1, 13/11/2026 — mẫu minh hoạOpenMở
L37UC Ticket (CRM) — catalogUC-TKT-01…08 (CRM; temporarily for MP Round A)…08 (CRM; tạm cho MP Round A)—OpenMở
L38CRM Ticket Test Script SetBộ kịch bản kiểm thử CRM TicketTC Ticket CRM suite + TC-CRM-TKT-* Round A—OpenMở
L46CPG-SPEC-CRM-TKT-INDEX — Ticket Index (CRM)Catalog SPEC Ticket CRM Round ACatalog SPEC Ticket CRM Vòng Aavailable (version 0.2, 16/11/2026)có (bản 0.2, 16/11/2026)OpenMở

1.6 Presentation conventions1.6 Quy ước trình bày

ConventionQuy ướcMeaningNghĩa
MUSTRequired — fail = not accepted (RFC 2119: SHALL)Bắt buộc — không đạt thì không nghiệm thu (RFC 2119: SHALL)
MUST NOTForbidden (SHALL NOT)Cấm (SHALL NOT)
SHOULDRecommended — alternatives need a reason (SHOULD)Khuyến nghị — làm khác phải nêu lý do (SHOULD)
MAYOptional (MAY)Tuỳ chọn (MAY)
Status labelNhãn trạng tháiMeaningNghĩa
Confirmed (source)Đã xác nhận (source)Already in URD / RTM / FSD v2.2 or confirmed by FlyPay (cite source, date).Đã có trong URD / RTM / FSD v2.2 hoặc FlyPay đã xác nhận (ghi nguồn, ngày).
DHC proposalDHC đề xuấtDHC proposal with rationale; needs FlyPay agreement.DHC đề xuất kèm lý do; cần FlyPay đồng ý.
Awaiting decision QnChờ quyết định QnFlyPay must answer Qn in §12; each has a DHC recommendation.Cần FlyPay trả lời câu hỏi Qn ở Mục 12; mỗi câu có khuyến nghị DHC.
DHC added (v0.2)DHC bổ sung (bản 0.2)DHC added in the version in parentheses (usually missing shot / description).DHC bổ sung ở phiên bản ghi trong ngoặc (thường là ảnh / mô tả còn thiếu).
referencetham khảoExplanatory info, not a requirement.Thông tin giải thích, không phải yêu cầu.
Combined cellÔ ghépExample: Confirmed (RL-05-01); length: Awaiting Q6. 'Confirmed' applies only to the cited part.Ví dụ: Đã xác nhận (RL-05-01); độ dài: Chờ quyết định Q6.
SymbolKý hiệuMeaningNghĩa
S1, S2, S2-N…Screen ids; suffix = variantMã màn hình; hậu tố là biến thể
B1…BnUser-flow step ids (§5)Mã bước trong luồng người dùng (Mục 5)
1 2 3…Callout numbers on shots; explained in the table below the image.Số chú thích trên ảnh; giải thích ở bảng ngay dưới ảnh.
BR, RL, TC, E-*, AC, Q, LRequirement, rule, test case, error, acceptance, question, referenceYêu cầu, quy tắc, kịch bản kiểm thử, thông báo lỗi, tiêu chí nghiệm thu, câu hỏi, tài liệu tham chiếu
(new id)(mã mới)DHC-proposed id; FlyPay assigns official RTM ids (ND-08)Mã DHC đề xuất; FlyPay cấp mã chính thức khi cập nhật RTM (ND-08)
dd/mm/yyyyDate formatĐịnh dạng ngày

2. Overview2. Tổng quan

  • Read-only description
  • Update Status+Assignee
  • Unsaved warn proposalUnsaved warn đề xuất
Toàn cảnh — Detail CRM: merchant block + ticket info + Status/Assignee + Update.
Figure 1Hình 1 — Overview: CRM Detail: merchant block + ticket info + Status/Assignee + Update.— Toàn cảnh: Detail CRM: merchant block + ticket info + Status/Assignee + Update.

3. Business rules3. Nghiệp vụ

3.1 Detail tab (§3.1.2)

Merchant panel, ticket metadata, description read-only; Status + Assigned To + Update Ticket; unsaved warning.Merchant panel, ticket metadata, description read-only; Status + Assigned To + Update Ticket; cảnh báo unsaved.

BR IDMã BROriginal wording (URD / RTM / FSD)Nguyên văn (URD / RTM / FSD)InterpretationDiễn giảiUI manifestationThể hiện trên giao diệnStatusTrạng thái
§3.1.2Update persists Status + Assigned ToLast Updated refreshS1Confirmed (FSD)Đã xác nhận (FSD)

4. Roles & permissions4. Vai trò & phân quyền

ActionThao tácSystem AdminMerchant SupportTechnical SupportStatusTrạng thái
Xem detailCreditCóCreditCóCreditCóConfirmed (FSD)Đã xác nhận (FSD)
Update Status/AssigneeCreditCóCreditCóCreditCóConfirmed (FSD §2)Đã xác nhận (FSD §2)

5. User flows5. Luồng người dùng

AgentCRMAPIBắt đầuB1: Mở detailB2: GET ticketB3: Sửa Status/AssigneeB4: PATCHKết thúc
Detail — Column = actor lane; green ellipse = Start; red ellipse = End; diamond = condition (Detail — Cột = làn actor; elip xanh = Bắt đầu; elip đỏ = Kết thúc; hình thoi = điều kiện (Achieve/HaveĐạt/Có ↓ next step,↓ bước sau, Not pass/NoKhông đạt/Không → go back to the step indicated by the red arrow); dotted line = option / step outside the function. Text in the block is not cut off.→ quay về bước ghi trên mũi tên đỏ); nét đứt = phương án / bước ngoài tính năng. Chữ trong block không bị cắt.
StepBướcWhoAiActionLàm gìSystem responseHệ thống phản hồiScreenMàn hình
B1–B4CRMUpdateAudit last updatedS1

6. Step-by-step UI6. Giao diện từng bước

Each step: screenshot first, then a table explaining each orange callout number (HA-02, HA-03). Keep UI copy in English as on DEV. DEV shots are wireframes; missing variants are marked DHC added (v0.2)DHC added (version 0.2) in the Figure column.Mỗi bước: ảnh màn hình trước, bảng ngay dưới giải thích từng số tròn cam (HA-02, HA-03). Chữ trên giao diện để tiếng Anh như DEV hiện tại. Ảnh DEV là wireframe; biến thể chưa có ảnh ghi DHC added (v0.2)DHC bổ sung (bản 0.2) ở cột Hình.

S1 — Ticket Details tab layout
Figure 6.1Hình 6.1 — S1: Ticket Details tab layout
#ElementThành phầnDisplay / behaviorHiển thị / hành viDetail inChi tiết ởStatusTrạng thái
1Merchant blockRead-only—Confirmed (FSD)Đã xác nhận (FSD)
2Update TicketStatus+AssigneeL51 Assign Ticket (CRM)Confirmed (UC-04/05)Đã xác nhận (UC-04/05)
DHC added (v0.2)DHC bổ sung (bản 0.2)

7. Use cases7. Trường hợp sử dụng (Use Case)

ItemMụcContentNội dungStatusTrạng thái
Name codeMã / tênDetail + UC-04/05 entryConfirmed (FSD)Đã xác nhận (FSD)
ActorsTác nhânCRM rolesConfirmed (FSD §2)Đã xác nhận (FSD §2)
Target sectionMục tiêuView and update ticketXem và cập nhật ticketConfirmed (FSD)Đã xác nhận (FSD)
terms as usualĐiều kiện trướcTicket visible by RBACConfirmed (service)Đã xác nhận (service)
Results upon successKết quả khi thành côngDetail + patch OKConfirmed (FSD)Đã xác nhận (FSD)
Consequences of failureKết quả khi thất bạiError / unsaved warnDHC proposalDHC đề xuất
Main StreamLuồng chínhB1–B4—
Alternative flowLuồng thay thếA1 Comments tabConfirmed (§3.1.3)Đã xác nhận (§3.1.3)
ExceptionNgoại lệ
  • X1 leave dirty
DHC added (v0.2)DHC bổ sung (bản 0.2)
Related UCUC liên quanUC-TKT-04,05Confirmed (08_UC)Đã xác nhận (08_UC)

8. Business rules detail8. Quy tắc nghiệp vụ

Each rule uses keywords from §1.6 and a verification method: Test = test against AC in §11.1; Inspection = verify directly on the UI.Mỗi quy tắc dùng từ khoá theo Mục 1.6 và có cách kiểm chứng: Test = kiểm thử theo AC ở Mục 11.1; Inspection = kiểm tra trực tiếp trên giao diện.

IDMãRuleQuy tắcSeen atThấy ởErrorLỗiVerificationKiểm chứngStatusTrạng thái
RL-CRM-TKT-DTL-01 (new id)(mã mới)Update Ticket saving Status+AssigneeUpdate Ticket lưu Status+AssigneeS1—AC-01Confirmed (FSD)Đã xác nhận (FSD)

9. Error messages9. Thông báo lỗi

CodeMãConditionĐiều kiệnUser message (EN)Thông báoPlacementVị tríScreenMàn hìnhStatusTrạng thái
E-CRM-TKT-04 (new id)(mã mới)Patch failUnable to updateBannerS1DHC proposalDHC đề xuất

10. Status — detail10. Trạng thái detail

FromTừToSangWhen / whoKhi nào / aiScreenMàn hìnhStatusTrạng thái
**Via Status/Assign SPECsS1Confirmed (FSD)Đã xác nhận (FSD)

11. Acceptance criteria & traceability11. Tiêu chí nghiệm thu & truy vết

11.1 AC

IDMãGivenGiả sửWhenKhiThenThìFigureHìnhTCTCStatusTrạng thái
AC-01Change status+assigneeĐổi status+assigneeUpdatePersisted + last updatedS1TC-CRM-TKT-030 (new id)(mã mới)Confirmed (FSD)Đã xác nhận (FSD)
AC-02Dirty leaveNavigate awayWarn (proposal)Warn (đề xuất)S1TC-CRM-TKT-031 (new id)(mã mới)DHC added (v0.2)DHC bổ sung (bản 0.2)
AC-03Comments tabClickPublic/Internal UIS1TC-CRM-TKT-032 (new id)(mã mới)Confirmed (§3.1.3)Đã xác nhận (§3.1.3)
BRBRStepBướcScreenMàn hìnhRulesQuy tắcCriteriaTiêu chíTCTC
§3.1.2B1–B4S1RL-CRM-TKT-DTL-*AC-01…03TC-CRM-TKT-030…032

12. Questions for FlyPay12. Câu hỏi cần FlyPay quyết định

Each question includes a DHC recommendation (ND-07). FlyPay only needs to accept the recommendation or choose another option.Mỗi câu kèm khuyến nghị DHC (ND-07). FlyPay chỉ cần chọn: đồng ý khuyến nghị, hoặc chọn phương án khác.

IDMãQuestionCâu hỏiSectionMụcDHC proposalĐề xuất DHC
Q1Is the unsaved warning mandatory?Unsaved warning bắt buộc?S1FSD recommended — close FlyPay.FSD recommended — chốt FlyPay.

13. SoW baseline & FSD handoff13. Baseline SoW & phần chuyển sang FSD

13.1 Items for SoW baseline13.1 Phần đưa vào baseline SoW

The feature enters baseline when Q1 are decided and FlyPay signs §14.Tính năng vào baseline khi Q1 đã có quyết định và FlyPay ký Mục 14.

SoW itemMục SoWContentNội dungStatusTrạng thái
AreaPhạm viTicket details (CRM)Chi tiết ticket (CRM)Confirmed (FSD CRM Ticket)Đã xác nhận (FSD CRM Ticket)
HandoverBàn giao
  • UI CRM
  • AC
DHC proposalDHC đề xuất
AcceptanceNghiệm thuAC stagingDHC proposalDHC đề xuất
HypotheticalGiả địnhticket-service admin_crm actorConfirmed (API)Đã xác nhận (API)
DependentPhụ thuộcDHC proposalDHC đề xuất
CR sau baselineEmail CRreferencetham khảo

13.2 Items moved to FSD (Round B)13.2 Phần chuyển sang FSD (vòng B)

Round A MUST NOT contain APIs, data tables, or system error codes (ND-02). The following belong in Round B FSD:Vòng A KHÔNG ĐƯỢC chứa API, bảng dữ liệu, mã lỗi hệ thống (ND-02). Các nội dung sau thuộc FSD vòng B:

  • Align FE vs FSD attach limits
  • support-users stub

14. Feedback & approval14. Phản hồi & phê duyệt

14.1 How to respond14.1 Cách phản hồi

  • FlyPay records each Q1 decision in the 'FlyPay decision' column of §12.FlyPay ghi quyết định từng câu Q1 vào cột 'FlyPay quyết định' ở Mục 12.
  • Other feedback: Word comments anchored to the exact paragraph / figure.Góp ý khác: ghi comment trong file Word, mỗi comment gắn đúng đoạn / ảnh.
  • Reply on the same email thread used to send the document.Gửi lại theo thread email đã gửi tài liệu.
  • DHC updates the next revision, updates Version history, and marks changed items.DHC cập nhật bản kế tiếp, ghi Lịch sử phiên bản và đánh dấu mục đã sửa.

14.2 Approval14.2 Phê duyệt

RoleVai tròNameHọ tênDateNgàyDecisionKết luận
DHC — BA authorDHC — BA soạn  —
FlyPay — BusinessFlyPay — Nghiệp vụ  Approve / Approve with conditions / RejectDuyệt / Duyệt có điều kiện / Không duyệt
FlyPay — PM  Approve / Approve with conditions / RejectDuyệt / Duyệt có điều kiện / Không duyệt
FSDCRM FSD Ticket v1.1 · §3.1.2
UCUC-TKT-04/05 (entry) — UC-TKT catalog
TCTC-CRM-TKT-030…032 — CRM Ticket Test Cases
MP SPECMerchant Portal Ticket Index
Related SPECSPEC liên quanL46 Ticket Index (CRM) · L48 List Tickets (CRM) · L51 Assign Ticket (CRM) · L53 Ticket Status (CRM) · L54 Public Comment (CRM)
InstructionsHướng dẫnCPG-GUIDE-SPEC-A · CPG-SPEC-ACC-HW-CREATE · CPG-REVIEW-SPEC-ACC

Missing code log / out of scopeNhật ký mã thiếu / ngoài scope

The codes areCác mã được yellow highlighthighlight vàng because there is no (or external) target document. Changelog version 0.3.vì chưa có (hoặc ngoài) tài liệu đích. Changelog bản 0.3.

CodeMãCategoryLoạiMarkGhi chú
UC-TKT-01uc_anchor_missingAdd anchor / stub on RTM or TC; highlight in yellow until FlyPay issues the official code.Bổ sung anchor / stub trên RTM hoặc TC; highlight vàng đến khi FlyPay cấp mã chính thức.
UC-TKT-04uc_anchor_missingAdd anchor / stub on RTM or TC; highlight in yellow until FlyPay issues the official code.Bổ sung anchor / stub trên RTM hoặc TC; highlight vàng đến khi FlyPay cấp mã chính thức.