[fix] [minor] send sms fixed for purchase module
This commit is contained in:
parent
20f93546eb
commit
0ec4bdfcb8
@ -24,7 +24,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend(
|
|||||||
doc.per_billed);
|
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)
|
if(flt(doc.per_received, 2) < 100)
|
||||||
cur_frm.add_custom_button('Make Purchase Receipt', this.make_purchase_receipt);
|
cur_frm.add_custom_button('Make Purchase Receipt', this.make_purchase_receipt);
|
||||||
if(flt(doc.per_billed, 2) < 100)
|
if(flt(doc.per_billed, 2) < 100)
|
||||||
|
@ -20,7 +20,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
|
|||||||
cur_frm.add_custom_button('Make Purchase Invoice',
|
cur_frm.add_custom_button('Make Purchase Invoice',
|
||||||
this.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_stock_ledger();
|
||||||
this.show_general_ledger();
|
this.show_general_ledger();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user