<h1>ORDER HISTORY ({{type}})</h1><br/>
<table border="1">
	<tr>
		<th>Tgl</th>
		<th>Tlp</th>
		<th>Nama</th>
		<th>Alamat</th>
		<th>Menu</th>
		<th>Total Harga</th>
		<th>Store</th>
		<th>Agent</th>
		<th>Status</th>
		<th>Delivery Time</th>
		<th>Finish Time</th>
	</tr>
	{% for d in report %}
	<tr valign="top">
		<td>{{d.date_detail.mday}}-{{d.date_detail.mon}}-{{d.date_detail.year}}</td>
		<td>{{d.customer_telepon}}&nbsp;</td>
		<td>{{d.nama}}</td>
		<td>{{d.alamat}}</td>
		<td>{% for m in d.menu %}<span class="menu_item_report">{{m.nama}} ({{m.jml}})</span><br/> {% endfor %}</td>
		<td>{{d.total | currency }}</td>
		<td>{{d.store_nama}}</td>
		<td>{{d.agent}}</td>
		<td>{{d.status}}</td>
		<td>{{d.delivered}}</td>
		<td>{{d.delivery_time}}</td>
	</tr>
	{% endfor %}
</table>