{{#each inventory.sections as |section|}}
{{section.label}}
{{#if (or @root.inventory.showValueAlways (includes section.types "treasure"))}}
{{~#if @root.inventory.showUnitBulkPrice~}}
{{localize "PF2E.Actor.Inventory.UnitTitle.Price"}}
{{~else~}}
{{localize "PF2E.ValueLabel"}}
{{~/if~}}
{{/if}}
{{localize "PF2E.QuantityLabel"}}
{{~#if @root.inventory.showUnitBulkPrice~}}
{{localize "PF2E.Actor.Inventory.UnitTitle.Bulk"}}
{{~else~}}
{{localize "PF2E.Item.Physical.Bulk.Label"}}
{{~/if~}}
{{#if @root.editable}}
{{else if (ne @root.actor.type "loot")}}
{{/if}}
{{#each section.items as |rowData|}}
{{#if (or (not rowData.hidden) @root.document.isOwner)}}
{{> (resolvePath "templates/actors/partials/item-line.hbs") this=rowData}}
{{/if}}
{{/each}}
{{/each}}