mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
fix: indentations
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('KSA VAT Setting', {
|
||||
onload: function(frm) {
|
||||
onload: function () {
|
||||
frappe.breadcrumbs.add('Accounts', 'KSA VAT Setting');
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
frappe.listview_settings['KSA VAT Setting'] = {
|
||||
onload(list) {
|
||||
onload () {
|
||||
frappe.breadcrumbs.add('Accounts');
|
||||
}
|
||||
}
|
||||
@@ -123,8 +123,7 @@ def get_tax_data_for_each_vat_setting(vat_setting, filters, doctype):
|
||||
filters ={
|
||||
'docstatus': 1,
|
||||
'posting_date': ['between', [from_date, to_date]]
|
||||
},
|
||||
fields =['name', 'is_return'])
|
||||
}, fields =['name', 'is_return'])
|
||||
|
||||
for invoice in invoices:
|
||||
invoice_items = frappe.get_list(f'{doctype} Item',
|
||||
@@ -132,9 +131,7 @@ def get_tax_data_for_each_vat_setting(vat_setting, filters, doctype):
|
||||
'docstatus': 1,
|
||||
'parent': invoice.name,
|
||||
'item_tax_template': vat_setting.item_tax_template
|
||||
},
|
||||
fields =['item_code', 'net_amount'])
|
||||
|
||||
}, fields =['item_code', 'net_amount'])
|
||||
|
||||
for item in invoice_items:
|
||||
# Summing up total taxable amount
|
||||
|
||||
Reference in New Issue
Block a user