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:
@@ -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" };
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user