Display both phone number and email to the alternative invoice

This commit is contained in:
Jean-Baptiste Bellet
2022-05-17 12:10:41 +02:00
parent 9992f9c83b
commit d28545a7b2

View File

@@ -66,6 +66,12 @@
%br
- if @order.bill_address
= @order.bill_address.address_part2
- if @order.bill_address.phone.present?
%br
= @order.bill_address.phone
- if @order&.customer&.email.present?
%br
= @order.customer.email
= render 'spree/admin/orders/invoice_table2'