rebrand: rename GoodGo → aPOS across all UI and display text

Replaced all user-facing "GoodGo" brand references with "aPOS"
across 35 files (53 occurrences):
- Layout headers: "aPOS Admin", "aPOS POS"
- Page titles: "— aPOS Admin", "— aPOS POS"
- Locale files: brand name keys
- Onboarding: welcome text, descriptions
- AI Chat: system prompt, provider headers
- Auth pages: login titles

Note: Internal namespace GoodGo.BlazorUi.Components.* preserved
(assembly reference, not user-facing brand text).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ho Ngoc Hai
2026-03-28 21:25:19 +07:00
parent dae8aef31f
commit 04738248f2
35 changed files with 53 additions and 53 deletions

View File

@@ -25,7 +25,7 @@
<div class="admin-sidebar__logo">
<div class="admin-sidebar__logo-icon">G</div>
<div class="admin-sidebar__logo-text">
<span class="admin-sidebar__logo-name">GoodGo Admin</span>
<span class="admin-sidebar__logo-name">aPOS Admin</span>
<span class="admin-sidebar__logo-sub">Management Console</span>
</div>
</div>
@@ -143,7 +143,7 @@
<button class="admin-mobile-toggle" @onclick="ToggleSidebar">
<i data-lucide="menu"></i>
</button>
<span class="admin-mobile-bar__title">GoodGo Admin</span>
<span class="admin-mobile-bar__title">aPOS Admin</span>
</div>
<ErrorBoundary @ref="_errorBoundary">
<ChildContent>

View File

