stock/templates/result_kit_componants.html

27 lines
1.6 KiB
HTML
Raw Permalink Normal View History

<div class='main_block'>
<text style='margin-top: 10px;'>Résultat:</text>
<div class='row_block border_bottom'>
<label style='width: 200px;'>Référence</label>
<label class='border_left' style='width: 449px;'>Désignation</label>
<label class='border_left' style='width: 99px;'>Quantité</label>
<label class='border_left' style='width: 149px;'>Emplacement</label>
<label class='border_left' style='width: 99px; cursor: default;'>Action</label>
</div>
{% set row_class = cycler('odd', 'even') %}
{% for componant in componants %}
<div class='row_block {{ row_class.next() }}'>
2017-10-29 18:31:14 +11:00
<text style='width: 190px;' title='{{ componant.reference }}'>{{ componant.reference }}</text>
<text class='border_left' style='width: 439px;' title='{{ componant.designation }}'>{{ componant.designation }}</text>
<text class='num border_left' style='width: 89px;'>{{ componant.quantity }}</text>
2017-10-29 18:31:14 +11:00
<text class='num border_right border_left' style='width: 139px;' title='{{ componant.place }}'>{{ componant.place }}</text>
<div class='action_bar_block border_left' style='width: 89px;'>
<input
type='image'
src='/static/images/add.png'
title='Ajouter au kit'
onclick='javascript:add_kit_componant({{ kit_id }}, {{ componant.id }});'/>
</div>
</div>
{% endfor %}
</div>