ixg_platform/apps
ixgadmin 7d7248a23b Add an intake screen to the ops portal
Harvest intakes could only be recorded in the administration area or through the
API, so the first record the business actually creates was entered outside the
portal it works in. Add list, create and correct screens under Harvest Intakes.

The form is deliberately stricter than the model. HarvestIntake allows almost
everything to be blank because records also arrive by API, and the platform
copes by flagging the gaps later — the EUDR completeness check has an intake
data test whose whole job is to catch a missing date or weight. The form
therefore requires every field those checks read: reference, collector group,
origin zone, date, weight and grade.

Three things it does beyond capturing the fields: it suggests the next intake
reference for the year (editable, since it may have to match a weighbridge
ticket), fills the origin zone in from the collector group while leaving it
editable, and refuses a duplicate reference — including one differing only in
case. It queries, rather than blocks, when the chosen zone is not the one the
group is registered to, and it marks unverified zones in the dropdown, because
geolocation passes only for a verified zone.

Correcting amends the record in place: the reference a buyer or auditor quotes
does not change.
2026-09-17 13:45:39 +00:00
..
ai Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
batches Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
buyer Serve document and certificate files through a permission-checked download 2026-09-17 12:44:52 +00:00
capa Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
compliance Serve map tiles from our own origin 2026-09-17 13:00:59 +00:00
core Add an intake screen to the ops portal 2026-09-17 13:45:39 +00:00
documents Serve document and certificate files through a permission-checked download 2026-09-17 12:44:52 +00:00
esg Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
guides Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00
notifications Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
ops Add an intake screen to the ops portal 2026-09-17 13:45:39 +00:00
qc P99C: compliance automation - CoA auto-generation and EUDR due diligence 2026-08-05 13:58:39 +00:00
shipments Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
subscriptions Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
users Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
__init__.py P99C: compliance automation - CoA auto-generation and EUDR due diligence 2026-08-05 13:58:39 +00:00