mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: submit order summary center alignment
This commit is contained in:
@@ -299,12 +299,12 @@ erpnext.PointOfSale.PastOrderSummary = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
load_summary_of(doc, after_submission=false) {
|
load_summary_of(doc, after_submission=false) {
|
||||||
this.toggle_summary_placeholder(false)
|
|
||||||
|
|
||||||
after_submission ?
|
after_submission ?
|
||||||
this.$summary_wrapper.css('grid-column', 'span 10 / span 10') :
|
this.$component.css('grid-column', 'span 10 / span 10') :
|
||||||
this.$summary_wrapper.css('grid-column', 'span 6 / span 6')
|
this.$component.css('grid-column', 'span 6 / span 6')
|
||||||
|
|
||||||
|
this.toggle_summary_placeholder(false)
|
||||||
|
|
||||||
this.doc = doc;
|
this.doc = doc;
|
||||||
|
|
||||||
this.attach_document_info(doc);
|
this.attach_document_info(doc);
|
||||||
|
|||||||
Reference in New Issue
Block a user