[fix] [minor] send sms fixed for purchase module

This commit is contained in:
Akhilesh Darjee 2013-11-21 11:55:54 +05:30
parent 20f93546eb
commit 0ec4bdfcb8
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend(
doc.per_billed);
cur_frm.add_custom_button('Send SMS', cur_frm.cscript['Send SMS']);
cur_frm.add_custom_button('Send SMS', cur_frm.cscript.send_sms);
if(flt(doc.per_received, 2) < 100)
cur_frm.add_custom_button('Make Purchase Receipt', this.make_purchase_receipt);
if(flt(doc.per_billed, 2) < 100)

View File

@ -20,7 +20,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
cur_frm.add_custom_button('Make Purchase Invoice',
this.make_purchase_invoice);
}
cur_frm.add_custom_button('Send SMS', cur_frm.cscript['Send SMS']);
cur_frm.add_custom_button('Send SMS', cur_frm.cscript.send_sms);
this.show_stock_ledger();
this.show_general_ledger();