Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039423 | Retail Modules | Layaway order | public | 2018-10-09 16:35 | 2018-10-09 23:21 |
Reporter | lbressan | ||||
Assigned To | rqueralta | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | scheduled | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039423: Layaway with multiple payments prints a ticket with null dates, except for the last payment | ||||
Description | When paying a layaway with multiple payments, the printed ticket will show 'null' instead of the payment date for all the payments except the last one. This happens wether the layway is paid fully, or partially (using the "layaway" button). See attached screenshot. | ||||
Steps To Reproduce | 1. Create a layaway using the menu option "Receipt this layaway". 2. Add any product(s). 3. Add a partial payment and press the "Layaway" button. 4. Retrieve the created document via the "Open Receipt" button. 5. Add another payment (full or partial). 6. Press either the "Done" button or the "Layaway" button. 7. Observe the printed ticket. It would display: Payment Method Name - Date - Amount Except that for the first payment, the date will be shown as "null". | ||||
Proposed Solution | Apparently the payment date property for an open layaway is of type String, instead of Date. So then the formatting utility returns null. Either make that property to be always of Date type, or modify the printed layaway template in order to support all cases. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Screen Shot 2018-10-09 at 11.20.39.png (466,783) 2018-10-09 16:35 https://issues.openbravo.com/file_download.php?file_id=12248&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-10-09 16:35 | lbressan | New Issue | |||
2018-10-09 16:35 | lbressan | Assigned To | => Retail | ||
2018-10-09 16:35 | lbressan | File Added: Screen Shot 2018-10-09 at 11.20.39.png | |||
2018-10-09 16:35 | lbressan | Triggers an Emergency Pack | => No | ||
2018-10-09 16:42 | Practics | Issue Monitored: Practics | |||
2018-10-09 23:15 | rqueralta | Assigned To | Retail => rqueralta | ||
2018-10-09 23:21 | rqueralta | Status | new => scheduled |
There are no notes attached to this issue. |