Commit Graph

89 Commits

Author SHA1 Message Date
ahasani c271a36f7e create invoice settlementStatus catalog and set to single invoice details, update single invoice detail actions 2026-05-31 17:12:43 +03:30
ahasani 4ec6143068 set own datepicker and change فاکتور to صورت‌حساب 2026-05-31 13:54:34 +03:30
ahasani f50219a094 transform pos payload forms to shared 2026-05-31 10:34:43 +03:30
ahasani 90c51edad4 some ui fix 2026-05-30 19:05:23 +03:30
ahasani d678b6c699 debug 2026-05-28 18:27:38 +03:30
ahasani 550db47b88 update sale invoice and payload forms of pos 2026-05-28 16:37:58 +03:30
ahasani 9fdd5e451c update sale invoices models and some ui fix 2026-05-26 12:06:43 +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 cdd2bd6bee refactor: restructure order and payload components for improved functionality
- Updated `PosOrderSectionComponent` to emit `onSubmit` instead of `onSuccess` and removed payment form visibility logic.
- Deleted unused `payload-form.component.html` and `payload-form.component.ts`.
- Introduced `PayloadFormDialogComponent` to handle payload form logic and rapid invoice creation.
- Enhanced `PosGoldPayloadFormComponent` and `PosStandardPayloadFormComponent` to support rapid invoice submissions.
- Added `PosGoodCategoriesComponent` for better category management in the goods view.
- Implemented `FavoriteCTAComponent` for managing favorite goods with loading states.
- Created `PosGoodsGridViewComponent` and `PosGoodsListViewComponent` for displaying goods in grid and list formats respectively.
- Improved UI elements across various components for consistency and better user experience.
2026-05-24 12:42:21 +03:30
ahasani f18d7a1f04 feat: implement change password and send to fiscal activation modules with forms and services 2026-05-24 10:44:35 +03:30
ahasani 12752f37d5 feat: add rapid invoice configuration module with form, service, and integration 2026-05-23 20:25:35 +03:30
ahasani 6ad1a73c16 feat(pos): add shop and statistics modules with components, services, and routing
- Implemented shop module with root component, loading state, and invoice handling.
- Created statistics module with invoice type card component, API routes, and data models.
- Added season picker component for selecting year and season.
- Integrated services for fetching statistics data and managing state.
- Established routing for statistics and shop views.
2026-05-23 18:09:44 +03:30
ahasani 8c07dc7c3f feat: add public sale invoices module with routing and service integration
- Introduced PUBLIC_SALE_INVOICES_ROUTES for handling sale invoice routes.
- Created PublicSaleInvoicesService to fetch single invoice data from the API.
- Implemented PublicSaleInvoiceStore for managing invoice state.
- Added PublicSaleInvoiceComponent to display invoice details.
- Updated app routes to include public sale invoices.
- Removed pre-invoice dialog component and its associated files.
- Enhanced order submitted dialog with QR code for invoice sharing.
- Updated sale invoice single view to reflect new data structure.
- Refactored page data list component for improved layout and functionality.
2026-05-21 21:35:34 +03:30
ahasani 1b4ac0789c feat: implement pos goods management module; add create, update, and list components with API integration 2026-05-20 20:22:38 +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 79c00e0149 feat: add consumer profile management; implement profile form, reset password functionality, and API integration 2026-05-18 10:30:25 +03:30
ahasani b2a7fa7f70 feat: refactor form components and improve invoice printing logic; enhance checkbox functionality and loading state management 2026-05-17 10:59:15 +03:30
ahasani 73df354f9b update 2026-05-17 08:44:11 +03:30
ahasani 112d558986 debug input 2026-05-17 00:27:45 +03:30
ahasani db595708f7 update 2026-05-16 23:02:36 +03:30
ahasani 5098c26c96 feat: update environment configuration and ngsw settings; refactor input handling and layout components for improved functionality 2026-05-16 21:17:51 +03:30
ahasani 29c5c50d62 feat: update app version in ngsw-config.json; refactor input component for leading zero normalization and improve payment dialog handling 2026-05-16 20:17:26 +03:30
ahasani fda318add5 feat: update ngsw-config.json for app version and build details; refactor invoice components for improved structure and functionality 2026-05-16 18:00:53 +03:30
ahasani 8c98e53427 feat: update app version and build details in ngsw-config.json
fix: add baseZIndex to p-toast component in app.component.ts

