foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire.html

39 lines
1.4 KiB
HTML
Raw Normal View History

2023-01-01 22:21:30 +01:00
<h4>Boutique</h4>
<span class="item-name">
{{#if options.isGM}}
<a class="chat-card-button creer-un-objet" data-tooltip="Créer un nouvel objet dans la boutique">Nouvel objet</a>
2023-01-01 22:21:30 +01:00
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
{{/if}}
2023-02-07 18:05:25 +01:00
<span class="embed-inline">
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder=""/>
</span>
2023-01-01 22:21:30 +01:00
{{#unless system.illimite}}
2023-01-01 22:21:30 +01:00
{{#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}}
2023-01-01 22:21:30 +01:00
<span class="equipement-detail">Quantité</span>
{{/unless}}
<span class="equipement-detail">Prix (sols)</span>
<span class="equipement-actions">Actions</span>
</li>
{{#each (trier inventaires) as |item id|}}
2023-01-01 22:21:30 +01:00
{{#unless item.estContenu}}
{{#if (ne item.type 'conteneur')}}
{{buildLigneInventaire item ../options}}
{{/if}}
2023-01-01 22:21:30 +01:00
{{/unless}}
{{/each}}
2023-05-28 22:00:04 +02:00
{{#each (trier conteneurs) as |conteneur id|}}
{{buildLigneInventaire conteneur ../options}}
2023-01-01 22:21:30 +01:00
{{/each}}
</ul>