Give undefined payment method tolerance to orders and distributors report

This commit is contained in:
Rohan Mitchell
2012-08-08 15:30:25 +10:00
parent 9dd94eaf57
commit 3a391d1e76

View File

@@ -21,7 +21,7 @@ module OpenFoodWeb
order_and_distributor_details << [order.created_at, order.id,
order.bill_address.full_name, order.email, order.bill_address.phone, order.bill_address.city,
line_item.product.sku, line_item.product.name, line_item.variant.options_text, line_item.quantity, line_item.max_quantity, line_item.price * line_item.quantity, line_item.itemwise_shipping_cost,
order.payments.first.payment_method.name,
order.payments.first.payment_method.andand.name,
order.distributor.name, order.distributor.pickup_address.address1, order.distributor.pickup_address.city, order.distributor.pickup_address.zipcode, order.special_instructions ]
end
end