feat: add sale invoice card component with functionality for sending and retrieving invoice status

- Implemented sale invoice card component with HTML and TypeScript files.
- Added API routes for sale invoices including sending, retrying, and checking status.
- Created models for sale invoice fiscal actions and filters.
- Developed service for handling sale invoice operations.
- Introduced store for managing sale invoice state.
- Created views for listing and displaying single sale invoices.
- Added support for managing stock keeping units with forms and services.
- Implemented reusable select components for measure units and SKUs.
- Enhanced shared components for input fields including fiscal ID, SKU type, and VAT.
This commit is contained in:
2026-05-01 19:45:30 +03:30
parent 8104f1b7a7
commit 83f124b910
94 changed files with 1555 additions and 214 deletions
@@ -18,4 +18,5 @@ export const apiEnumTranslates = {
consumerRole: 'نقش',
unitType: 'واحد اندازه‌گیری',
goodPricingModel: 'مدل محاسبه',
fiscalResponseStatus: 'وضعیت ارسال به سامانه',
} as Record<TEnumApi, string>;
@@ -19,4 +19,5 @@ export const ENUMS_API_ROUTES = {
unitType: `${baseUrl}/unit_type`,
goodPricingModel: `${baseUrl}/good_pricing_model`,
consumerRole: `${baseUrl}/consumer_role`,
fiscalResponseStatus: `${baseUrl}/fiscal_response_status`,
};
@@ -6,7 +6,6 @@
optionValue="value"
[formControl]="control"
[showClear]="showClear"
[filter]="true"
[name]="name || type"
appendTo="body"
/>