mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
* fix: timesheet amount issue
* fix: timesheet detail rate conversion
* fix: condition to check timesheet currency
* fix: removing console statement
(cherry picked from commit a6aa6cd7d6)
Co-authored-by: Anupam Kumar <anupamvns0099@gmail.com>
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -443,6 +443,15 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends e
|
|||||||
this.frm.refresh_field("outstanding_amount");
|
this.frm.refresh_field("outstanding_amount");
|
||||||
this.frm.refresh_field("paid_amount");
|
this.frm.refresh_field("paid_amount");
|
||||||
this.frm.refresh_field("base_paid_amount");
|
this.frm.refresh_field("base_paid_amount");
|
||||||
|
},
|
||||||
|
|
||||||
|
currency() {
|
||||||
|
this._super();
|
||||||
|
$.each(cur_frm.doc.timesheets, function(i, d) {
|
||||||
|
let row = frappe.get_doc(d.doctype, d.name)
|
||||||
|
set_timesheet_detail_rate(row.doctype, row.name, cur_frm.doc.currency, row.timesheet_detail)
|
||||||
|
});
|
||||||
|
calculate_total_billing_amount(cur_frm)
|
||||||
}
|
}
|
||||||
|
|
||||||
currency() {
|
currency() {
|
||||||
|
|||||||
Reference in New Issue
Block a user