feat: add invoice builder with line detail, address, and person picker.

Enrich invoice line items and previews, migrate several CRM surfaces to Ant, and wire shared money/picker helpers.
This commit is contained in:
2026-11-30 14:34:47 +03:30
parent f1bcb232ee
commit 33c95d72a8
64 changed files with 5813 additions and 2737 deletions
+7 -5
View File
@@ -25,10 +25,11 @@ import {
DeleteOutlined,
DownloadOutlined,
UploadOutlined,
} from '@ant-design/icons-vue';
} from '@/icons/ant-bridge';
import {
Alert as AAlert,
Button as AButton,
Drawer as ADrawer,
Flex as AFlex,
Form as AForm,
FormItem as AFormItem,
@@ -936,13 +937,14 @@ function onNewDeal() {
</a-form>
</a-modal>
<a-modal
<a-drawer
:open="Boolean(dealModal)"
:title="dealModal?.dealId ? 'ویرایش معامله' : 'ایجاد معامله جدید'"
placement="right"
:width="720"
:footer="null"
destroy-on-close
width="720px"
@cancel="dealModal = null"
@close="dealModal = null"
>
<DealFormView
v-if="dealModal"
@@ -953,7 +955,7 @@ function onNewDeal() {
@saved="onDealSaved"
@cancel="dealModal = null"
/>
</a-modal>
</a-drawer>
</div>
</template>