<h1 class="text-left"><b>{%= __("BOM Stock Report") %}</b></h1>
<h5 class="text-left">{%= filters.bom %}</h5>
<h5 class="text-left">{%= filters.warehouse %}</h5>
<hr>

<table class="table table-bordered">
	<thead>
		<tr>
			<th style="width: 15%">{%= __("Item") %}</th>
			<th style="width: 35%">{%= __("Description") %}</th>
			<th style="width: 14%">{%= __("Required Qty") %}</th>
			<th style="width: 13%">{%= __("In Stock Qty") %}</th>
			<th style="width: 23%">{%= __("Enough Parts to Build") %}</th>
		</tr>
	</thead>
	<tbody>
        {% for(var i=0, l=data.length; i<l; i++) { %}
        <tr>
            <td>{%= data[i][ __("Item")] %}</td>
            <td>{%= data[i][ __("Description")] %} </td>
            <td align="right">{%= data[i][ __("Required Qty")] %} </td>
            <td align="right">{%= data[i][ __("In Stock Qty")] %} </td>
            <td align="right">{%= data[i][ __("Enough Parts to Build")] %} </td>
        </tr>
        {% } %}
	</tbody>
</table>
