feat: enhance input component to support price type and add new payment method components

- Updated InputComponent to handle 'price' type with appropriate formatting and validation.
- Introduced new API routes for purchase receipt payments.
- Created constants for purchase receipts and invoices.
- Developed SupplierInvoicePayFormComponent for processing invoice payments.
- Implemented SupplierLedgerComponent to display supplier transactions.
- Added services and stores for managing supplier invoices and payments.
- Created components for selecting payment methods and displaying payment type tags.
- Enhanced UI with new templates for invoices and payment forms.
- Added utility functions for handling payment method types and statuses.
This commit is contained in:
2025-12-27 20:35:02 +03:30
parent c6efda319c
commit 879e29f54f
70 changed files with 1094 additions and 334 deletions
-2
View File
@@ -8,7 +8,6 @@ import { POSComponent } from '@/modules/pos/views/pos.component';
import { PRODUCT_BRANDS_ROUTES } from '@/modules/productBrands/constants';
import { PRODUCT_CATEGORIES_ROUTES } from '@/modules/productCategories/constants';
import { PRODUCTS_ROUTES } from '@/modules/products/constants';
import { STORES_ROUTES } from '@/modules/stores/constants';
import { SUPPLIERS_ROUTES } from '@/modules/suppliers/constants';
import { USERS_ROUTES } from '@/modules/users/constants';
import { Routes } from '@angular/router';
@@ -24,7 +23,6 @@ export const appRoutes: Routes = [
children: [
{ path: '', component: Dashboard },
...USERS_ROUTES,
...STORES_ROUTES,
...SUPPLIERS_ROUTES,
...PRODUCT_BRANDS_ROUTES,
...PRODUCT_CATEGORIES_ROUTES,