fix: make date range filters optional
This commit is contained in:
parent
c0eab52877
commit
bc693edc4e
1 changed files with 18 additions and 7 deletions
|
|
@ -6,11 +6,13 @@
|
|||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"start_date",
|
||||
"doctype_name",
|
||||
"column_break_peck",
|
||||
"end_date",
|
||||
"document",
|
||||
"section_break_dfrx",
|
||||
"start_date",
|
||||
"column_break_ytzm",
|
||||
"end_date",
|
||||
"section_break_gppi",
|
||||
"version_table",
|
||||
"rows_added_section",
|
||||
|
|
@ -74,21 +76,30 @@
|
|||
{
|
||||
"fieldname": "start_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Start Date",
|
||||
"reqd": 1
|
||||
"label": "Start Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "end_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "End Date",
|
||||
"reqd": 1
|
||||
"label": "End Date"
|
||||
},
|
||||
{
|
||||
"collapsible": 1,
|
||||
"collapsible_depends_on": "eval: doc.start_date || doc.end_date",
|
||||
"fieldname": "section_break_dfrx",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Date Range"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_ytzm",
|
||||
"fieldtype": "Column Break"
|
||||
}
|
||||
],
|
||||
"hide_toolbar": 1,
|
||||
"index_web_pages_for_search": 1,
|
||||
"issingle": 1,
|
||||
"links": [],
|
||||
"modified": "2023-10-10 15:20:00.558979",
|
||||
"modified": "2023-10-31 13:12:41.749483",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Audit Trail",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue