Требования бухгалтерии: правки Анастасии, fraud и chargeback к контракту в виде утверждений, задание ассистенту менеджера
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m43s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 16:01:00 +03:00
parent 47f060c0b2
commit 4d7e1487e9
4 changed files with 110 additions and 17 deletions

View File

@@ -12,4 +12,5 @@
| stage | text | да | стадия работ |
| total_amount | numeric(14,2) | нет | сумма контракта |
| paid_amount | numeric(14,2) | нет | накоплено оплат (default 0) |
| retained_amount | numeric(14,2) | нет | удержания по chargeback к контракту (default 0): сумма `retained_amount` строк `acc_chargeback` вида `contract` со статусом `applied`; пересчитывает accounting_automation. Остаток к оплате = `total_amount` - `retained_amount` - `paid_amount` |
| drive_file_id | text | да | файл договора в Google Drive |