Update TOOLS.md freescout section to match current CLI
This commit is contained in:
parent
55cfcce496
commit
e935eb8883
1 changed files with 5 additions and 3 deletions
8
TOOLS.md
8
TOOLS.md
|
|
@ -184,15 +184,17 @@ Helper script: `~/bin/freescout`
|
|||
freescout mailboxes # List mailboxes
|
||||
freescout users # List users
|
||||
freescout report --from DATE --to DATE # Show time report (tab-separated)
|
||||
[--mailbox ID] [--user ID]
|
||||
[--mailbox ID] [--user ID] [--customer NAME]
|
||||
freescout excel --from DATE --to DATE # Generate invoice Excel
|
||||
[--mailbox ID] [--user ID] [--output file.xlsx]
|
||||
[--mailbox ID] [--user ID] [--customer NAME] [--output file.xlsx]
|
||||
```
|
||||
|
||||
- Credentials: `.credentials/services.env` (CLOONAR_DB_* + FREESCOUT_DB_NAME)
|
||||
- Queries timelogs table directly (API doesn't expose time tracking)
|
||||
- Excel groups by conversation, shows subject, customer, hours
|
||||
- Excel groups by conversation, shows subject, customer, website, hours
|
||||
- Customer and Website are custom field dropdowns (resolved to labels)
|
||||
- `time_spent` is stored in seconds, displayed as decimal hours
|
||||
- Only timelogs within the date range are counted (not conversation dates)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue