feat: update invoice components and add correction payment dialog
Production CI / validate-and-build (push) Failing after 1m1s

- Updated return form instructions for clarity.
- Refined labels in sale invoice info card for consistency.
- Enhanced sale invoice view with a correction payment dialog for increased user interaction.
- Improved invoice print preparation utility for better data handling.
- Adjusted paginator component for first and last page navigation.
- Modified layout styles for better responsiveness and user experience.
- Updated environment configurations for different setups.
This commit is contained in:
2026-06-14 16:33:51 +03:30
parent 72954fb5d1
commit 5ee03cf761
82 changed files with 709 additions and 544 deletions
@@ -1,18 +1,17 @@
<div class="flex flex-col gap-6">
<div class="flex flex-col gap-4">
<app-card-data
[cardTitle]="`اطلاعات مشتری (${customer() ? (customer()?.type === 'LEGAL' ? 'حقوقی' : 'حقیقی') : ''})`"
[editable]="true"
[(editMode)]="editMode"
>
[(editMode)]="editMode">
<div class="flex flex-col gap-4">
@if (customer()?.type === "LEGAL") {
@if (customer()?.type === 'LEGAL') {
<div class="listKeyValue">
<app-key-value label="عنوان" [value]="customer()?.legal?.company_name" />
<app-key-value label="کد اقتصادی" [value]="customer()?.legal?.economic_code" />
<app-key-value label="شماره ثبت" [value]="customer()?.legal?.registration_number" />
<app-key-value label="کد پستی" [value]="customer()?.legal?.postal_code" />
</div>
} @else if (customer()?.type === "INDIVIDUAL") {
} @else if (customer()?.type === 'INDIVIDUAL') {
<div class="listKeyValue">
<app-key-value label="نام" [value]="customer()?.individual?.first_name" />
<app-key-value label="نام خانوادگی" [value]="customer()?.individual?.last_name" />