style: format js files

This commit is contained in:
Ankush Menat
2024-03-11 10:58:48 +05:30
parent c46be27e9e
commit 4c629d31c6
605 changed files with 27454 additions and 18952 deletions

View File

@@ -3,59 +3,59 @@
/* eslint-disable */
frappe.query_reports["Lost Opportunity"] = {
"filters": [
filters: [
{
"fieldname":"company",
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("Company"),
"reqd": 1
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",
"default": frappe.datetime.add_months(frappe.datetime.get_today(), -12),
"reqd": 1
fieldname: "from_date",
label: __("From Date"),
fieldtype: "Date",
default: frappe.datetime.add_months(frappe.datetime.get_today(), -12),
reqd: 1,
},
{
"fieldname":"to_date",
"label": __("To Date"),
"fieldtype": "Date",
"default": frappe.datetime.get_today(),
"reqd": 1
fieldname: "to_date",
label: __("To Date"),
fieldtype: "Date",
default: frappe.datetime.get_today(),
reqd: 1,
},
{
"fieldname":"lost_reason",
"label": __("Lost Reason"),
"fieldtype": "Link",
"options": "Opportunity Lost Reason"
fieldname: "lost_reason",
label: __("Lost Reason"),
fieldtype: "Link",
options: "Opportunity Lost Reason",
},
{
"fieldname":"territory",
"label": __("Territory"),
"fieldtype": "Link",
"options": "Territory"
fieldname: "territory",
label: __("Territory"),
fieldtype: "Link",
options: "Territory",
},
{
"fieldname":"opportunity_from",
"label": __("Opportunity From"),
"fieldtype": "Link",
"options": "DocType",
"get_query": function() {
fieldname: "opportunity_from",
label: __("Opportunity From"),
fieldtype: "Link",
options: "DocType",
get_query: function () {
return {
"filters": {
"name": ["in", ["Customer", "Lead"]],
}
}
}
filters: {
name: ["in", ["Customer", "Lead"]],
},
};
},
},
{
"fieldname":"party_name",
"label": __("Party"),
"fieldtype": "Dynamic Link",
"options": "opportunity_from"
fieldname: "party_name",
label: __("Party"),
fieldtype: "Dynamic Link",
options: "opportunity_from",
},
]
],
};