{% extends '../../template.html' %}
{% block title %}Report - Customer Data Profile{% endblock %}
{% block subcontent %}
<h1>Report - Customer Data Profile</h1>
<form method="get">
	<b>Search: <input type="text" id="find" name="find" value="{{find}}"/></b>
	<input type="submit" value="Go"/>
</form>
<h2><a href="{% nav admin_report_costumer_xls %}">export</a></h2><br/>

<table class="data">
	<tr>
		<th>Telepon</th>
		<th>Nama</th>
		<th>Alamat</th>
		<th>Total Order</th>
		<th>Success Order</th>
		<th>Total Komplain</th>
		<th>Total Remark</th>
	</tr>
	{% for d in data %}
	<tr>
		<td>{{d.telepon}}</td>
		<td>{{d.nama}}</td>
		<td>{{d.alamat}}</td>
		<td>{{d.total_order}}</td>
		<td>{{d.total_success}}</td>
		<td>{{d.total_komplain}}</td>
		<td>{{d.total_remark}}</td>
	</tr>
	{% endfor %}
</table>

{% for p in page %}
<a href="{{ p.link }}" class="{% if p.active == 'yes' %}active{% endif %} page">{{ p.number }}</a>
{% endfor %}

{% endblock %}
