Commit Graph

486 Commits

Author SHA1 Message Date
ahasani 797aecd489 feat: implement invoice number sequence field and enhance tax provider status handling across components 2026-05-03 16:08:26 +03:30
ahasani 83f124b910 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.
2026-05-01 19:45:30 +03:30
ahasani 8104f1b7a7 feat(layout): enhance topbar with customizable templates and full-page support
- Updated app.layout.component.html to include start, center, and end templates for the topbar.
- Modified app.layout.component.ts to manage new template references and added isFullPage getter.
- Refactored app.topbar.component.html to utilize new templates and improved layout structure.
- Enhanced app.topbar.component.ts to accept new input properties for templates.
- Updated layout.service.ts to manage full-page state and new topbar slots.
- Added new payment bridge services for POS functionality.
- Introduced greater validator for form validation.
- Improved dialog component to support mobile drawer and responsive design.
- Updated styles for better mobile support and layout adjustments.
- Added new main menu sidebar for POS with dynamic content.
2026-04-30 16:27:42 +03:30
ahasani c89d4027d6 feat: update consumer and partner components for improved data handling and UI enhancements
- Refactor ConsumerPosListComponent to dynamically set cookie domain based on hostname.
- Modify ConsumerUserFormContentComponent to correctly handle type selection and initialization.
- Enhance single.component.html to conditionally display consumer details based on type.
- Update ConsumerAccountListComponent to include nested role translation and pos details.
- Adjust IConsumerAccountRawResponse to use IEnumTranslate for role and add pos details.
- Refine ConsumersComponent to display translated status in the list view.
- Revise single.component.html for superAdmin to show translated consumer type and details.
- Improve AdminPartnerChargeAccountListComponent and AdminPartnerChargeLicenseTransactionListComponent by updating header labels.
- Add file upload functionality in form.component.html for partner creation.
- Enhance GuildFormComponent to handle file uploads and form data submission.
- Update AdminPartnerLicensesComponent to display consumer names correctly.
- Modify IPartnerActivatedLicenseResponse to include consumer_name for better clarity.
- Add logo_url to IPartnerRawResponse for displaying partner logos.
- Refactor PartnersService to handle FormData for partner creation and updates.
- Enhance list.component.html to include partner logos in the display.
- Update single.component.html for partners to show total counts for licenses and users.
- Implement payment result handling in AuthComponent for improved payment integration.
- Refactor SharedUploadFileComponent to manage file previews and uploads more effectively.
- Introduce IEnumTranslate interface for better type handling in consumer models.
- Update form-data utility to allow skipping specific fields during FormData construction.
- Add RTL support styles for file upload and avatar components.
- Change environment configuration for API base URL.
2026-04-28 20:06:21 +03:30
ahasani 822bf96966 feat: add new form field components for company details and consumer management
- Implemented CompanyNameComponent, DescriptionComponent, DeviceIdComponent, EconomicCodeComponent, EmailComponent, FirstNameComponent, FiscalCodeComponent, GuildIdComponent, LastNameComponent, LegalNameComponent, LicenseStartsAtComponent, MobileComponent, MobileNumberComponent, ModelComponent, NameComponent, NationalCodeComponent, NationalIdComponent, PartnerTokenComponent, PosTypeComponent, PostalCodeComponent, ProviderIdComponent, QuantityComponent, RegistrationCodeComponent, RegistrationNumberComponent, SerialNumberComponent, SetOffComponent, SkuComponent, TerminalComponent, UnitPriceComponent, UsernameComponent.
- Added field control configurations for new fields in the form.
- Updated routing and branding configurations for TIS tenant.
- Created consumer type models for handling individual and legal consumer data.
2026-04-27 21:53:11 +03:30
ahasani c085104976 feat: refactor password input handling across multiple components
- Replaced individual password and confirm password fields with a shared-password-input component in the following components:
  - Partner Account Password Form
  - Consumer Account Form
  - Consumer User Form
  - Consumer Pos Form
  - Super Admin Consumer Account Form
  - Super Admin Partner Account Form
  - Super Admin Provider Form
  - Super Admin User Account Form
  - Modify Login Info Page

- Introduced a new SharedPasswordInputComponent to encapsulate password input logic and validation messages.
- Updated form handling to utilize reactive forms with shared components for better maintainability and consistency.
- Added a ChangePasswordFormDialogComponent for changing passwords with validation.
- Created API routes for business activity goods in the consumer module.
2026-04-26 20:26:30 +03:30
ahasani baa9409e9e feat: add licenses management module with filtering and listing functionality
- Introduced new constants and routes for licenses management.
- Created components for licenses filter form and list display.
- Implemented services for fetching licenses data from the API.
- Added dialog components for creating and editing licenses.
- Updated partner menu to include a link to licenses.
- Refactored existing components to improve code structure and maintainability.
2026-04-25 23:59:23 +03:30
ahasani 095ae31249 feat: Refactor sale invoice store to use new response model and improve state management
fix: Update single component to correctly bind invoice data

