Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042619Retail ModulesWeb POSpublic2019-12-20 13:092019-12-27 08:42
guillermogil 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR20Q1 
guilleaer
No
0042619: Print Invoices UI is broken
Print Invoices UI is broken in the case there are 4 or more buttons
- Install send by email module (or another that adds a new button on print invoices popup)
-Open the popup
See screenshot attached
Remove the following logic:
        if (this.buttons && _.isArray(this.buttons) && this.buttons.length > 1) {
            if (this.buttons.length === 4) {
                this.$.modalInvoicesFooter__buttonsContainer.addClass('obUiModalInvoicesFooter-buttonsContainer-button_comfortable');
            } else if (this.buttons.length === 5) {
                this.$.modalInvoicesFooter__buttonsContainer.addClass('obUiModalInvoicesFooter-buttonsContainer-button_cozy');
            } else if (this.buttons.length >= 6) {
                this.$.modalInvoicesFooter__buttonsContainer.addClass('obUiModalInvoicesFooter-buttonsContainer-button_compact');
            }
        }
No tags attached.
png Screenshot from 2019-12-20 13-09-38.png (13,807) 2019-12-20 13:10
https://issues.openbravo.com/file_download.php?file_id=13703&type=bug
png
Issue History
2019-12-20 13:09guillermogilNew Issue
2019-12-20 13:09guillermogilAssigned To => Retail
2019-12-20 13:09guillermogilResolution time => 1577746800
2019-12-20 13:09guillermogilTriggers an Emergency Pack => No
2019-12-20 13:10guillermogilFile Added: Screenshot from 2019-12-20 13-09-38.png
2019-12-20 13:47ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-12-23 11:22ranjith_qualiantech_comStatusnew => scheduled
2019-12-23 11:23hgbotCheckin
2019-12-23 11:23hgbotNote Added: 0116480
2019-12-23 11:23hgbotStatusscheduled => resolved
2019-12-23 11:23hgbotResolutionopen => fixed
2019-12-23 11:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7c657229a06566a90816871083eca3ca264b4e1 [^]
2019-12-27 08:42guilleaerReview Assigned To => guilleaer
2019-12-27 08:42guilleaerStatusresolved => closed
2019-12-27 08:42guilleaerFixed in Version => RR20Q1

Notes
(0116480)
hgbot   
2019-12-23 11:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d7c657229a06566a90816871083eca3ca264b4e1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Dec 23 15:53:02 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7c657229a06566a90816871083eca3ca264b4e1 [^]

Fixed issue 42619 : Updated CSS for Print Receipt Footer buttons

* Removed Footer Button width css calculated based on footer button length

---
M web/org.openbravo.retail.posterminal/css/obpos-main.css
M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
---