refactor: adding labels to important section

This commit is contained in:
ruthra kumar 2023-09-27 16:05:14 +05:30
parent ea3071db66
commit 993e2bfbf9
2 changed files with 31 additions and 7 deletions

View File

@ -44,7 +44,6 @@ frappe.ui.form.on("Bisect Accounting Statements", {
new frappe.Chart(".bisect_heatmap_location", { new frappe.Chart(".bisect_heatmap_location", {
type: "heatmap", type: "heatmap",
title: "Bisecting On",
data: { data: {
dataPoints: datapoints, dataPoints: datapoints,
start: new Date(frm.doc.from_date), start: new Date(frm.doc.from_date),

View File

@ -19,14 +19,19 @@
"section_break_ngid", "section_break_ngid",
"bisect_heatmap", "bisect_heatmap",
"section_break_hmsy", "section_break_hmsy",
"bisecting_from",
"current_from_date", "current_from_date",
"column_break_uqyd", "column_break_uqyd",
"bisecting_to",
"current_to_date", "current_to_date",
"section_break_hbyo", "section_break_hbyo",
"heading_cppb",
"p_l_summary", "p_l_summary",
"column_break_aivo", "column_break_aivo",
"balance_sheet_summary",
"b_s_summary", "b_s_summary",
"column_break_gvwx", "column_break_gvwx",
"difference_heading",
"difference" "difference"
], ],
"fields": [ "fields": [
@ -68,13 +73,11 @@
{ {
"fieldname": "current_from_date", "fieldname": "current_from_date",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "Bisecting From",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "current_to_date", "fieldname": "current_to_date",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "Bisecting To",
"read_only": 1 "read_only": 1
}, },
{ {
@ -88,19 +91,16 @@
{ {
"fieldname": "p_l_summary", "fieldname": "p_l_summary",
"fieldtype": "Data", "fieldtype": "Data",
"label": "P&L Summary",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "b_s_summary", "fieldname": "b_s_summary",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Balance Sheet Summary",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "difference", "fieldname": "difference",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Difference",
"read_only": 1 "read_only": 1
}, },
{ {
@ -134,13 +134,38 @@
"fieldname": "bisect_heatmap", "fieldname": "bisect_heatmap",
"fieldtype": "HTML", "fieldtype": "HTML",
"label": "Heatmap" "label": "Heatmap"
},
{
"fieldname": "heading_cppb",
"fieldtype": "Heading",
"label": "Profit and Loss Summary"
},
{
"fieldname": "balance_sheet_summary",
"fieldtype": "Heading",
"label": "Balance Sheet Summary"
},
{
"fieldname": "difference_heading",
"fieldtype": "Heading",
"label": "Difference"
},
{
"fieldname": "bisecting_from",
"fieldtype": "Heading",
"label": "Bisecting From"
},
{
"fieldname": "bisecting_to",
"fieldtype": "Heading",
"label": "Bisecting To"
} }
], ],
"hide_toolbar": 1, "hide_toolbar": 1,
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"issingle": 1, "issingle": 1,
"links": [], "links": [],
"modified": "2023-09-27 15:52:14.083727", "modified": "2023-09-27 16:08:18.155873",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Bisect Accounting Statements", "name": "Bisect Accounting Statements",