mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Change date value on order_and_distributor_report
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user