fix: add title to validation dialog
This commit is contained in:
parent
4da770d6c2
commit
0d3231ebba
@ -168,7 +168,7 @@ def validate_invoiced_inpatient(inpatient_record):
|
|||||||
|
|
||||||
if pending_invoices:
|
if pending_invoices:
|
||||||
frappe.throw(_("Can not mark Inpatient Record Discharged, there are Unbilled Invoices {0}").format(", "
|
frappe.throw(_("Can not mark Inpatient Record Discharged, there are Unbilled Invoices {0}").format(", "
|
||||||
.join(pending_invoices)))
|
.join(pending_invoices)), title=_('Unbilled Invoices'))
|
||||||
|
|
||||||
def get_pending_doc(doc, doc_name_list, pending_invoices):
|
def get_pending_doc(doc, doc_name_list, pending_invoices):
|
||||||
if doc_name_list:
|
if doc_name_list:
|
||||||
|
@ -215,7 +215,7 @@ var schedule_inpatient = function(frm) {
|
|||||||
args: args
|
args: args
|
||||||
},
|
},
|
||||||
callback: function(data) {
|
callback: function(data) {
|
||||||
if(!data.exc){
|
if (!data.exc) {
|
||||||
frm.reload_doc();
|
frm.reload_doc();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user