fix: fetch email id from dialog box in pos past order summary' (#25808)

This commit is contained in:
Rakshith N 2021-05-25 19:03:29 +05:30 committed by GitHub
parent 073dcf7e42
commit 507a211c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@ erpnext.PointOfSale.PastOrderSummary = class {
send_email() {
const frm = this.events.get_frm();
const recipients = this.email_dialog.get_values().recipients;
const recipients = this.email_dialog.get_values().email_id;
const doc = this.doc || frm.doc;
const print_format = frm.pos_print_format;