Commit Graph

572 Commits

Author SHA1 Message Date
ahasani 1a0c40ecde feat: update apiBaseUrl for TIS tenant environment configuration
Production CI / validate-and-build (push) Failing after 1m1s
2026-06-15 21:43:55 +03:30
ahasani d1dd67aee7 feat: update branding and localization for various components and configurations
Production CI / validate-and-build (push) Failing after 1m15s
2026-06-15 21:36:09 +03:30
ahasani f7f8a91a85 Add branding configuration and assets for Sepehr tenant
Production CI / validate-and-build (push) Failing after 1m2s
- Created branding.config.ts to define branding settings including app title, support contact information, and working hours.
- Added brandingAssets.ts to import and export logo and login images for the Sepehr tenant.
- Introduced config.ts to specify application type as POS for the Sepehr tenant.
2026-06-15 20:36:56 +03:30
ahasani 2c90f8091e feat: replace national_id with economic_code in customer forms and models
Production CI / validate-and-build (push) Failing after 1m1s
2026-06-15 19:34:23 +03:30
ahasani d6aa165592 feat(payment): update payment bridge and form components
- Refactor PosPaymentBridgeAbstract to enforce PosPaymentResult type for emitPaymentResultForTest method.
- Simplify PosPaymentBridgeService by removing commented-out code and improving error handling.
- Replace PosPaymentFormDialogComponent with SharedInvoicePaymentFormDialog in root.component.html for better payment handling.
- Enhance root.component.ts to manage payment form visibility and submission logic.
- Update light-bottomsheet.component.html for improved styling.
- Add new return form features including item removal and total price calculation in returnForm components.
- Introduce new payment form dialog for handling invoice payments with detailed structure and validation.
- Implement payment handling logic in sale-invoice-single-view component to support correction payments.
- Ensure proper integration of payment components in the shared components index.
2026-06-15 17:15:28 +03:30
ahasani 5ee03cf761 feat: update invoice components and add correction payment dialog
Production CI / validate-and-build (push) Failing after 1m1s
- Updated return form instructions for clarity.
- Refined labels in sale invoice info card for consistency.
- Enhanced sale invoice view with a correction payment dialog for increased user interaction.
- Improved invoice print preparation utility for better data handling.
- Adjusted paginator component for first and last page navigation.
- Modified layout styles for better responsiveness and user experience.
- Updated environment configurations for different setups.
2026-06-14 16:33:51 +03:30
ahasani 72954fb5d1 feat: add current password field to change password form and update service payload structure 2026-06-11 17:53:06 +03:30
ahasani b4cd4c05f2 feat: enhance inner pages header with back button functionality and emit event on back click
fix: update total price info handling in correction form and ensure accurate calculations

refactor: streamline sale invoice single view component by extracting info card into a separate component

style: adjust button sizes in payment forms for better UI consistency

feat: implement season picker navigation controls to prevent out-of-bounds selection

fix: improve price formatting utility to handle undefined values gracefully

chore: update environment configuration for API base URL

feat: add navigation service to manage routing history and back navigation
2026-06-11 16:13:48 +03:30
ahasani 88f45eee38 refactor: update labels and translations in various components
Production CI / validate-and-build (push) Failing after 1m2s
- Changed 'تغییر گذرواژه' to 'تغییر رمز عبور' in layout.component.ts
- Updated HTML structure in list.component.html and saleInvoices components for consistency and improved styling.
- Modified sale-invoice-card.component.html to enhance the display of invoice details.
- Adjusted sale-invoice-card.component.ts to handle customer types more effectively.
- Enhanced the handling of invoice statuses in saleInvoices components.
- Improved layout and styling in shop components for better user experience.
- Refactored key-value component for better readability and maintainability.
- Updated upload file component to streamline file selection process.
- Added new styles in customize.scss and psp.scss for consistent UI.
- Adjusted environment configuration for better API endpoint management.
2026-06-09 13:31:48 +03:30
ahasani 5fa07c7ee8 feat: enhance invoice correction form with item editing and price info display 2026-06-08 13:35:58 +03:30
ahasani 788f4023f3 refactor: remove change password form and related service, update root component to use tabs 2026-06-07 14:33:11 +03:30
ahasani 2f67801700 feat: implement change password functionality with dialog and service integration 2026-06-07 13:56:36 +03:30
ahasani cd09b09e3b set ci/cd
Production CI / validate-and-build (push) Failing after 1m5s
2026-06-07 12:45:46 +03:30
ahasani eb39f42b8c feat: add correction and return from sale functionalities to sale invoices
- Added new API routes for correction and return from sale in POS_SALE_INVOICES_API_ROUTES.
- Implemented correction and return from sale methods in PosSaleInvoicesService.
- Updated PosSaleInvoiceStore to include actions for correction and return from sale.
- Enhanced single.component to handle correction and return from sale events.
- Created correction and return from sale forms with appropriate validation and submission logic.
- Updated sale-invoice-single-view component to manage correction and return from sale actions.
- Added models for correction and return from sale requests.
- Improved user interface messages and form handling for better user experience.
2026-06-06 19:52:58 +03:30
ahasani 560b3516e1 feat: add customer selection component for individual and legal customers, update forms to utilize new component 2026-06-05 01:33:37 +03:30
ahasani 694b2ec946 refactor: replace economic code fields with individual and legal variants, add equal length validation 2026-06-03 17:48:54 +03:30
ahasani 8d6fa8860b update input 2026-06-02 13:45:57 +03:30
ahasani 1f9166bed3 some ui fix and debug input field, separate price field 2026-06-02 12:22:32 +03:30
ahasani ae963a60ce update invoice filter and paginator 2026-06-01 16:22:20 +03:30
ahasani d44004d555 update saleinvoice single and create return from sale form, update agent.md file, 2026-06-01 13:53:42 +03:30
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 f2a496134b update tis env 2026-05-30 19:09:08 +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 7f07bf53c2 feat: update environment configurations and add gold price management module with related components and services 2026-05-23 19:57:28 +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 c5e1fab09b feat: add favorite functionality for goods; implement favorite button and service integration 2026-05-20 11:55:30 +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 78501b907b feat: implement payment result handling; refactor payment components and enhance terminal payment logic 2026-05-17 15:21:06 +03:30
ahasani 6f1ad20cff refactor: update import paths for sale invoice models; add VAT handling in payload forms 2026-05-17 12:04:11 +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 60ee6a0c24 update 2026-05-17 00:28:28 +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 938baa5833 feat: update app version in ngsw-config.json; refactor service worker integration and UI components for improved functionality 2026-05-16 21:43:47 +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