<h4>Boutique</h4>
<span class="item-name">
  {{#if options.isGM}}
  <a class="chat-card-button creer-un-objet">Nouvel objet</a>
  <a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
  {{/if}}

  {{#unless system.illimite}}
  {{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> &hyphen;{{/if}}
  Encombrement: {{numberFormat calc.encTotal decimals=2}}
  {{#if (regle-optionnelle 'afficher-prix-joueurs')}}
  &hyphen; Valeur: {{numberFormat calc.prixTotalEquipement decimals=2}} Sols
  {{/if}}
  {{/unless}}
</span>
<ul class="item-list alterne-list">
  <li class="competence-header flexrow">
    <span class="equipement-nom">Nom</span>
    {{#unless system.illimite}}
    <span class="equipement-detail">Quantité</span>
    {{/unless}}
    <span class="equipement-detail">Prix (sols)</span>
    <span class="equipement-actions">Actions</span>
  </li>
  {{#each objets as |item id|}}
    {{#unless item.estContenu}}
    {{#if (ne item.type 'conteneur')}}
    {{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire-item.html"
      item=item vide=true ouvert=true options=../options}}
    {{/if}}
    {{/unless}}
  {{/each}}
  {{#each conteneurs as |conteneur id|}}
    {{buildConteneur conteneur 'actor/commerce-inventaire-item.html' ../options}}
  {{/each}}
</ul>