fix: submit order summary center alignment

This commit is contained in:
Saqib Ansari 2020-11-30 17:53:19 +05:30
parent 02d1491e39
commit 188e0ecbcb

View File

@ -299,12 +299,12 @@ erpnext.PointOfSale.PastOrderSummary = class {
}
load_summary_of(doc, after_submission=false) {
this.toggle_summary_placeholder(false)
after_submission ?
this.$summary_wrapper.css('grid-column', 'span 10 / span 10') :
this.$summary_wrapper.css('grid-column', 'span 6 / span 6')
this.$component.css('grid-column', 'span 10 / span 10') :
this.$component.css('grid-column', 'span 6 / span 6')
this.toggle_summary_placeholder(false)
this.doc = doc;
this.attach_document_info(doc);