73706f85aa
* feat: Bank remittance report for tracking payroll-entry transactions * feat: show Company bank account and bank name * feat: Added Permissions to view report * feat: Validated report only if debit account is present * fix: query optimisation * feat: Added From date and To date filters * fix: code optimisation * fix: requested changes * fix: requested changes and refactor * style: indentation * style: Formatting * fix: added parameter filters
29 lines
555 B
JavaScript
29 lines
555 B
JavaScript
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
|
// For license information, please see license.txt
|
|
/* eslint-disable */
|
|
|
|
frappe.query_reports["Bank Remittance"] = {
|
|
"filters": [
|
|
{
|
|
"fieldname":"company",
|
|
"label": __("Company"),
|
|
"fieldtype": "Link",
|
|
"options": "Company",
|
|
"default": frappe.defaults.get_user_default("Company"),
|
|
"reqd": 1
|
|
},
|
|
{
|
|
fieldname:"from_date",
|
|
label: __("From Date"),
|
|
fieldtype: "Date",
|
|
},
|
|
{
|
|
fieldname:"to_date",
|
|
label: __("To Date"),
|
|
fieldtype: "Date",
|
|
},
|
|
|
|
]
|
|
}
|
|
|