diff --git a/india_compliance/gst_india/client_scripts/e_invoice_actions.js b/india_compliance/gst_india/client_scripts/e_invoice_actions.js index af8eec69ca..c799bc6788 100644 --- a/india_compliance/gst_india/client_scripts/e_invoice_actions.js +++ b/india_compliance/gst_india/client_scripts/e_invoice_actions.js @@ -151,11 +151,11 @@ function show_cancel_e_invoice_dialog(frm, callback) { const d = new frappe.ui.Dialog({ title: frm.doc.ewaybill ? __("Cancel e-Invoice and e-Waybill") - : __("Cancel e-Invoice") + "
" + __("Sales Invoice will also be Cancelled"), + : __("Cancel e-Invoice"), fields: get_cancel_e_invoice_dialog_fields(frm), primary_action_label: frm.doc.ewaybill - ? __("Cancel IRN & e-Waybill") - : __("Cancel IRN"), + ? __("Cancel IRN & e-Waybill & Invoice") + : __("Cancel IRN & Invoice"), primary_action(values) { frappe.call({ method: "india_compliance.gst_india.utils.e_invoice.cancel_e_invoice", @@ -174,6 +174,12 @@ function show_cancel_e_invoice_dialog(frm, callback) { india_compliance.primary_to_danger_btn(d); d.show(); + + $(` + + `).prependTo(d.wrapper); } function show_mark_e_invoice_as_cancelled_dialog(frm) {