fix: submit order summary center alignment
This commit is contained in:
parent
02d1491e39
commit
188e0ecbcb
@ -299,11 +299,11 @@ 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user