Add thousand separators to all CRM price and amount inputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 02:13:39 +03:30
co-authored by Cursor
parent 36e47e8af3
commit 20a9ac0d34
9 changed files with 239 additions and 25 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import { canReassignRecords, canViewAllRecords } from '@/lib/roles';
import { formatMoney as formatMoneyLib } from '@/lib/money';
import { formatLocalDateInput } from '@/lib/jalali';
import JalaliDateInput from '@/components/JalaliDateInput.vue';
import MoneyInput from '@/components/MoneyInput.vue';
import type {
CreateSalesGoalRequest,
OrgUserDto,
@@ -209,7 +210,7 @@ onMounted(() => {
</div>
<div class="field">
<label>مبلغ هدف (ریال)</label>
<input v-model="targetAmount" type="number" min="0" step="1" required />
<MoneyInput v-model="targetAmount" :decimals="0" required />
</div>
<div v-if="canManageTeamGoals" class="field">
<label>برای</label>