mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix(purchase receipt): rename return/invoice to Purchase return/invoice (#19213)
This commit is contained in:
@@ -105,10 +105,10 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
|
|||||||
cur_frm.add_custom_button(__("Close"), this.close_purchase_receipt, __("Status"))
|
cur_frm.add_custom_button(__("Close"), this.close_purchase_receipt, __("Status"))
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.add_custom_button(__('Return'), this.make_purchase_return, __("Make"));
|
cur_frm.add_custom_button(__('Purchase Return'), this.make_purchase_return, __("Make"));
|
||||||
|
|
||||||
if(flt(this.frm.doc.per_billed) < 100) {
|
if(flt(this.frm.doc.per_billed) < 100) {
|
||||||
cur_frm.add_custom_button(__('Invoice'), this.make_purchase_invoice, __("Make"));
|
cur_frm.add_custom_button(__('Purchase Invoice'), this.make_purchase_invoice, __("Make"));
|
||||||
}
|
}
|
||||||
cur_frm.add_custom_button(__('Retention Stock Entry'), this.make_retention_stock_entry, __("Make"));
|
cur_frm.add_custom_button(__('Retention Stock Entry'), this.make_retention_stock_entry, __("Make"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user