Skip to content

#636 Add subtotal Discount / Surcharge#643

Open
diego-santinelli-hrm wants to merge 2 commits intofiskaltrust:mainfrom
diego-santinelli-hrm:feature/#636-Improve-discountpayment-for-EpsonRT-Printer
Open

#636 Add subtotal Discount / Surcharge#643
diego-santinelli-hrm wants to merge 2 commits intofiskaltrust:mainfrom
diego-santinelli-hrm:feature/#636-Improve-discountpayment-for-EpsonRT-Printer

Conversation

@diego-santinelli-hrm
Copy link
Copy Markdown

  • Improve for EpsonRT Printer "Sconto a subtotale"

  • Fix negative import sent to Printer

  • Added support for subtotal-level discounts and surcharges in the Epson RT printer fiscal receipt generation.

  • Fixed GetTotalAndMessages() to use Math.Abs() for negative payment amounts, ensuring correct handling when discounts cause negative pay item values

#636 #638

@diego-santinelli-hrm diego-santinelli-hrm requested a review from a team as a code owner March 24, 2026 15:12
@github-actions github-actions bot added market-it Related to the italian market scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU scu-it-customrtserver Related to the Italian CustomRTServer SCU. scu-it-customrtprinter labels Mar 24, 2026
Fix negative importa sent to Printer
@diego-santinelli-hrm diego-santinelli-hrm force-pushed the feature/#636-Improve-discountpayment-for-EpsonRT-Printer branch from dafa830 to ad8f197 Compare March 25, 2026 09:02
@diego-santinelli-hrm diego-santinelli-hrm changed the title Add subtotal Discount / Surcharge #636 Add subtotal Discount / Surcharge Apr 2, 2026
Copy link
Copy Markdown

@accodev accodev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The localflags proposed in this PR squash the localflags already in place for the RT devices.

https://docs.fiskaltrust.eu/docs/poscreators/middleware-doc/italy/reference-tables/ftreceiptcase

Please use 0x0100 and 0x0200 instead.

@accodev accodev added category-enhancement New feature or request meta-no-issue This PR does not need to have a linked issue labels Apr 7, 2026
@accodev accodev removed the meta-no-issue This PR does not need to have a linked issue label Apr 7, 2026
@volllly volllly added this to the v1.3.83 milestone Apr 15, 2026
@volllly volllly added the meta-needs-release-notes Work that should be called out in the release notes due to impact label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category-enhancement New feature or request market-it Related to the italian market meta-needs-release-notes Work that should be called out in the release notes due to impact scu-it-customrtprinter scu-it-customrtserver Related to the Italian CustomRTServer SCU. scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve for EpsonRT Printer "Sconto a subtotale" Improve discountpayment for EpsonRT Printer

4 participants