-
+
@@ -552,7 +552,7 @@ function DynamicsTab() {
setKontragent("")}
data-testid="option-dynamics-kontragent-all"
>
@@ -561,7 +561,7 @@ function DynamicsTab() {
{(filters?.kontragenty || []).map((k, idx) => (
setKontragent(k)}
data-testid={`option-dynamics-kontragent-${idx}`}
>
@@ -624,7 +624,7 @@ function DynamicsTab() {
-
+
| Контрагент |
Сумма Договора |
Оплачено |
@@ -635,7 +635,7 @@ function DynamicsTab() {
{kontragentData.map((row, i) => (
-
+
|
{formatCurrency(row.summadokumenta)} |
{formatCurrency(row.summaoplacheno)} |
diff --git a/client-di2/src/pages/expense-categories.tsx b/client-di2/src/pages/expense-categories.tsx
index f31cc48..3b42a05 100644
--- a/client-di2/src/pages/expense-categories.tsx
+++ b/client-di2/src/pages/expense-categories.tsx
@@ -485,7 +485,7 @@ export default function ExpenseCategories() {
return (
0 ? depthColors[Math.min(depth, 4)] + " ml-1" : ""}`}
style={depth > 0 ? { paddingLeft: `${depth * 20 + 8}px` } : undefined}
@@ -640,7 +640,7 @@ export default function ExpenseCategories() {
{addingTree && (
-
+
)}
{isTreeExpanded && (
-
+
{(treeCfg.mode ?? "split") === "split" && (
<>
@@ -1031,7 +1031,7 @@ export default function ExpenseCategories() {
return (
{isGroupExpanded && (
-
+
{[...group.cats].sort((a, b) => {
const aFolder = a.children && a.children.length > 0 ? 0 : 1;
const bFolder = b.children && b.children.length > 0 ? 0 : 1;
@@ -1064,7 +1064,7 @@ export default function ExpenseCategories() {
return (
setExpandedGroupIds(prev => {
const next = new Set(prev);
if (next.has("__manual__")) next.delete("__manual__");
@@ -1091,7 +1091,7 @@ export default function ExpenseCategories() {
{isManualExpanded && (
-
+
{[...manualCats].sort((a, b) => {
const aFolder = a.children && a.children.length > 0 ? 0 : 1;
const bFolder = b.children && b.children.length > 0 ? 0 : 1;
@@ -1143,7 +1143,7 @@ export default function ExpenseCategories() {
|