diff --git a/crm/fcrm/doctype/crm_deal/crm_deal.py b/crm/fcrm/doctype/crm_deal/crm_deal.py index dc18c1331..04bf74fd4 100644 --- a/crm/fcrm/doctype/crm_deal/crm_deal.py +++ b/crm/fcrm/doctype/crm_deal/crm_deal.py @@ -139,6 +139,7 @@ def default_list_data(): 'label': 'Amount', 'type': 'Currency', 'key': 'annual_revenue', + 'align': 'right', 'width': '9rem', }, { diff --git a/frontend/src/components/Activities/DataFields.vue b/frontend/src/components/Activities/DataFields.vue index 287d4a8a6..cee88cf01 100644 --- a/frontend/src/components/Activities/DataFields.vue +++ b/frontend/src/components/Activities/DataFields.vue @@ -32,7 +32,12 @@ {{ __('Loading...') }}
- +
-
+
{ }) function addColumn(c) { + let align = ['Float', 'Int', 'Percent', 'Currency'].includes(c.type) ? 'right' : 'left' let _column = { label: c.label, type: c.type, key: c.value, width: '10rem', + align, } columns.value.push(_column) rows.value.push(c.value) diff --git a/frontend/src/components/FieldLayout.vue b/frontend/src/components/FieldLayout.vue index e28a34368..0585e42c2 100644 --- a/frontend/src/components/FieldLayout.vue +++ b/frontend/src/components/FieldLayout.vue @@ -190,6 +190,30 @@ :placeholder="getPlaceholder(field)" v-model="data[field.name]" /> + + + !props.tabs[0].no_tabs) const tabIndex = ref(0) diff --git a/frontend/src/components/ListViews/CallLogsListView.vue b/frontend/src/components/ListViews/CallLogsListView.vue index 4f8071c08..1522e0a53 100644 --- a/frontend/src/components/ListViews/CallLogsListView.vue +++ b/frontend/src/components/ListViews/CallLogsListView.vue @@ -11,7 +11,10 @@ row-key="name" v-bind="$attrs" > - + - - - - - +