Tahesab: show raw data from Tahesab, invoice-style document view with metal labels

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-08 13:49:54 +03:30
co-authored by Cursor
parent 2f3646d085
commit e6755d0c2e
4 changed files with 608 additions and 100 deletions
+19
View File
@@ -3415,11 +3415,30 @@ export interface MandehDetailItemDto {
values: MandehValueDto[];
}
/** یک فیلد سطح بالای پاسخ GetMandeHesabByCode، دقیقاً همان مقدار ته‌حساب */
export interface TahesabMandehFieldDto {
key: string;
value: string | null;
}
/** یک ردیف details پاسخ مانده، بدون هیچ تبدیل */
export interface TahesabMandehDetailRawDto {
Name: string;
Value: string | null;
Value1: string | null;
Value2: string | null;
Value3: string | null;
Value4: string | null;
}
export interface PersonAssetsDto {
connectionId: string;
connectionLabel: string;
dbName: string;
moshtariCode: number;
/** فیلدهای خام ته‌حساب به همان ترتیب پاسخ */
mandehFields?: TahesabMandehFieldDto[];
mandehDetailRaw?: TahesabMandehDetailRawDto[];
goldBalance: number | null;
rialBalance: number | null;
currencyBalance: number | null;