| Название | Тип | Валюта | Баланс | Лимит | Статус | |
|---|---|---|---|---|---|---|
| {a.name} | +{a.account_type?.name} | +{a.currency?.code} {a.currency?.symbol} | += 0 ? "var(--success)" : "var(--danger)" }}> + {fmt(a.balance)} + | +{a.credit_limit ? fmt(a.credit_limit) : "—"} | +{a.is_active ? "Активен" : "Закрыт"} | +
+
+
+
+
+ |
+
| ID | Логин | Роль | Статус | Создан | ||
|---|---|---|---|---|---|---|
| {u.id} | +{u.username}{u.id === me.id && (Вы)} | +{u.email} | ++ + | ++ + | +{u.created_at ? format(new Date(u.created_at), "dd.MM.yyyy") : "—"} | ++ {u.id !== me.id && ( + + )} + | +
| Код | Название | Символ | Статус | |
|---|---|---|---|---|
| {c.code} | +{c.name} | +{c.symbol} | +{c.is_active ? "Активна" : "Отключена"} | +
+
+
+
+
+ |
+
| Счёт | Тип | Валюта | Баланс | Статус |
|---|---|---|---|---|
| {a.name} | +{a.account_type?.name} | +{a.currency?.code} | +{fmt(parseFloat(a.balance))} {a.currency?.symbol} | +{a.is_active ? "Активен" : "Закрыт"} | +
| Дата | Из | В | Курс | Источник | |
|---|---|---|---|---|---|
| {r.rate_date} | +{r.currency_from?.code} {r.currency_from?.name} | +{r.currency_to?.code} {r.currency_to?.name} | +{parseFloat(r.rate).toFixed(4)} | +{r.source || "—"} | ++ |
| Название | Тип | Город | Страна | Адрес | |
|---|---|---|---|---|---|
| {TYPE_ICONS[l.type] || "📍"}{l.name} | +{TYPE_LABELS[l.type] || l.type} | +{l.city || "—"} | +{l.country || "—"} | +{l.address || "—"} | +
+ {l.user_id && (
+
+
+
+
+ )}
+ |
+
| Дата | Счёт | Тип | Категория | Сумма | Описание | Статус | |
|---|---|---|---|---|---|---|---|
| {o.date ? format(new Date(o.date), "dd.MM.yy HH:mm") : "—"} | +{accounts.find(a => a.id === o.account_id)?.name || o.account_id} | +{typeLabel[typeName(o.operation_type_id)] || "—"} | +{o.category?.name || "—"} | ++ {typeName(o.operation_type_id) === "expense" ? "−" : "+"}{fmt(o.amount)} {o.currency?.symbol} + | +{o.description || "—"} | +{o.is_planned ? "План" : "Факт"} | +
+
+
+
+
+ |
+
| Дата | -Категория | -Описание | -Сумма | -Действия | -
|---|---|---|---|---|
| {{ t.date.strftime('%d.%m.%Y') }} | -{{ t.category }} | -{{ t.description }} | -- {{ t.amount|int }} ₽ - | -- - - - - - - | -
| Нет операций | -||||