Commit Graph

38 Commits

Author SHA1 Message Date
ahasani 4ec6143068 set own datepicker and change فاکتور to صورت‌حساب 2026-05-31 13:54:34 +03:30
ahasani eb671d5949 feat: enhance form components with validation and dynamic properties; update payment handling and UI interactions 2026-05-24 19:40:02 +03:30
ahasani 2e1ad77946 feat: implement fiscal ID validation; replace fiscal code validator and update related components 2026-05-19 20:34:20 +03:30
ahasani c135e1a85f refactor: streamline state initialization across stores using defaultBaseStateData
- Replaced individual state properties (loading, error, entity, initialized, isRefreshing) with a spread of defaultBaseStateData in various entity stores including AccountStore, BusinessActivityStore, ConsumerComplexStore, PosStore, and others.
- Updated imports to include defaultBaseStateData in relevant store files.
- Enhanced consistency in state management across multiple stores.

feat: add partner profile management components and services

- Introduced PartnerProfileFormComponent and PartnerResetPasswordCardComponent for profile editing and password reset functionalities.
- Created ProfileService to handle API interactions for partner profile management.
- Added routes and constants for partner profile API and navigation.
- Implemented UI components for displaying and editing partner profile information in single.component.html and single.component.ts.
2026-05-18 13:19:58 +03:30
ahasani fe09aa4931 feat: update app version and build details; refactor auth service and components for improved functionality 2026-05-16 16:11:58 +03:30
ahasani cee708209e update 2026-05-12 20:24:55 +03:30
ahasani 561aca32d3 feat: add stock keeping units list component and related services
feat: implement checkbox component with label and hint support

feat: create sale invoice full response model for invoice details

feat: add single view component for displaying sale invoice details

feat: define various list configurations for account, business activity, and consumer management

feat: establish list configurations for managing devices, goods, and licenses

feat: create list configurations for managing partners and their accounts

feat: implement user management list configuration
2026-05-12 19:58:53 +03:30
ahasani d513ea381e feat: update PWA installation logic, enhance app versioning, and streamline environment configurations 2026-05-11 20:26:02 +03:30
ahasani 9bcb917d3b update 2026-05-11 18:42:05 +03:30
ahasani 048e292bdd remove unused codes and update 2026-05-10 09:44:30 +03:30
ahasani a138034c06 feat: enhance order submission flow and UI improvements
- Updated categories component to improve loading state and category display.
- Modified order section to handle payment submission with event payload.
- Refactored payment form dialog to emit order response on successful payment.
- Adjusted order response model to enforce required fields.
- Improved root component layout and added success dialog for order submission.
- Enhanced sale invoice card component to use new TSP API methods.
- Updated API routes for sale invoices to reflect TSP changes.
- Improved user interface for business activities and partners sections.
- Added card shadow styling for better visual hierarchy.
- Introduced new order submitted dialog component for post-order actions.
- Cleaned up console logs and improved code readability across components.
2026-05-08 18:08:57 +03:30
ahasani ce40bd8c75 Refactor code structure for improved readability and maintainability 2026-05-07 23:28:12 +03:30
ahasani b2a1eb8e5b feat: implement stock keeping unit management form and list components
- Added StockKeepingUnitFormComponent for creating and editing stock keeping units.
- Introduced StockKeepingUnitsComponent for listing stock keeping units with pagination.
- Integrated form fields for code, name, VAT, and SKU type in the stock keeping unit form.
- Created API routes for stock keeping units with CRUD operations.
- Updated input components to handle numeric and price types with Persian/Arabic digit normalization.
- Enhanced key-value component to support tag display instead of badge.
- Adjusted layout styles for sidebar menu.
- Added AGENT.md for repository-specific coding guidelines and practices.
- Implemented good management form with file upload and category selection.
2026-05-06 22:01:20 +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 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 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 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 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 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 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 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 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 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