Grants

{{ if .Error }} {{ else }} {{ if eq (len .Grants) 0 }}

No grants found.

{{ if eq (len .Products) 0 }}

A grant delivers a published product to an organization, but no product has been published yet. Go to Products to publish one.

{{ else }}

Grants are issued from each organization's detail page, not from here.

{{ end }}
{{ else }}

Grants are the issuance ledger, not the delivery record: Ledger is when and why a grant was recorded (and whether it was later revoked or expired). Delivery is derived by joining each grant to its pool provision — at most one grant per ladder position is Live at a time; the rest are history.

{{ range .Grants }} {{ end }}
Organization Grant Target Qty Reason Ledger Delivery Created
{{ .OrgName }} {{ if .ProductName }}{{ .ProductName }} product{{ else }}{{ .EntitlementSetName }} set{{ end }} {{ .Quantity }} {{ .GrantReason }} {{ .Status }} {{ if eq .DeliveryState "live" }} Live {{ if .ExtendsLabel }}
extends {{ .ExtendsLabel }}{{ end }} {{ else if eq .DeliveryState "superseded" }} Superseded {{ if .ReplacedByLabel }}
replaced by {{ .ReplacedByLabel }}{{ end }} {{ else }} Inactive {{ end }}
{{ .CreatedAt }}

Total: {{ len .Grants }} grants

{{ end }} {{ end }}