Commit Graph

9 Commits

Author SHA1 Message Date
Samer Salameh 28e629ccac Jobs, OneSignal push, registrar, receipts, GN communication, report loading card
- OneSignal push ported from MobileNotification.cfc (REST, MOBILENOTIFICATIONSLOG)
- Jobs: refinery-oil-sync, refinery-daily-exchange-report, josilos-integration (built-in SMTP mail service; all off until configured)
- Registrar (التسجيل العام): driver / truck / trailer licences from the mobile app (GOO screens, reports SU only), push on confirm / reject
- Receipts (سندات القبض والمطالبات المالية): list, create, confirm, paid, cancel flow, print, Excel, audit, log
- GN communication (شاشة موظف الاتصالات): answers grid, blacklist action, Excel
- Blocking "generating the report" card for all Excel downloads; MetaForm onFieldChange hook
- Menu captions: تسجيل التموين, التسجيل العام; compact scheduled jobs cards
- db/registrar-, receipts-, communication-permissions.sql; docs updated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 10:44:14 +03:00
Samer Salameh dc72cf2869 Refinery wage claims: the claim screen تسديد keeps the legacy close (trips COMPLETE); the grid action only changes the claim status
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 12:03:32 +03:00
Samer Salameh 90260edd8e Refinery wage claims: status change allowed when the commission claim is new (was: refused whenever one existed)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 11:48:54 +03:00
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 ef0e72ff9d Refinery: REFINERY_OP grants, legacy-style reports, الحوالات report, cards log and pricing list fixes
- db/refinery-op-permissions.sql (re-runnable, listed in docs/ENVIRONMENTS.md): role REFINERY_OP gets the
  الارساليات screen, the شحن الديزل report, print and the payment actions (13 keys)
- Excel reports of the trips screen (trips, diesel balances) use the legacy report.cfc layout: right-to-left sheet,
  Arial Unicode MS, centred cells, navy headers, filters row, legacy column widths
- "الارساليات - الصرف" is now الحوالات: asks for the bank account number (required on the server too) and follows
  the legacy bank report output (banner, account block with total, 13 columns), only the legacy filters apply
- Diesel cards view: movements log collapsed by default and fetched on open, Arabic pager, aligned columns
- تسعير عطاء النفط الخام: no default month filter, newest period first
- tests for the workbook layouts, the filters row and the bank-account requirement

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 16:27:29 +03:00
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 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