Commit Graph

5 Commits

Author SHA1 Message Date
Samer Salameh 6027edb98b Refinery wage claims: close / reopen change only the REFINERY_WAGE_CLAIM record, trips keep their status
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 11:40:26 +03:00
Samer Salameh ab0d26fbf5 Refinery wage claims: تقرير الملخص (one-row summary of a claim in the legacy Excel layout)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 10:55:44 +03:00
Samer Salameh 2cdb74f082 Refinery: wage claim row action (new -> close, close -> new), translated log details, hide filled statuses from trips filter
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 10:45:28 +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