Fix asnad via root POST like Hamkar; show accounting code label.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 11:27:42 +03:30
co-authored by Cursor
parent 3ab102ddae
commit 8f9a00f319
3 changed files with 42 additions and 20 deletions
+9 -9
View File
@@ -584,9 +584,9 @@ watch(() => route.query.tab, readTab, { immediate: true });
<div class="who">
<h2>
{{ fullName }}
<span v-if="tahesabMoshtariCode != null" class="tahesab-code" dir="ltr">{{
tahesabMoshtariCode
}}</span>
<span v-if="tahesabMoshtariCode != null" class="tahesab-code" dir="rtl"
>کد حسابداری {{ toFaDigits(String(tahesabMoshtariCode)) }}</span
>
<span v-if="vip" class="vip-mark">VIP</span>
</h2>
<p v-if="subtitle" class="sub">{{ subtitle }}</p>
@@ -622,9 +622,9 @@ watch(() => route.query.tab, readTab, { immediate: true });
<div class="who">
<h2>
{{ fullName }}
<span v-if="tahesabMoshtariCode != null" class="tahesab-code" dir="ltr">{{
tahesabMoshtariCode
}}</span>
<span v-if="tahesabMoshtariCode != null" class="tahesab-code" dir="rtl"
>کد حسابداری {{ toFaDigits(String(tahesabMoshtariCode)) }}</span
>
</h2>
<p v-if="subtitle" class="sub">{{ subtitle }}</p>
</div>
@@ -1096,13 +1096,13 @@ watch(() => route.query.tab, readTab, { immediate: true });
}
.tahesab-code {
font-size: 0.85rem;
font-size: 0.78rem;
font-weight: 700;
color: #0f766e;
background: color-mix(in srgb, #0f766e 12%, transparent);
border-radius: 8px;
padding: 0.1rem 0.45rem;
letter-spacing: 0.02em;
padding: 0.12rem 0.5rem;
letter-spacing: 0;
}
.sub {