Commit Graph

504 Commits

Author SHA1 Message Date
ahasani d61a5a6250 create apiEnum components 2026-03-10 20:23:56 +03:30
ahasani b379787002 init 2026-03-10 13:36:45 +03:30
ahasani 45d48f79dc init 2026-03-07 15:14:05 +03:30
ahasani d0979be722 feat: implement held orders management with loading, cancel, and display functionality 2026-01-07 15:25:41 +03:30
ahasani a5bcab0064 feat: enhance bank accounts module with transaction handling and UI updates 2026-01-05 18:38:11 +03:30
ahasani 502c592f56 feat: rename 'fee' to 'unitPrice' across purchase components and models
- Updated form component to use 'unitPrice' instead of 'fee'.
- Adjusted product charge row form fields and templates to reflect the new naming.
- Modified receipt template and related components to utilize 'unitPrice'.
- Changed models and interfaces to replace 'fee' with 'unitPrice'.
- Updated supplier invoice and statistics components to align with the new naming convention.
- Added new API routes for dashboard and statistics modules.
2026-01-04 13:45:45 +03:30
ahasani 83c3d57866 feat: enhance product and purchase components
- Added new components for handling purchase receipts and payment wrappers.
- Updated product details view to include sales count and stock alerts.
- Refactored invoice payment form to use a template for better structure.
- Introduced confirmation dialog service for payment confirmations.
- Improved state card component for better visual representation of orders.
- Added loading indicators and error handling in various components.
- Updated routes to include new purchase functionality for suppliers.
- Enhanced stock alert component to visually indicate low stock levels.
2025-12-30 21:03:39 +03:30
ahasani 85a9c8714d feat: implement invoice payments component and integrate with supplier invoices 2025-12-29 10:14:28 +03:30
ahasani 2583bc7ad5 feat: Refactor select components to use IPaginatedResponse and streamline data fetching
- Updated select components for bank accounts, bank branches, customers, inventories, product brands, product categories, products, and suppliers to extend AbstractSelectComponent with IPaginatedResponse.
- Replaced getData() method with getDataService() to return observables directly from service calls.
- Enhanced filters component to set default inventory and product selections.
- Modified inventory component to conditionally render columns based on variant type.
- Introduced InventoryStore for managing inventory state and fetching single inventory details.
- Added empty state messages in cardex and other components for better user experience.
- Updated inner pages header to use h4 for titles and improved layout in empty state component.
2025-12-28 17:51:54 +03:30
ahasani 879e29f54f 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.
2025-12-27 20:35:02 +03:30
ahasani c6efda319c feat: enhance POS module with dynamic routing, improved state management, and new search functionality 2025-12-26 16:47:47 +03:30
ahasani abfb2f3479 create bankAccount, posAccount and update inventories 2025-12-26 01:20:44 +03:30
ahasani f671e37b14 feat: add bank accounts and branches management
- Implemented bank accounts management with form and list components.
- Added bank branches management with form and list components.
- Created services for bank accounts and branches to handle API interactions.
- Updated routing to include bank accounts and branches.
- Enhanced UI with new select fields for banks and branches.
- Added necessary models and constants for bank accounts and branches.
- Improved state management for banks using a store pattern.
- Updated menu items to include links for bank accounts and branches.
2025-12-24 21:25:13 +03:30
ahasani 1373cc046d feat(cardex): implement cardex module with filters, templates, and service integration 2025-12-23 20:35:20 +03:30
ahasani e937c994d7 feat: Add Cardex module with filters and invoices components
- Implemented Cardex routes and integrated with the main application routing.
- Created filters component for Cardex to filter inventory and product data.
- Developed invoices component to display supplier invoices with detailed views.
- Enhanced Products module with pagination and state management using a store.
- Updated Suppliers module to include invoice management and detailed supplier views.
- Refactored state management in Products and Suppliers to utilize signals for reactive updates.
- Added new models and services to support the Cardex functionality.
- Improved UI components for better user experience in displaying data.
2025-12-21 19:09:13 +03:30
ahasani 108d192f88 feat: Enhance customer and inventory components with new features and improvements 2025-12-15 18:00:45 +03:30
ahasani 17fa65407c feat: Implement price info card component and product categories with grid view
- Added `price-info-card.component` to display total amount, tax, and payable amount.
- Integrated price masking directive for formatted price display.
- Created `categories.component` to list product categories with loading skeletons.
- Implemented `grid-view.component` for displaying products in a grid layout.
- Enhanced `products.component` to manage category selection and product display.
- Introduced new models for product categories and stock responses.
- Updated `main.service.ts` to fetch product categories and stock data.
- Refactored `POSStore` to manage state for products, categories, and order items.
- Added utility functions for price formatting and number normalization.
- Included placeholder images for product and logo.
2025-12-14 20:34:15 +03:30
ahasani 35be7e0298 feat(inventories): implement inventory movement list and transfer functionality
- Added InventoryMovementListComponent to display stock movements with filtering options.
- Created InventoriesTransferFormComponent for transferring stock between inventories.
- Implemented product cardex view to show detailed inventory movements for specific products.
- Enhanced product listing with loading states and improved UI components.
- Introduced Jalali date formatting directive for better date representation.
- Added utility functions for Jalali date conversions and comparisons.
- Created reusable details info card component for displaying inventory details.
- Updated movement reference types and tags for better categorization of inventory movements.
2025-12-14 10:16:14 +03:30
ahasani b46b8b83f9 feat(purchases): update terminology from "محصول" to "کالا" in purchase forms and templates
refactor(purchases): remove unused purchase receipt components and consolidate receipt template logic

fix(suppliers): enhance suppliers select component to support full data option values

