{{#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"))}} {{#if (eq @root.actor.type "loot")}} {{localize "PF2E.UnitPriceLabel"}} {{else}} {{localize "PF2E.ValueLabel"}} {{/if}} {{/if}} {{localize "PF2E.QuantityLabel"}} {{localize "PF2E.BulkShortLabel"}} {{#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}}