{{#each inventory.sections as |section|}}

{{section.label}}

{{#if (and (eq section.type "equipment") @root.inventory.invested)}} {{localize "PF2E.InvestedLabel"}} ({{@root.inventory.invested.value}}/{{@root.inventory.invested.max}}) {{/if}} {{#if (or @root.inventory.showValueAlways (eq section.type "treasure"))}} {{localize "PF2E.ValueLabel"}} {{/if}} {{localize "PF2E.QuantityLabel"}} {{#if (ne @root.actor.type "npc")}} {{localize "PF2E.BulkShortLabel"}} {{/if}} {{#if @root.editable}}
{{/if}}
    {{#each section.items}} {{> "systems/pf2e/templates/actors/partials/item-line.hbs" this=this editable=@root.editable owner=@root.owner user=@root.user}} {{/each}}
{{/each}}