Workflow-App/Workflow/app
sjcoetzeesj-coder 2f01b55d5a feat(sars): end-of-month submission tick-boxes on SARS registrations
Add a simple yes/no tick box on the far right of every table in the
SARS registrations tab, so SJ can tick off each client as the period's
return is filed and confirm nothing was missed at end of month.

- New PB collection sars_submission_flags (pbc_3539276419): company
  relation, return_type select, period (YYYYMM), submitted bool,
  submitted_at date. One row per (company, return_type, period).
- New route /api/sars-submission-flags with GET (list), POST (upsert,
  server owns submitted_at) and DELETE (Clear all for a period).
  Hard-allowlisted fields and a fixed collection id.
- Explorer gains a period banner, a submitted/total counter, a
  Submitted column on desktop and a tick box on the mobile cards,
  and a Clear all button guarded by a confirm.

The counter is scoped to the rows actually on screen. A flag can
outlive the filter that surfaced its company (a client can lose its
PAY/E number), and counting those made the banner read 4/18 while
only 3 boxes were ticked.

Period is the current month and rolls over on its own; Clear all is
what resets a type between periods. Per-month history is deliberately
out of scope for this first pass.
2026-10-20 12:30:06 +02:00
..
(public) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
(public-register) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
api feat(sars): end-of-month submission tick-boxes on SARS registrations 2026-10-20 12:30:06 +02:00
bizportal feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
bizportal-2 feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
cipc fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
cipc-2 fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
companies feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
compliance feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
directors feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
groups feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
login feat(auth): password gate replacing the IP-only middleware guard 2026-10-18 18:39:27 +02:00
notes fix(notes): sort by -id instead of -created (PB 400 on fresh collection sort=created) 2026-09-17 13:19:15 +02:00
onboarding feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
registrations feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolutions feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolve-sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sars-registrations feat(sars): end-of-month submission tick-boxes on SARS registrations 2026-10-20 12:30:06 +02:00
sars-returns feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
step2/[id] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
tasks feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
voice-demo feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
global-error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
globals.css feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
icon.png feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
layout.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
not-found.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
page.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
providers.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00