Change date displayed on sales_tax reports

This commit is contained in:
François Turbelin
2020-05-03 17:57:20 +02:00
parent bcfa8982ef
commit 9cfd7db99d

View File

@@ -57,7 +57,7 @@ module OpenFoodNetwork
totals = totals_of order.line_items
shipping_cost = shipping_cost_for order
[order.number, order.created_at, totals[:items], totals[:items_total],
[order.number, order.completed_at.strftime("%F %T"), totals[:items], totals[:items_total],
totals[:taxable_total], totals[:sales_tax], shipping_cost, order.shipping_tax, order.enterprise_fee_tax, order.total_tax,
order.bill_address.full_name, order.distributor.andand.name]
end