feat: move brand name to one config and redesign the accounting card

اپ: نام برند در همه‌ی صفحه‌ها و پیام‌ها یکسان شده و از یک تنظیم مرکزی خوانده می‌شود.
اپ: کارت حسابداری در صفحه‌ی مشتری بازطراحی شد؛ مانده‌ها و وضعیت لینک واضح‌تر نمایش داده می‌شوند.
پنل: کارت حسابداری در پرونده‌ی مشتری بازطراحی شد؛ مانده‌ها، آخرین ارسال و فرم لینک دستی واضح‌تر شده‌اند.
پنل: ستون «کد» در جدول‌ها به‌طور پیش‌فرض پنهان است و از انتخاب ستون‌ها قابل نمایش است.
پنل: تغییر نمایش ستون‌ها در جدول‌ها بلافاصله اعمال می‌شود.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
s.esmaeili
2026-10-14 13:31:20 +03:30
co-authored by Claude Haiku 5.5
parent 5d2a1efb0c
commit 532ceee189
100 changed files with 1870 additions and 579 deletions
+18
View File
@@ -275,6 +275,17 @@ export interface GoldPriceQuote {
quotedAt: string;
}
/** Body of POST customer/auth/register — the app register form, field for field. */
export interface RegisterBody {
fname: string;
lname: string;
mobile: string;
store_name: string;
phone: string;
address: string;
city: string;
}
/** One admin-uploaded home banner slide — raw shape as saved by the admin
* panel's manage/Const.vue "اسلایدر موبایل" tab (image + optional link). */
export interface AdminSlide {
@@ -460,6 +471,13 @@ export const api = {
*/
getCatalogFacets: () => request<CatalogFacets>('/catalog/products/facets'),
/** App self-registration. The new customer waits for admin approval before signing in. */
register: (body: RegisterBody) =>
request<{ ok: boolean }>('/customer/auth/register', {
method: 'POST',
body: JSON.stringify(body),
}),
/**
* Step 1 of login — ports henza_server ApiMobileController::userAuth.
* Always resolves `{ sent: true }`, even for an unregistered number, so the