style(tailwind): improve theme variables for better customization and consistency

feat(shared): introduce abstract select component for reusable select field logic

chore(purchases): clean up imports and improve component structure for better maintainability
2025-12-10 16:54:25 +03:30
ahasani 50bc9a4632 feat(purchases): implement purchase receipt functionality with form and receipt template
- Added `ProductPurchaseComponent` to handle product purchases.
- Created `PurchaseReceiptTemplateComponent` for displaying purchase receipt details.
- Developed `PurchaseFormComponent` for managing purchase form inputs and submission.
- Introduced `ProductChargeRowFormComponent` and `ProductChargeRowFormFieldsComponent` for handling product charge rows in the form.
- Implemented `PurchaseReceiptProductRowComponent` for displaying individual product rows in the receipt.
- Established API routes for purchase operations in `apiRoutes`.
- Integrated suppliers and inventories selection components.
- Added utility functions for converting prices to Persian alphabet.
- Created a utility for generating full names from name parts.
- Enhanced form validation and submission handling in the purchase form.
- Updated styles and templates for improved UI/UX.
2025-12-09 20:17:00 +03:30
ahasani abf53bac03 feat: implement product creation and update features with form handling and routing 2025-12-06 17:48:16 +03:30
ahasani 70f39de9d8 feat: add product management features and integrate role selection
- Added PRODUCTS_ROUTES to app routing.
- Removed roles.const.ts and related references to central-auth-roles.
- Updated login component to remove role selection logic.
- Integrated ToastService for success notifications in customer, inventory, product brand, product category, supplier, and user forms.
- Implemented product and category selection fields in product form.
- Created reusable select components for product brands and categories.
- Enhanced user form with password validation and role selection.
- Established roles service for fetching roles from the API.
2025-12-06 11:09:06 +03:30
ahasani 0419ff2fc7 feat: Implement product management features including CRUD operations and UI components 2025-12-05 00:01:48 +03:30
ahasani 3bc1202c77 feat: Implement product categories, stores, suppliers, and users management features
- Added ProductCategoriesService for handling product category API interactions.
- Created components for listing and viewing product categories.
- Implemented UI for managing product categories with a data list component.
- Developed StoresService for managing store-related API calls.
- Created components for listing and viewing stores with appropriate UI.
- Added SuppliersService for handling supplier API interactions.
- Implemented components for managing suppliers with a data list component.
- Developed UsersService for managing user-related API calls.
- Created components for listing and viewing users with appropriate UI.
- Enhanced not found page with improved layout and navigation options.
2025-12-04 23:34:00 +03:30
ahasani 07fec02ea1 feat: add logo image and RTL support styles
- Added logo image to assets.
- Implemented RTL support styles in rtlSupport.scss for various components including breadcrumb, datatable, and tree node toggle button.

chore: configure environment files for production, staging, and development

- Created environment.prod.ts for production settings.
- Created environment.staging.ts for staging settings.
- Created environment.ts for local development settings.

feat: define custom theme preset

- Added presets.ts to define a custom theme preset using PrimeUIX with specific component styles and semantic colors.

chore: set up proxy configuration for local development
2025-12-04 21:07:18 +03:30
Cagatay Civici c58210cdbd Update lock 2025-07-31 11:30:05 +03:00
Cagatay Civici 6dcbf55930 Fixed versions 2025-07-31 11:28:39 +03:00
Çetin 63c55fa370 fixes image aspect ratio 2025-07-28 12:04:31 +03:00
Çetin 9bf03bcb2f fixes #98 2025-07-24 18:47:53 +03:00
Çetin bde8635c33 fixes #97 2025-07-24 18:46:42 +03:00
Çetin d455fab6ec remove unused import 2025-07-24 18:44:56 +03:00
Çetin ec372d10f4 fixes #95 2025-07-24 18:44:14 +03:00
Çetin e6ab60ad3d fixes #93 2025-07-24 18:39:25 +03:00
Çetin 8d1024eb4d fixes #94 2025-07-24 18:28:05 +03:00
Çetin 4d9761d829 update tsconfig.json 2025-07-24 18:27:40 +03:00
Çetin 7f8a161dd8 fixes #93 2025-07-24 18:27:28 +03:00
Çetin 6fe63b168b update tsconfig.json 2025-07-24 18:25:37 +03:00
Çetin 2a06dd9b24 fixes #92 2025-07-24 18:25:21 +03:00
Çetin 0d3f25a00d fixes #91 2025-07-24 18:21:45 +03:00
Çetin d949027ff5 update lockfile 2025-07-24 18:16:15 +03:00
Çetin 5921d874f2 fixes #89 2025-07-24 18:16:08 +03:00
Çetin 7ca014b0b3 Merge pull request #99 from primefaces/v20
V20
2025-07-24 18:08:55 +03:00
Mehmet Çetin 56f7a548d8 update package-lock 2025-07-21 12:37:02 +03:00
Mehmet Çetin ad9e4e1568 remove budgets 2025-07-21 12:28:42 +03:00
Mehmet Çetin 4c7a3d2af6 update primeng version & tailwind.css 2025-07-18 09:34:06 +03:00
Mehmet Çetin f80a6b1c3d update tailwind.css 2025-07-10 14:48:21 +03:00
Mehmet Çetin bf5035340f update typography.scss 2025-07-10 14:21:49 +03:00
Mehmet Çetin e4b334f58a migrate to Tailwind CSS v4 2025-07-09 13:18:18 +03:00
Mehmet Çetin ad5b515605 update styles.scss 2025-07-08 17:15:32 +03:00
Mehmet Çetin 0fcab4fc00 update tailwind.css 2025-07-07 16:21:14 +03:00