<a name="customersByRevenueAnchor"></a>
<div style="text-align:right; display: {{ HideStatsRows|safe }}">
<div class="panel panel-color panel-primary">
	<div class="panel-body pn">
		<div class="table-responsive">
			<table width="100%" border="0" cellspacing="1" cellpadding="5" class="table table-striped">
				<thead>
					<tr>
						<th align="left">
							{% lang 'StatsCustomerName' %} &nbsp;
							{{ SortLinksCust|safe }}
						</th>
						<th align="left">
							{% lang 'StatsEmail' %} &nbsp;
							{{ SortLinksEmail|safe }}
						</th>
						<th align="left">
							{% lang 'StatsDateJoined' %} &nbsp;
							{{ SortLinksDate|safe }}
						</th>
						<th align="right">
							{% lang 'StatsOrders' %} &nbsp;
							{{ SortLinksNumOrders|safe }}
						</th>
						<th align="right">
							{% lang 'StatsAmountSpent' %} &nbsp;
							{{ SortLinksAmountSpent|safe }}
						</th>
					</tr>
				</thead>

				<tbody>
					{{ CustomerGrid|safe }}
				</tbody>
			</table>
		</div>
	</div>
</div>
{{ JumpToRevenuePerCustomerGrid|safe }}