Fix web build failure from corrupted Tahesab status types.

Restore MandehValueDto status encoding and derive بس/بد labels from amount.
This commit is contained in:
2026-09-27 21:26:56 +03:30
parent 647503810d
commit 7e73ba9936
2 changed files with 246 additions and 245 deletions
@@ -555,7 +555,7 @@ onMounted(async () => {
{{ formatMandehAmount(v.amount, v.unit) }}
</span>
<span class="unit">{{ v.unit }}</span>
<span class="st">{{ v.status === 'بس' ? 'بد' : 'بس' }}</span>
<span class="st">{{ Number(v.amount) >= 0 ? 'بد' : 'بس' }}</span>
<span v-if="vi < item.values.length - 1" class="sep">|</span>
</template>
</div>