2020-12-01 22:18:15 +01:00
|
|
|
<li class="item flexrow list-item" data-item-id="{{item._id}}">
|
|
|
|
<img class="sheet-competence-img" src="{{item.img}}" title="{{item.name}}"/>
|
|
|
|
|
|
|
|
{{#if (eq item.type 'conteneur')}}
|
2021-04-06 23:36:35 +02:00
|
|
|
<span class="item-name conteneur-name flex-grow"><a data-item-id="{{item._id}}">+{{item.name}}</a></span>
|
2020-12-01 22:18:15 +01:00
|
|
|
{{else}}
|
2021-04-06 23:36:35 +02:00
|
|
|
<span class="item-name flex-grow">{{item.name}}</span>
|
2020-12-01 22:18:15 +01:00
|
|
|
{{/if}}
|
|
|
|
<span class="item-quantite">{{item.data.quantite}}</span>
|
|
|
|
<span class="item-quantite">{{numberFormat item.data.encTotal decimals=2}}</span>
|
2021-04-06 23:36:35 +02:00
|
|
|
<div class="item-controls flex-grow">
|
2020-12-01 22:18:15 +01:00
|
|
|
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
|
|
|
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
2021-04-06 23:36:35 +02:00
|
|
|
{{#if (eq item.type 'nourritureboisson')}}
|
|
|
|
<a class="item-name item-consommer">Consommer</a>
|
|
|
|
{{/if}}
|
2020-12-01 22:18:15 +01:00
|
|
|
</div>
|
|
|
|
</li>
|