This commit is contained in:
2025-12-29 16:33:59 +01:00
parent 9258a76029
commit 777eea143a

View File

@@ -133,7 +133,7 @@ const kpis = [
trend: "+5% this month", trend: "+5% this month",
trendValue: 5, trendValue: 5,
icon: DollarSign, icon: DollarSign,
action: () => openInTryton("account.invoice", undefined, ['tree']) action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'in']])
}, },
{ {
title: "Amount to receive ($)", title: "Amount to receive ($)",
@@ -141,7 +141,7 @@ const kpis = [
trend: "-1% this month", trend: "-1% this month",
trendValue: -1, trendValue: -1,
icon: HandCoins, icon: HandCoins,
action: () => openInTryton("account.invoice", undefined, ['tree']) action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'out']])
}, },
]; ];
@@ -178,7 +178,7 @@ const cards = [
value: inv_p, value: inv_p,
trend: "-2% this week", trend: "-2% this week",
icon: Receipt, icon: Receipt,
action: () => openInTryton("account.invoice", undefined, ['tree']) action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'in']])
}, },
{ {
id: "sale_invoices", id: "sale_invoices",
@@ -186,7 +186,7 @@ const cards = [
value: inv_s, value: inv_s,
trend: "+2% this week", trend: "+2% this week",
icon: FileText, icon: FileText,
action: () => openInTryton("account.invoice", undefined, ['tree']) action: () => openInTryton("account.invoice", undefined, ['tree','form'],[['type', '=', 'out']])
}, },
{ {
id: "payments_to_validate", id: "payments_to_validate",
@@ -194,7 +194,7 @@ const cards = [
value: move_cash, value: move_cash,
trend: "+12% this week", trend: "+12% this week",
icon: HandCoins, icon: HandCoins,
action: () => openInTryton("account.move", undefined, ['tree']) action: () => openInTryton("account.move", undefined, ['tree','form'],[['journal', '=', 3]])
}, },
// { // {
// id: "prepayments", // id: "prepayments",