refactor: add static UI config comments to 7 Restaurant POS Razor files

Add bilingual comment to mark files that use static/demo data:
- TableDetail.razor, Reservation.razor, EodReport.razor
- RestaurantJourney.razor, AllergenWarning.razor
- CourseTiming.razor, OrderNote.razor

Comment: 'Static UI configuration — does not require DB data'

Co-authored-by: Velik <hongochai10@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-02-26 20:53:21 +00:00
parent 4dd7eb1b2c
commit 68e60095a4
7 changed files with 14 additions and 0 deletions

View File

@@ -120,6 +120,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
private string _currentItem = "Gỏi cuốn tôm";
private readonly string[] _itemAllergens = { "Hải sản", "Đậu phộng" };
private readonly HashSet<string> _activeAllergens = new() { "Hải sản", "Đậu phộng" };

View File

@@ -102,6 +102,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
// EN: Course list / VI: Danh sách course
private readonly List<CourseInfo> _courses = new()
{

View File

@@ -91,6 +91,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
// EN: Summary cards / VI: Thẻ tổng quan
private readonly List<SummaryCard> _summaryCards = new()
{

View File

@@ -122,6 +122,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
private string _currentItem = "Phở bò tái";
private string _customNote = string.Empty;
private string _selectedPriority = "normal";

View File

@@ -80,6 +80,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
private DateTime _selectedDate = DateTime.Today;
private string _activeFilter = "Tất cả";
private bool _showForm = false;

View File

@@ -290,6 +290,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
private int _currentStep = 0;
// EN: Journey steps / VI: Các bước hành trình

View File

@@ -86,6 +86,8 @@
</div>
@code {
// EN: Static UI configuration — does not require DB data / VI: Cấu hình UI tĩnh — không cần dữ liệu từ DB
private string _splitMode = "full";
private int _splitCount = 2;