Commit Graph

3 Commits

Author SHA1 Message Date
Samer Salameh 84facf2ddf Refinery: role REFINERY_MGR instead of PTADM, translated trip log movements, titles without "شاشة", icon sections for commission claims
Wallet view header shows the truck number; the claim movement log opens by clicking its title.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 17:10:21 +03:00
Samer Salameh 4066151033 Refinery (المصفاة): port trips, wage claims, commission claims, wallets, variables and cards from AqabaTCS
New API slice under /api/v1/refinery (Dapper on the NAFITHTCS REFINERY_* tables), web screens under features/refinery,
Dinarak and Jopetrol gateways (off by default, secrets from env), remaining-balance recalculation after the ton price
correction, Excel reports (trips, operator, exchange, diesel, cards, bank). Access only through permission keys:
db/refinery-permissions.sql gives the 6 screens and all action keys to PTADM (SU always allowed).
Docs: docs/refinery-agent-brief.md, docs/refinery-db-objects.txt (legacy views and diesel functions), ENVIRONMENTS.md.
The REFINERY_OIL import job and the daily totals email job are not ported.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 16:41:19 +03:00
Samer Salameh a318d2b2f0 Grid filter panel: Arabic captions "البحث" for the title and the apply button
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 16:41:18 +03:00