%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" />
<%block name="title">
${_("Download Purchase Report")}%block>
${_("Download CSV of purchase data")}
% if date_fmt_error:
${_("There was an error in your date input. It should be formatted as YYYY-MM-DD")}
% endif
% if total_count_error:
${_("There are too many results in your report.")} (>${settings.PAYMENT_REPORT_MAX_ITEMS}).
${_("Try making the date range smaller.")}
% endif