{{#each inventory.sections as |section|}}
{{section.label}}
{{#if (and (includes section.types "equipment") @root.inventory.invested)}}
{{localize "PF2E.InvestedLabel"}} ({{@root.inventory.invested.value}}/{{@root.inventory.invested.max}})
{{/if}}
{{#if (or @root.inventory.showValueAlways (includes section.types "treasure"))}}
{{#if (eq @root.actor.type "loot")}}
{{localize "PF2E.UnitPriceLabel"}}
{{else}}
{{localize "PF2E.ValueLabel"}}
{{/if}}
{{/if}}
{{localize "PF2E.QuantityLabel"}}
{{localize "PF2E.Item.Physical.Bulk.Label"}}
{{#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}}