fix: improper currency formatting issue in kanban view
This commit is contained in:
parent
28ce38ae90
commit
4d6604ab7a
@ -387,9 +387,17 @@ function parseRows(rows, columns = []) {
|
||||
deals.value.data.rows.forEach((row) => {
|
||||
_rows[row] = deal[row]
|
||||
|
||||
let fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
let fieldType;
|
||||
if (deals.value.data.view_type === 'kanban') {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.fieldname || col.value) == row,
|
||||
)?.fieldtype
|
||||
}
|
||||
else {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
}
|
||||
|
||||
if (
|
||||
fieldType &&
|
||||
|
||||
@ -407,9 +407,17 @@ function parseRows(rows, columns = []) {
|
||||
leads.value?.data.rows.forEach((row) => {
|
||||
_rows[row] = lead[row]
|
||||
|
||||
let fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
let fieldType;
|
||||
if (leads.value.data.view_type === 'kanban') {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.fieldname || col.value) == row,
|
||||
)?.fieldtype
|
||||
}
|
||||
else {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
}
|
||||
|
||||
if (
|
||||
fieldType &&
|
||||
|
||||
@ -262,9 +262,17 @@ function parseRows(rows, columns = []) {
|
||||
tasks.value?.data.rows.forEach((row) => {
|
||||
_rows[row] = task[row]
|
||||
|
||||
let fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
let fieldType;
|
||||
if (tasks.value.data.view_type === 'kanban') {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.fieldname || col.value) == row,
|
||||
)?.fieldtype
|
||||
}
|
||||
else {
|
||||
fieldType = columns?.find(
|
||||
(col) => (col.key || col.value) == row,
|
||||
)?.type
|
||||
}
|
||||
|
||||
if (
|
||||
fieldType &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user