Change date value on order_and_distributor_report

This commit is contained in:
François Turbelin
2020-05-05 10:46:17 +02:00
parent 9cfd7db99d
commit 6e5cbebf4a
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ module OpenFoodNetwork
# @return [Array]
def row_for(line_item, order)
[
order.created_at,
order.completed_at.strftime("%F %T"),
order.id,
order.bill_address.full_name,
order.email,

View File

@@ -38,7 +38,7 @@ module OpenFoodNetwork
table = subject.table
expect(table[0]).to eq([
order.reload.created_at,
order.reload.completed_at.strftime("%F %T"),
order.id,
bill_address.full_name,
order.email,