feat: enhance pagination support in saleInvoices list component

refactor: modify saleInvoices service to accept pagination query

feat: update API routes for saleInvoices to support pagination

fix: adjust layout for consumer accounts in partner module

style: improve layout for consumer business activities in partner module

fix: update license info display in dashboard component

fix: ensure price info card displays default values for discount and tax

refactor: clean up gold payload form component

fix: adjust root component layout for mobile view

refactor: unify consumer account list configuration across modules

chore: remove deprecated partner consumer account list config

chore: remove deprecated superAdmin consumer account list config

feat: add new consumer account list configuration

style: add summary list styling in customize.scss

chore: switch API base URL for TIS environment
2026-05-16 14:49:22 +03:30
ahasani 42b8476b96 feat: refactor dialog components to use light-bottomsheet for improved UX
- Replaced SharedDialogComponent with SharedLightBottomsheetComponent in customer-dialog, order-submitted-dialog, payment form-dialog, and pre-invoice-dialog components.
- Updated styles and properties for light-bottomsheet to enhance responsiveness and usability.
- Modified payload form components to use measure units instead of unit types for better clarity.
- Adjusted form controls to use consistent naming conventions for amounts and percentages.
- Enhanced support for overlay options in select components to manage z-index dynamically.
- Improved support for RTL layouts in input groups and other components.
2026-05-13 13:44:33 +03:30
ahasani dba960c454 feat: implement lifecycle hooks for light bottomsheet component to manage DOM positioning 2026-05-13 10:59:51 +03:30
ahasani d9e74da0e2 create light bottomsheet drawer for gold payload 2026-05-13 10:39:43 +03:30
ahasani ebd2aa46dc update 2026-05-12 20:35:04 +03:30
ahasani 219d2c201e update 2026-05-12 20:03:12 +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 fecdf4a06b optimize pos gold form 2026-05-11 21:09:43 +03:30
ahasani 8e1a021eec Add branding assets for TIS tenant with logo and login image 2026-05-11 13:36:06 +03:30
ahasani 13c791d86f feat: add expandable rows and accordion details to grid and table views 2026-05-10 19:56:02 +03:30
ahasani cb6be84cb9 feat: remove AGENT.md and add new agents.md with updated repository-specific instructions
refactor: update shared-saleInvoice.component.ts to simplify SKU code handling

refactor: modify goods.component.html to optimize payload form dialog rendering

fix: adjust goods.component.ts to ensure payload form visibility logic is correct

fix: update order-section.component.ts to improve customer dialog and payment form visibility

style: enhance form.component.html button styling for better responsiveness

fix: change abstract-form.ts to reset form with default values on initialization

refactor: streamline page-data-list-grid-view.component.html for better caption handling

refactor: update page-data-list-grid-view.component.ts to remove unused methods and improve readability

refactor: simplify page-data-list-table-view.component.html and remove redundant code

refactor: clean up page-data-list-table-view.component.ts by removing unnecessary methods

feat: enhance page-data-list.component.html with new caption and paginator templates

feat: create page-data-value.component.ts to encapsulate data rendering logic for grid and table views

style: update presets.ts to modify color palette for better UI consistency
2026-05-10 17:55:30 +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 54d00e19ae chore: add Tailwind CSS configuration file. ux writing update 2026-05-05 22:42:06 +03:30
ahasani d130a83bd4 update ux writing 2026-05-04 21:30:05 +03:30
ahasani ec452bca22 update many things 2026-05-04 20:02:10 +03:30
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