feat: Enhance partner info model with detailed license status

refactor: Simplify account list component by removing unnecessary details

fix: Correctly reference username in consumer account form

feat: Add POS related fields to consumer account list

chore: Update models to include charge account details for partners

feat: Implement charge account dialog for partner consumers

feat: Create API routes for accounts charge functionality

feat: Add charge account service for handling requests

feat: Introduce license info template component for dashboard

refactor: Update dashboard view to display license information

fix: Improve layout component to handle POS information more effectively

chore: Clean up unused imports and components in various files

feat: Add loading state handling in landing views

feat: Implement charge account form dialog for partner consumers
2026-04-25 15:19:19 +03:30
ahasani a816c05777 feat: add refresh functionality to various components
- Implemented refresh event emission in multiple list components across partner and superAdmin modules.
- Updated consumers and customers list components to handle refresh actions.
- Enhanced dashboard component to fetch partner info on initialization.
- Introduced new API method in PartnerService to retrieve current partner data.
- Modified PartnerStore to utilize the new API method for fetching partner information.
- Updated UI elements to reflect changes in partner and license management, including new fields for license renewals.
- Added a new POS display component for better presentation of POS terminal information.
- Updated layout service and top bar to reflect new titles and improve user experience.
- Refactored existing components to ensure consistency and maintainability.
2026-04-24 23:01:44 +03:30
ahasani 5bb5f10dbf feat: update POS and account components to use new field names and improve form handling 2026-04-24 04:27:40 +03:30
ahasani d857361cb7 Refactor nested column definitions and improve license info handling
- Updated column definitions in various components to use `nestedOption` instead of `nestedPath` for better clarity and consistency.
- Removed commented-out license status checks and related UI elements from the layout component.
- Simplified license info interface by removing unnecessary properties.
- Enhanced consumer accounts and business activities components to display additional license information.
- Adjusted form components to conditionally include fields based on selected device type.
- Improved the handling of discount calculations in the gold payload form component.
- Added new fields for branch code in complex components and adjusted related views.
- Cleaned up unused console logs in form data utility.
2026-04-24 02:23:47 +03:30
ahasani e58bcbef57 feat(consumers): implement consumer and POS stores with breadcrumb management
- Added ConsumerStore and PosStore to manage state and data fetching for consumers and POS entities.
- Implemented breadcrumb functionality in both stores to enhance navigation.
- Created views for consumer accounts, business activities, complexes, and poses with respective components.
- Developed single view components for detailed display and editing of consumer and POS data.
- Introduced charge account management components in the super admin module, including forms and lists for charge transactions.
- Established API routes and services for handling charge account transactions.
2026-04-23 20:59:48 +03:30
ahasani 57f333f5b8 update 2026-04-23 01:22:44 +03:30
ahasani e027b89173 fix ui issues and upload image for guild good 2026-04-18 12:14:39 +03:30
ahasani ac23d47b79 update license structures and init to setup image uploader 2026-04-16 22:19:46 +03:30
ahasani 28575bd3d1 create consumer pos list page 2026-04-14 15:56:32 +03:30
ahasani 9eb5c35285 init to partner panel 2026-04-13 15:47:50 +03:30
ahasani af3123e61e ui update, init to consumer statistics and manage pos user types 2026-04-13 13:22:40 +03:30
ahasani d4dff4ebfd create consumer domain accounts permissions 2026-04-11 14:46:52 +03:30
ahasani d154a8402b create amountPercentage field component 2026-04-09 15:01:45 +03:30
ahasani 359d8cc0a9 set consumer customer and saleInvoices 2026-04-08 18:15:27 +03:30
ahasani 8990edf064 update 2026-04-06 21:11:57 +03:30
ahasani b3fb4f4baf update error handler 2026-04-06 18:33:17 +03:30
ahasani de1a046485 create license management 2026-04-06 13:31:30 +03:30
ahasani 44097fe1ac add salesInvoice in pos of consumer domain 2026-03-30 13:17:34 +03:30
ahasani c10623bc3f update pos consumer 2026-03-29 18:07:10 +03:30
ahasani 1e2f94261e init to pos domain 2026-03-18 13:35:57 +03:30
ahasani f2766e2d7d complex good module 2026-03-16 20:59:28 +03:30
ahasani 739aef67a3 create consumer domain until pos list 2026-03-16 17:56:22 +03:30
ahasani 3c9f6eed1d refactor user accounts structure 2026-03-16 00:35:34 +03:30
ahasani 20be653499 update superAdmin users business 2026-03-14 16:26:22 +03:30
ahasani 9bfbef6f64 update breadcrumb and create account module 2026-03-11 20:42:15 +03:30
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