diff --git a/apps/admin-panel/src/components/accounting/AccountingConnection.vue b/apps/admin-panel/src/components/accounting/AccountingConnection.vue index 6b7cc03..57cf181 100644 --- a/apps/admin-panel/src/components/accounting/AccountingConnection.vue +++ b/apps/admin-panel/src/components/accounting/AccountingConnection.vue @@ -44,7 +44,6 @@ {{ c.label }} - آزموده‌نشده {{ c.desc }} @@ -78,7 +77,7 @@ منفی یعنی بدهکار مثبت یعنی بدهکار -
در دوره‌ی آزمایشی با یک حساب نمونه بررسی شود.
+
در زرین منفی یعنی بدهکار (روی نصب واقعی بررسی شد)؛ تغییرش ندهید مگر نصب شما خلاف این باشد.
diff --git a/apps/admin-panel/src/views/manage/accounting.vue b/apps/admin-panel/src/views/manage/accounting.vue index 9aed057..1c6998d 100644 --- a/apps/admin-panel/src/views/manage/accounting.vue +++ b/apps/admin-panel/src/views/manage/accounting.vue @@ -54,8 +54,8 @@ type="info" show-icon class="mb-4" - message="درایور زرین روی نصب واقعی تست نشده است" - description="طبق تصمیم مالک، پیش از استفاده‌ی واقعی یک دوره‌ی آزمایشی با اسناد موقت لازم است (علامت مانده و فیلد هزینه‌ی سنگ را بررسی کنید)." + message="در زرین سند موقت همان لحظه روی مانده‌ی مشتری اثر دارد" + description="برخلاف ته‌حساب. اگر سند در «ثبت سفارش» ثبت شود، مشتری در زرین پیش از تحویل بدهکار می‌شود؛ برای زرین «تحویل مسئول فروش» پیشنهاد می‌شود." /> ) { } function signed(s: ProviderSettings, v: Prisma.Decimal) { - // Until checked on a real installation (plan §9) the sign is a setting. + // v228: negative = owes (the default). Kept a setting in case another install differs. return (s.balanceOwesWhen ?? 'negative') === 'negative' ? v.negated() : v; } @@ -375,7 +376,7 @@ export const zarrinProvider: AccountingProvider = { async getChanges(s, cursor) { // parLastTenRadif without an account is the newest rows of the whole // journal; each row names its account (idHesab) and has an ascending idRadif. - // Not yet seen on a real install (ACC-01). + // Seen working on v228 (plan §13). const rows = listOf(await call(s, 'parLastTenRadif', { limit: CHANGE_WINDOW })); let maxId = 0; for (const r of rows) maxId = Math.max(maxId, Number(r.idRadif) || 0);