2013-11-20 07:29:58 +00:00
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 09:29:54 +00:00
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2013-05-01 05:53:44 +00:00
|
|
|
wn.query_reports["Bank Reconciliation Statement"] = {
|
|
|
|
"filters": [
|
|
|
|
{
|
|
|
|
"fieldname":"account",
|
2013-09-30 21:08:50 +00:00
|
|
|
"label": wn._("Bank Account"),
|
2013-05-01 05:53:44 +00:00
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Account",
|
2014-01-13 06:54:27 +00:00
|
|
|
"reqd": 1,
|
2013-05-01 05:53:44 +00:00
|
|
|
"get_query": function() {
|
|
|
|
return {
|
|
|
|
"query": "accounts.utils.get_account_list",
|
|
|
|
"filters": {
|
|
|
|
"is_pl_account": "No",
|
|
|
|
"account_type": "Bank or Cash"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"report_date",
|
2013-09-30 21:08:50 +00:00
|
|
|
"label": wn._("Date"),
|
2013-05-01 05:53:44 +00:00
|
|
|
"fieldtype": "Date",
|
2014-01-13 06:54:27 +00:00
|
|
|
"default": get_today(),
|
|
|
|
"reqd": 1
|
2013-05-01 05:53:44 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|