diff --git a/.env b/.env index df6c638..4d08f18 100644 --- a/.env +++ b/.env @@ -1,4 +1,13 @@ VITE_API_BASE_URL=https://test.webulgam.com/online-backend/api/admin VITE_API_URL=/api VITE_ENABLE_MOCKS=false +server_user = 'ubuntu' +server_ip = '216.250.10.141' +server_password = 'TazePassword' + +# Public path the app is served under (router basename follows it) +VITE_BASE_PATH=/online/ +# Dev server: backend origin for the /api proxy, and allowed hosts (comma-separated) +VITE_PROXY_TARGET=https://test.webulgam.com/online-backend +VITE_ALLOWED_HOSTS=test.webulgam.com \ No newline at end of file diff --git a/env.example b/env.example index df6c638..e16ee83 100644 --- a/env.example +++ b/env.example @@ -2,3 +2,9 @@ VITE_API_BASE_URL=https://test.webulgam.com/online-backend/api/admin VITE_API_URL=/api VITE_ENABLE_MOCKS=false + +# Public path the app is served under (router basename follows it) +VITE_BASE_PATH=/online/ +# Dev server: backend origin for the /api proxy, and allowed hosts (comma-separated) +VITE_PROXY_TARGET=https://test.webulgam.com/online-backend +VITE_ALLOWED_HOSTS=test.webulgam.com diff --git a/index.html b/index.html index d079fa2..02177b5 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ -
{t("dashboard.errorTitle", "Maglumatlary ýükläp bolmady")}
+ {onRetry && ( + + )} ++ {value} +
+ {hint && ( ++ + {hint} +
+ )} + > + )} +r.value === 0) + .map((r) => r.label) + .join(", ")} + > + {t("analytics.emptyRows", "+{{count}} görnüşde sargyt ýok", { count: hidden })} +
+ )} +
+ {color && }
+ {label}
+ {hint &&
{value}
++ {t("analytics.customers.desc", "Saýlanan döwürde karz sargydyny berenleriň profili")} +
+{value}
+{formatNumber(stat?.count ?? 0)}
{hasChange ? (
{positive ?
- {totalActiveText} + {footnote}
)}- {(error as Error)?.message || t("dashboard.errorMessage", "Serwer bilen baglanyşykda säwlik ýüze çykdy.")} -
-{t("dashboard.overviewSubtitle", "Ähli amallaryň gysgaça görünüşi")}
+{t("dashboard.overviewSubtitle", "Ähli amallaryň gysgaça görünüşi")}
+ {overview.error instanceof Error && overview.error.message + ? overview.error.message + : t("dashboard.errorMessage", "Serwer bilen baglanyşykda säwlik ýüze çykdy.")} +
+{item.customerName || t("common.customer", "Müşderi")}
-- {displayId} · {timeText} -
-{formattedAmount}
-