diff --git a/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Pos/Shared/Dialogs/OrderCancel.razor b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Pos/Shared/Dialogs/OrderCancel.razor new file mode 100644 index 00000000..baf4486e --- /dev/null +++ b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Pos/Shared/Dialogs/OrderCancel.razor @@ -0,0 +1,136 @@ +@* + EN: Cancel Order Confirmation — Order summary, reason dropdown, notes, refund warning, cancel/keep buttons. + VI: Xác nhận hủy đơn — Tổng quan đơn, lý do hủy, ghi chú, cảnh báo hoàn tiền, nút hủy/giữ đơn. +*@ +@page "/pos/dialog/order-cancel" +@layout PosLayout +@inherits PosBase + +
+ +@code { + // EN: Cancel state / VI: Trạng thái hủy + private string _selectedReason = ""; + private string _note = ""; + private bool _isPaid = true; + + // EN: Cancellation reasons / VI: Lý do hủy + private readonly string[] _reasons = + { + "Khách hủy", "Hết nguyên liệu", "Sai đơn", "Quá lâu", "Khác" + }; + + // EN: Demo order items / VI: Danh sách món mẫu + private readonly List