fix: auto email report creation (#46343)
* fix(financial_statements): mandatory based on filter_based_on value * fix(financial_statements.js): include options for multiselect
This commit is contained in:
@@ -189,15 +189,15 @@ function get_filters() {
|
||||
fieldname: "period_start_date",
|
||||
label: __("Start Date"),
|
||||
fieldtype: "Date",
|
||||
reqd: 1,
|
||||
depends_on: "eval:doc.filter_based_on == 'Date Range'",
|
||||
mandatory_depends_on: "eval:doc.filter_based_on == 'Date Range'",
|
||||
},
|
||||
{
|
||||
fieldname: "period_end_date",
|
||||
label: __("End Date"),
|
||||
fieldtype: "Date",
|
||||
reqd: 1,
|
||||
depends_on: "eval:doc.filter_based_on == 'Date Range'",
|
||||
mandatory_depends_on: "eval:doc.filter_based_on == 'Date Range'",
|
||||
},
|
||||
{
|
||||
fieldname: "from_fiscal_year",
|
||||
@@ -247,6 +247,7 @@ function get_filters() {
|
||||
company: frappe.query_report.get_filter_value("company"),
|
||||
});
|
||||
},
|
||||
options: "Cost Center",
|
||||
},
|
||||
{
|
||||
fieldname: "project",
|
||||
@@ -257,6 +258,7 @@ function get_filters() {
|
||||
company: frappe.query_report.get_filter_value("company"),
|
||||
});
|
||||
},
|
||||
options: "Project",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user