mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fixed error introduced in ff3c5dc
This commit is contained in:
@@ -227,6 +227,7 @@ class ImportView(EventPermissionRequiredMixin, TemplateView):
|
|||||||
order = orders[row['code']]
|
order = orders[row['code']]
|
||||||
row['order'] = order
|
row['order'] = order
|
||||||
if order.status == Order.STATUS_PENDING:
|
if order.status == Order.STATUS_PENDING:
|
||||||
|
amount = Decimal(row['amount'])
|
||||||
if amount != order.total:
|
if amount != order.total:
|
||||||
row['class'] = 'danger'
|
row['class'] = 'danger'
|
||||||
row['message'] = _('Found wrong amount. Expected: %s' % str(order.total))
|
row['message'] = _('Found wrong amount. Expected: %s' % str(order.total))
|
||||||
|
|||||||
Reference in New Issue
Block a user