1
0
mirror of https://github.com/IRPTeam/IRP.git synced 2025-09-16 08:56:27 +02:00
Dmitry Kinash cf30a1836e #IRP-568 Add shift number support to fiscal printer modules (#2863)
* #IRP-568 Add shift number support to fiscal printer modules

Introduces handling of shift numbers in fiscal printer client, server, and API modules. Adds ShiftNumber fields to relevant structures, document objects, and information registers. Updates logic to store and retrieve shift numbers alongside check numbers for improved traceability and compliance.

* Add FiscalResponse to CorrectionData and refactor VAT handling

* Add PaymentInFiscalPrinterMode attribute and logic

Introduces the PaymentInFiscalPrinterMode boolean attribute to hardware catalog, retail sales receipt document, and payment forms. Updates UI forms to display and edit this attribute, and modifies payment processing logic to account for payments made in fiscal printer mode, including visibility and validation changes. Also refines cashier name retrieval in the fiscal printer server module.

* Update _8510FiscalPrinter.feature

* Add PaymentInFiscalPrinterMode attribute and update payment logic

* Add 'DocumentPostingAfterPrinting' option for receipts

Introduces the 'DocumentPostingAfterPrinting' boolean attribute to hardware and point of sale forms, allowing receipts to be posted after printing based on this setting. Updates business logic to handle postponed posting, including new procedures for posting and canceling transactions, and adjusts status handling throughout the payment and return process. Also refines data handling in HardwareServer and validation in EquipmentFiscalPrinterClient to support the new attribute.

* Fix nested attribute extraction in GetAttributesFromRef

Updated GetAttributesFromRef to correctly handle nested attribute names using dot notation. Extended unit tests to cover extraction of nested attributes from empty references, ensuring proper structure and default values are returned.

* Fix handling of undefined ConsolidatedRetailSales document

* Show user message if fiscal printer is not set

Added a call to display a user message when attempting to reconnect the fiscal printer and it is not configured. This improves user feedback in cases where the fiscal printer is missing.

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-09-15 15:46:21 +03:00
2023-05-03 08:42:39 -07:00
2024-01-22 16:13:28 +02:00
2023-03-14 22:08:46 +03:00

Master: Quality Gate Status Code lines Allure TotalTest FailedTest Demo DB Coverage

Develop: Quality Gate Status Code lines Allure TotalTest FailedTest Demo DB

IRP Core

Программное решение "IRP" предназначено для автоматизации товарного учета, оптовой торговли и финансовых операций.

Доступ в тестовую базу:

Тестовую базу можно скачать в релизах.

Логин: CI

Пароль: CI

Лицензия

Разрешается использовать только в ознакомительных (в том числе обучение) и не коммерческих целях. По всем остальным вопросам - можно связаться с нами по почте info@irpteam.com

Description
Languages
1C Enterprise 100%