Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045783Retail ModulesWeb POSpublic2021-01-26 10:552021-01-26 11:00
caristu 
Retail 
highminorhave not tried
newopen 
5
 
 
No
0045783: Move logic that "transforms the ticket" from printing engine to state hooks
After the print refactor project (see 0045634), the printing engine has some logic to transform the ticket before printing, this logic is kept in order to keep backwards compatibility with the existing print templates:

- includeOverPaymentAmt
- toPrintable

But instead of having this logic integrated withing the printing engine, it should be extracted and implemented with state hooks for the CompleteTicket action (see http://wiki.openbravo.com/wiki/StateController#Action_Hooks [^])
In description
No tags attached.
related to defect 0045782 new Retail Replace existing OBPRINT_PrePrint, OBPRINT_PostPrint and OBPOS_HWServerSend hooks 
depends on feature request 0045634 closed Retail Reimplement printing infrastructure 
Issue History
2021-01-26 10:55caristuNew Issue
2021-01-26 10:55caristuAssigned To => Retail
2021-01-26 10:55caristuTriggers an Emergency Pack => No
2021-01-26 10:55caristuIssue generated from0045782
2021-01-26 10:55caristuRelationship addedrelated to 0045782
2021-01-26 10:55caristuRelationship addedrelated to 0045634
2021-01-26 10:56caristuSummaryMove logic transforming ticket from printing engine to state hooks => Move "transforming ticket logic" from printing engine to state hooks
2021-01-26 10:56caristuSummaryMove "transforming ticket logic" from printing engine to state hooks => Move logic that "transforms the ticket" from printing engine to state hooks
2021-01-26 10:57caristuDescription Updatedbug_revision_view_page.php?rev_id=22063#r22063
2021-01-26 11:00caristuIssue cloned0045784
2021-01-26 12:14caristuRelationship replaceddepends on 0045634

There are no notes attached to this issue.