@@ -28,7 +28,7 @@
aria-controls="pos-sidebar">
<i data-lucide="@(_sidebarOpen ? "x" : "menu")" style="width:20px;height:20px;" aria-hidden="true"></i>
</button>
<span class="pos-status-bar__logo">GoodGo POS</span>
<span class="pos-status-bar__logo">aPOS POS</span>
<span class="pos-status-bar__store">@StoreName</span>
</div>
<div class="pos-status-bar__right">
@@ -144,7 +144,7 @@
</div>
@code {
private string StoreName { get; set; } = "GoodGo POS";
private string StoreName { get; set; } = "aPOS POS";
private string _currentTime = DateTime.Now.ToString("HH:mm");
private Timer? _timer;
private string _shopIdStr = "";

View File

@@ -24,7 +24,7 @@
<div class="staff-sidebar__logo">
<div class="staff-sidebar__logo-icon">G</div>
<div class="staff-sidebar__logo-text">
<span class="staff-sidebar__logo-name">GoodGo Staff</span>
<span class="staff-sidebar__logo-name">aPOS Staff</span>
<span class="staff-sidebar__logo-sub">@_shopName</span>
</div>
</div>
@@ -131,7 +131,7 @@
<button class="staff-mobile-toggle" @onclick="ToggleSidebar">
<i data-lucide="menu"></i>
</button>
<span class="staff-mobile-bar__title">GoodGo Staff</span>
<span class="staff-mobile-bar__title">aPOS Staff</span>
</div>
<ErrorBoundary @ref="_errorBoundary">
<ChildContent>

View File

@@ -11,7 +11,7 @@
VI: Trang cài đặt admin — tài khoản, bảo mật, gói dịch vụ, thông báo, tổng quan hệ thống.
*@
<PageTitle>Cài đặt — GoodGo Admin</PageTitle>
<PageTitle>Cài đặt — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">
@@ -482,7 +482,7 @@
<div class="admin-panel__body" style="display:grid;grid-template-columns:1fr 1fr;gap:16px;">
<div class="admin-form-group">
<label class="admin-form-label">Phiên bản</label>
<input class="admin-form-input" value="GoodGo Admin v1.0.0" readonly />
<input class="admin-form-input" value="aPOS Admin v1.0.0" readonly />
</div>
<div class="admin-form-group">
<label class="admin-form-label">Môi trường</label>

View File

@@ -10,7 +10,7 @@
VI: Dashboard Admin — tổng quan với dữ liệu thực từ danh sách shops.
*@
<PageTitle>Dashboard — GoodGo Admin</PageTitle>
<PageTitle>Dashboard — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-business.pen
*@
<PageTitle>Thiết lập doanh nghiệp — GoodGo Admin</PageTitle>
<PageTitle>Thiết lập doanh nghiệp — aPOS Admin</PageTitle>
<div class="admin-content" style="padding:40px;">
<div class="admin-panel" style="max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:32px;">
@@ -36,7 +36,7 @@
</span>
}
</div>
<p style="font-size:12px;color:var(--admin-text-tertiary);margin:0;">Bước 1/6 — Nhập thông tin sơ bộ để GoodGo hiểu doanh nghiệp của bạn</p>
<p style="font-size:12px;color:var(--admin-text-tertiary);margin:0;">Bước 1/6 — Nhập thông tin sơ bộ để aPOS hiểu doanh nghiệp của bạn</p>
</section>
<section class="admin-panel" style="padding:32px;display:flex;flex-direction:column;gap:24px;">
@@ -121,7 +121,7 @@
@code {
private int currentStep = 1;
private string _businessName = "GoodGo Bistro";
private string _businessName = "aPOS Bistro";
private string _taxId = "0312345678";
private string _address = "123 Nguyễn Huệ, Quận 1, TP.HCM";
private string _phone = "028 7300 1234";

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-device.pen
*@
<PageTitle>Kết nối thiết bị — GoodGo Admin</PageTitle>
<PageTitle>Kết nối thiết bị — aPOS Admin</PageTitle>
<div class="admin-content" style="padding:40px;">
<div class="admin-panel" style="max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:32px;">
@@ -52,7 +52,7 @@
<span>Thiết bị POS</span>
</div>
<span style="font-size:14px;font-weight:600;">@_terminalLabel</span>
<p style="margin:0;font-size:13px;color:var(--admin-text-tertiary);">Ghép nối qua mã QR hoặc Bluetooth trong ứng dụng GoodGo POS.</p>
<p style="margin:0;font-size:13px;color:var(--admin-text-tertiary);">Ghép nối qua mã QR hoặc Bluetooth trong ứng dụng aPOS POS.</p>
<button class="admin-btn-secondary" @onclick="PairTerminal">Ghép nối</button>
</div>
<div style="border-radius:14px;border:1px solid var(--admin-border-subtle);padding:20px;display:flex;flex-direction:column;gap:12px;">

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-products.pen
*@
<PageTitle>Thêm sản phẩm — GoodGo Admin</PageTitle>
<PageTitle>Thêm sản phẩm — aPOS Admin</PageTitle>
<div class="admin-content" style="padding:40px;">
<div class="admin-panel" style="max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:32px;">
@@ -51,7 +51,7 @@
<i data-lucide="file-spreadsheet" style="width:20px;height:20px;"></i>
<span>Import từ CSV</span>
</div>
<p style="margin:0;font-size:13px;color:var(--admin-text-tertiary);">Tải file định dạng chuẩn GoodGo để tiết kiệm thời gian.</p>
<p style="margin:0;font-size:13px;color:var(--admin-text-tertiary);">Tải file định dạng chuẩn aPOS để tiết kiệm thời gian.</p>
<button class="admin-btn-secondary" style="width:100%;" @onclick="ImportFromCsv">Tải file CSV</button>
<span style="font-size:12px;color:var(--admin-text-secondary);">@_importStatus</span>
</div>

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-ready.pen
*@
<PageTitle>Hoàn tất thiết lập — GoodGo Admin</PageTitle>
<PageTitle>Hoàn tất thiết lập — aPOS Admin</PageTitle>
<style>
.confetti-wrapper {
@@ -71,7 +71,7 @@
</div>
<div style="text-align:center;display:flex;flex-direction:column;gap:8px;">
<h2 style="margin:0;font-size:26px;font-weight:700;">Thiết lập hoàn tất!</h2>
<p style="margin:0;font-size:14px;color:var(--admin-text-tertiary);max-width:420px;">Tất cả cấu phần chính đã sẵn sàng. Hãy bắt đầu bán hàng và mang trải nghiệm GoodGo đến khách hàng.</p>
<p style="margin:0;font-size:14px;color:var(--admin-text-tertiary);max-width:420px;">Tất cả cấu phần chính đã sẵn sàng. Hãy bắt đầu bán hàng và mang trải nghiệm aPOS đến khách hàng.</p>
</div>
<div style="width:100%;display:flex;flex-direction:column;gap:12px;">

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-staff.pen
*@
<PageTitle>Thêm nhân viên — GoodGo Admin</PageTitle>
<PageTitle>Thêm nhân viên — aPOS Admin</PageTitle>
<div class="admin-content" style="padding:40px;">
<div class="admin-panel" style="max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:32px;">

View File

@@ -8,7 +8,7 @@
Design: pencil-design/src/pages/tPOS/admin/onboarding-store.pen
*@
<PageTitle>Tạo cửa hàng — GoodGo Admin</PageTitle>
<PageTitle>Tạo cửa hàng — aPOS Admin</PageTitle>
<div class="admin-content" style="padding:40px;">
<div class="admin-panel" style="max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:32px;">
@@ -94,8 +94,8 @@
@code {
private int currentStep = 2;
private string _parentBusinessName = "GoodGo Bistro";
private string _storeName = "GoodGo Coffee Q1";
private string _parentBusinessName = "aPOS Bistro";
private string _storeName = "aPOS Coffee Q1";
private string _storeAddress = "123 Nguyễn Huệ, Quận 1, TP.HCM";
private string _storePhone = "0901 234 567";
private string _storeHours = "08:00 - 22:00";

View File

@@ -12,7 +12,7 @@
VI: Trang bao cao cuoi ngay — tom tat dong ngay voi doanh thu, don hang, phan tich thanh toan, va san pham ban chay.
*@
<PageTitle>Bao cao cuoi ngay — GoodGo POS</PageTitle>
<PageTitle>Bao cao cuoi ngay — aPOS POS</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -10,7 +10,7 @@
VI: Trang phan tich doanh thu — xu huong, phuong thuc thanh toan, san pham ban chay, phan tich nganh.
*@
<PageTitle>Phan tich doanh thu — GoodGo POS</PageTitle>
<PageTitle>Phan tich doanh thu — aPOS POS</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -12,7 +12,7 @@
VI: Trang hieu suat nhan vien — don xu ly, doanh thu, ty le hoan thanh theo nhan vien.
*@
<PageTitle>Hieu suat nhan vien — GoodGo POS</PageTitle>
<PageTitle>Hieu suat nhan vien — aPOS POS</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -11,7 +11,7 @@
Kích hoạt AdminLayout._isShopContext → sidebar theo ngành hàng.
*@
<PageTitle>@(_shop?.Name ?? "Cửa hàng") — GoodGo Admin</PageTitle>
<PageTitle>@(_shop?.Name ?? "Cửa hàng") — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -10,7 +10,7 @@
VI: Trang theo cửa hàng — shell mỏng route tới component con theo section.
*@
<PageTitle>@_sectionTitle — @(_shopName ?? "Cửa hàng") — GoodGo Admin</PageTitle>
<PageTitle>@_sectionTitle — @(_shopName ?? "Cửa hàng") — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -12,7 +12,7 @@
VI: Trang lich hen — hien thi lich hen spa/beauty theo ngay, nhom theo nhan vien tri lieu.
*@
<PageTitle>Lich hen — GoodGo POS</PageTitle>
<PageTitle>Lich hen — aPOS POS</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -12,7 +12,7 @@
VI: Trang quan ly nhan vien tri lieu — CRUD cho nhan vien spa/beauty voi chuyen mon va trang thai.
*@
<PageTitle>Quan ly nhan vien — GoodGo POS</PageTitle>
<PageTitle>Quan ly nhan vien — aPOS POS</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -12,7 +12,7 @@
VI: Phân quyền — dữ liệu roles thật từ IAM Service API với CRUD đầy đủ.
*@
<PageTitle>Phân quyền — GoodGo Admin</PageTitle>
<PageTitle>Phân quyền — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -12,7 +12,7 @@
VI: Quản lý người dùng — danh sách, xem chi tiết, gán/xóa vai trò.
*@
<PageTitle>Người dùng — GoodGo Admin</PageTitle>
<PageTitle>Người dùng — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -9,7 +9,7 @@
VI: Tạo cửa hàng mới — form dạng wizard kết nối API Merchant Service.
*@
<PageTitle>Tạo cửa hàng — GoodGo Admin</PageTitle>
<PageTitle>Tạo cửa hàng — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -9,7 +9,7 @@
VI: Danh sách cửa hàng — tất cả cửa hàng với tabs, tìm kiếm, lọc (dữ liệu thực từ API).
*@
<PageTitle>Quản lý cửa hàng — GoodGo Admin</PageTitle>
<PageTitle>Quản lý cửa hàng — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -9,7 +9,7 @@
VI: Nhật ký hệ thống — dữ liệu audit log thật từ IAM Service.
*@
<PageTitle>Nhật ký hệ thống — GoodGo Admin</PageTitle>
<PageTitle>Nhật ký hệ thống — aPOS Admin</PageTitle>
@* ═══ TOP BAR ═══ *@
<div class="admin-topbar">

View File

@@ -4,7 +4,7 @@
@inject PosDataService DataService
@using WebClientTpos.Client.Services
<PageTitle>Thiết bị — GoodGo Admin</PageTitle>
<PageTitle>Thiết bị — aPOS Admin</PageTitle>
<div class="admin-topbar">
<div class="admin-topbar__left">

View File

@@ -2,7 +2,7 @@
@layout AdminLayout
@inherits AdminBase
<PageTitle>Tích hợp — GoodGo Admin</PageTitle>
<PageTitle>Tích hợp — aPOS Admin</PageTitle>
<div class="admin-topbar">
<div class="admin-topbar__left">

View File

@@ -13,7 +13,7 @@
<div class="auth-page--split">
<BrandPanel PanelClass="auth-brand-panel--dark"
LogoText="G"
Title="GoodGo"
Title="aPOS"
Description="@L["Auth_Customer_BrandDesc"]"
ShowStats="false"
Features="@_features" />

View File

@@ -4,7 +4,7 @@
@inject NavigationManager Navigation
@inject IJSRuntime JS
<PageTitle>Chọn loại tài khoản — GoodGo POS</PageTitle>
<PageTitle>Chọn loại tài khoản — aPOS POS</PageTitle>
<div style="min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 24px 60px;">

View File

@@ -1035,7 +1035,7 @@
"th { text-align: left; font-size: 11px; border-bottom: 1px solid #000; padding: 2px 0; }" +
".f { font-size: 10px; text-align: center; margin-top: 8px; color: #555; }" +
"</style></head><body>" +
"<div class='c b' style='font-size:16px;'>GoodGo POS</div>" +
"<div class='c b' style='font-size:16px;'>aPOS POS</div>" +
"<div class='c' style='font-size:10px;margin-bottom:4px;'>Hệ thống quản lý bán hàng thông minh</div>" +
"<div class='d'></div>" +
$"<div><b>Mã đơn:</b> {_lastTransactionId}</div>" +
@@ -1048,7 +1048,7 @@
$"<div style='display:flex;justify-content:space-between;font-size:14px;font-weight:bold;'><span>TỔNG CỘNG</span><span>{_lastOrderTotal:N0}₫</span></div>" +
"<div class='d'></div>" +
"<div class='f'>Cảm ơn quý khách! Hẹn gặp lại</div>" +
"<div class='f'>Powered by GoodGo Platform</div>" +
"<div class='f'>Powered by aPOS Platform</div>" +
"<script>window.onload=function(){window.print();window.onafterprint=function(){window.close();}}</script>" +
"</body></html>";
@@ -1188,7 +1188,7 @@
"th { text-align: left; font-size: 11px; border-bottom: 1px solid #000; padding: 2px 0; }" +
".f { font-size: 10px; text-align: center; margin-top: 8px; color: #555; }" +
"</style></head><body>" +
"<div class='c b' style='font-size:16px;'>GoodGo POS</div>" +
"<div class='c b' style='font-size:16px;'>aPOS POS</div>" +
"<div class='c' style='font-size:10px;margin-bottom:4px;'>Hệ thống quản lý bán hàng thông minh</div>" +
"<div class='d'></div>" +
$"<div><b>Mã đơn:</b> {od.Id.ToString()[..8].ToUpper()}</div>" +
@@ -1201,7 +1201,7 @@
$"<div style='display:flex;justify-content:space-between;font-size:14px;font-weight:bold;'><span>TỔNG CỘNG</span><span>{od.TotalAmount:N0}₫</span></div>" +
"<div class='d'></div>" +
"<div class='f'>Cảm ơn quý khách! Hẹn gặp lại</div>" +
"<div class='f'>Powered by GoodGo Platform</div>" +
"<div class='f'>Powered by aPOS Platform</div>" +
"<script>window.onload=function(){window.print();window.onafterprint=function(){window.close();}}</script>" +
"</body></html>";
@@ -1222,7 +1222,7 @@
".d { border-top: 1px dashed #000; margin: 6px 0; }" +
".f { font-size: 10px; text-align: center; margin-top: 8px; color: #555; }" +
"</style></head><body>" +
"<div class='c b' style='font-size:16px;'>GoodGo POS</div>" +
"<div class='c b' style='font-size:16px;'>aPOS POS</div>" +
"<div class='c' style='font-size:10px;margin-bottom:4px;'>Hệ thống quản lý bán hàng thông minh</div>" +
"<div class='d'></div>" +
$"<div><b>Mã đơn:</b> {System.Net.WebUtility.HtmlEncode(so.Id)}</div>" +
@@ -1234,7 +1234,7 @@
$"<div style='display:flex;justify-content:space-between;font-size:14px;font-weight:bold;'><span>TỔNG CỘNG</span><span>{so.Total:N0}₫</span></div>" +
"<div class='d'></div>" +
"<div class='f'>Cảm ơn quý khách! Hẹn gặp lại</div>" +
"<div class='f'>Powered by GoodGo Platform</div>" +
"<div class='f'>Powered by aPOS Platform</div>" +
"<script>window.onload=function(){window.print();window.onafterprint=function(){window.close();}}</script>" +
"</body></html>";

View File

@@ -595,7 +595,7 @@
"th { text-align: left; font-size: 11px; border-bottom: 1px solid #000; padding: 2px 0; }" +
".f { font-size: 10px; text-align: center; margin-top: 8px; color: #555; }" +
"</style></head><body>" +
"<div class='c b' style='font-size:16px;'>GoodGo POS</div>" +
"<div class='c b' style='font-size:16px;'>aPOS POS</div>" +
"<div class='c' style='font-size:10px;margin-bottom:4px;'>Hệ thống quản lý bán hàng thông minh</div>" +
"<div class='d'></div>" +
$"<div><b>Mã đơn:</b> {_lastTransactionId}</div>" +
@@ -608,7 +608,7 @@
$"<div style='display:flex;justify-content:space-between;font-size:14px;font-weight:bold;'><span>TỔNG CỘNG</span><span>{_lastOrderTotal:N0}₫</span></div>" +
"<div class='d'></div>" +
"<div class='f'>Cảm ơn quý khách! Hẹn gặp lại</div>" +
"<div class='f'>Powered by GoodGo Platform</div>" +
"<div class='f'>Powered by aPOS Platform</div>" +
"<script>window.onload=function(){window.print();window.onafterprint=function(){window.close();}}</script>" +
"</body></html>";

View File

@@ -571,7 +571,7 @@
"th { text-align: left; font-size: 11px; border-bottom: 1px solid #000; padding: 2px 0; }" +
".f { font-size: 10px; text-align: center; margin-top: 8px; color: #555; }" +
"</style></head><body>" +
"<div class='c b' style='font-size:16px;'>GoodGo POS</div>" +
"<div class='c b' style='font-size:16px;'>aPOS POS</div>" +
"<div class='c' style='font-size:10px;margin-bottom:4px;'>Hệ thống quản lý bán hàng thông minh</div>" +
"<div class='d'></div>" +
$"<div><b>Mã đơn:</b> {_lastTransactionId}</div>" +
@@ -584,7 +584,7 @@
$"<div style='display:flex;justify-content:space-between;font-size:14px;font-weight:bold;'><span>TỔNG CỘNG</span><span>{_lastOrderTotal:N0}₫</span></div>" +
"<div class='d'></div>" +
"<div class='f'>Cảm ơn quý khách! Hẹn gặp lại</div>" +
"<div class='f'>Powered by GoodGo Platform</div>" +
"<div class='f'>Powered by aPOS Platform</div>" +
"<script>window.onload=function(){window.print();window.onafterprint=function(){window.close();}}</script>" +
"</body></html>";

View File

@@ -14,7 +14,7 @@
@* EN: Branding / VI: Thuong hieu *@
<div style="text-align:center;">
<div style="font-size:32px;font-weight:700;color:var(--pos-orange-primary);margin-bottom:8px;">
<i data-lucide="coffee" style="width:36px;height:36px;display:inline;"></i> GoodGo Coffee
<i data-lucide="coffee" style="width:36px;height:36px;display:inline;"></i> aPOS Coffee
</div>
<div style="font-size:16px;color:var(--pos-text-secondary);">
Chao mung quy khach — Welcome

View File

@@ -214,7 +214,7 @@
"Auth_RegCustomer_PageTitle": "Create Account",
"Auth_RegCustomer_Title": "Create Account",
"Auth_RegCustomer_Subtitle": "Fill in your info to start earning points and rewards",
"Auth_RegCustomer_BrandTitle": "Join GoodGo",
"Auth_RegCustomer_BrandTitle": "Join aPOS",
"Auth_RegCustomer_BrandDesc": "Create an account to earn points, get exclusive offers and track orders easily.",
"Auth_RegCustomer_NameLabel": "Full name",
"Auth_RegCustomer_NamePlaceholder": "John Doe",

View File

@@ -214,7 +214,7 @@
"Auth_RegCustomer_PageTitle": "Đăng ký tài khoản",
"Auth_RegCustomer_Title": "Tạo tài khoản",
"Auth_RegCustomer_Subtitle": "Điền thông tin để bắt đầu tích điểm và nhận ưu đãi",
"Auth_RegCustomer_BrandTitle": "Tham gia GoodGo",
"Auth_RegCustomer_BrandTitle": "Tham gia aPOS",
"Auth_RegCustomer_BrandDesc": "Tạo tài khoản để tích điểm, nhận ưu đãi độc quyền và theo dõi đơn hàng dễ dàng.",
"Auth_RegCustomer_NameLabel": "Họ và tên",
"Auth_RegCustomer_NamePlaceholder": "Nguyễn Văn A",

View File

@@ -58,7 +58,7 @@ public class OpenAiChatProvider : IAiChatProvider
if (request.BaseUrl.Contains("openrouter", StringComparison.OrdinalIgnoreCase))
{
httpRequest.Headers.TryAddWithoutValidation("HTTP-Referer", "https://goodgo.vn");
httpRequest.Headers.TryAddWithoutValidation("X-Title", "GoodGo POS");
httpRequest.Headers.TryAddWithoutValidation("X-Title", "aPOS POS");
}
_logger.LogDebug("EN: Sending OpenAI chat request to {Url} with model {Model}.",

View File

@@ -276,7 +276,7 @@ public class AiChatController : ControllerBase
/// </summary>
private static string BuildSystemPrompt(string? customPrompt, string shopId)
{
var basePrompt = customPrompt ?? "You are a helpful AI assistant for a GoodGo POS shop. " +
var basePrompt = customPrompt ?? "You are a helpful AI assistant for a aPOS POS shop. " +
"You can help manage products, inventory, recipes, and view analytics. " +
"Answer in the same language the user writes in (Vietnamese or English).";