Display and accept SuperAdmin money amounts in tomans.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -396,8 +396,8 @@ onMounted(loadDetail)
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-form-item v-if="!form.isFree" label="قیمت دوره (ریال)">
|
||||
<MoneyInput v-model:value="form.priceRials" placeholder="مثلاً 1,500,000" />
|
||||
<a-form-item v-if="!form.isFree" label="قیمت دوره (تومان)">
|
||||
<MoneyInput v-model:value="form.priceRials" placeholder="مثلاً 150,000" />
|
||||
</a-form-item>
|
||||
<p v-else class="field-hint">
|
||||
دوره رایگان فعال است — مبلغ صفر میشود. مدت ۱ / ۳ / ۶ / ۱۲ ماه میتواند رایگان باشد.
|
||||
@@ -448,8 +448,8 @@ onMounted(loadDetail)
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-form-item v-if="!renewForm.isFree" label="مبلغ (ریال)">
|
||||
<MoneyInput v-model:value="renewForm.priceRials" placeholder="مثلاً 1,500,000" />
|
||||
<a-form-item v-if="!renewForm.isFree" label="مبلغ (تومان)">
|
||||
<MoneyInput v-model:value="renewForm.priceRials" placeholder="مثلاً 150,000" />
|
||||
</a-form-item>
|
||||
<p v-else class="field-hint">
|
||||
دوره رایگان — مبلغ صفر. مدت ۱ / ۳ / ۶ / ۱۲ ماه میتواند رایگان باشد.
|
||||
@@ -523,8 +523,8 @@ onMounted(loadDetail)
|
||||
<a-form-item label="دوره رایگان">
|
||||
<a-switch v-model:checked="createForm.isFree" />
|
||||
</a-form-item>
|
||||
<a-form-item v-if="!createForm.isFree" label="قیمت دوره (ریال)">
|
||||
<MoneyInput v-model:value="createForm.priceRials" placeholder="مثلاً 1,500,000" />
|
||||
<a-form-item v-if="!createForm.isFree" label="قیمت دوره (تومان)">
|
||||
<MoneyInput v-model:value="createForm.priceRials" placeholder="مثلاً 150,000" />
|
||||
</a-form-item>
|
||||
<p v-else class="field-hint">
|
||||
دوره رایگان — مبلغ صفر. مدت ۱ / ۳ / ۶ / ۱۲ ماه میتواند رایگان باشد.
|
||||
|
||||
Reference in New Issue
Block a user