mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
[Minor] Employee Separation Fix (#14867)
* delete associated task & project forcefully in Employee Seapration cancel trigger * remove leftover print statement * remove console statements
This commit is contained in:
@@ -613,7 +613,6 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
this.frm.doc.paid_amount : this.frm.doc.base_paid_amount;
|
||||
this.frm.doc.outstanding_amount = flt(total_amount_to_pay - flt(paid_amount) +
|
||||
flt(this.frm.doc.change_amount * this.frm.doc.conversion_rate), precision("outstanding_amount"));
|
||||
console.log("set the outstanding amount");
|
||||
}
|
||||
},
|
||||
|
||||
@@ -653,7 +652,6 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
|
||||
this.frm.doc.paid_amount = flt(paid_amount, precision("paid_amount"));
|
||||
this.frm.doc.base_paid_amount = flt(base_paid_amount, precision("base_paid_amount"));
|
||||
console.log("paid amount set as -> ", paid_amount, base_paid_amount);
|
||||
},
|
||||
|
||||
calculate_change_amount: function(){
|
||||
|
||||
Reference in New Issue
Block a user