QUIK: автоподбор счёта — устойчив к разным колонкам; отчёт свёрнут

- quikDetectAccounts: Export не имеет колонки QuikFirm (ошибка 207 Invalid column
  name) — запросы по Actions/Export выполняются по отдельности, источник без нужной
  колонки пропускается.
- «Полный ответ сервера (последняя проверка)» свёрнут в details, чтобы не прятать
  настройки ниже.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7eREaYwUt1i4fNLZcGnjn
This commit is contained in:
fontvielle
2026-10-20 15:58:27 +03:00
parent 9397af94a9
commit a13c9d6184
2 changed files with 35 additions and 22 deletions
@@ -77,13 +77,14 @@
{{if .Settings.Quik.LastReport}}
<div class="card">
<h2>Полный ответ сервера (последняя проверка)</h2>
<p class="muted">Можно выделить и скопировать целиком — для отправки коллегам/аутсорсеру QUIK.
{{if not .Settings.Quik.LastAt.IsZero}}Проверка от {{.Settings.Quik.LastAt.Format "02.01.2006 15:04:05"}} UTC.{{end}}</p>
<details>
<summary style="cursor:pointer;font-weight:600;font-size:16px">Полный ответ сервера (последняя проверка){{if not .Settings.Quik.LastAt.IsZero}} · проверка от {{.Settings.Quik.LastAt.Format "02.01.2006 15:04:05"}} UTC{{end}}</summary>
<p class="muted" style="margin-top:8px">Можно выделить и скопировать целиком — для отправки коллегам/аутсорсеру QUIK.</p>
<div style="display:flex;gap:8px;margin:8px 0">
<button type="button" class="btn" onclick="var t=document.getElementById('quik-report').textContent;window.bjCopy(t);this.textContent='Скопировано ✓';setTimeout(()=>this.textContent='Скопировать отчёт',1500)">Скопировать отчёт</button>
</div>
<pre id="quik-report" style="white-space:pre-wrap;word-break:break-word;background:var(--surface-2,#0d1117);color:var(--code-fg,#c9d1d9);padding:14px;border-radius:8px;font-size:12.5px;line-height:1.5;overflow:auto;max-height:420px;user-select:all">{{.Settings.Quik.LastReport}}</pre>
</details>
</div>
{{end}}
{{end}}