From c5229dd763b46a9cbdb340e1eafefba888e0dd03 Mon Sep 17 00:00:00 2001 From: Konstantin Shlyk Date: Wed, 11 Dec 2019 23:10:51 +0300 Subject: [PATCH] billing address in pdf invoice fixed --- app/views/spree/admin/orders/invoice2.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/spree/admin/orders/invoice2.html.haml b/app/views/spree/admin/orders/invoice2.html.haml index 837b2be21a..7964f80e56 100644 --- a/app/views/spree/admin/orders/invoice2.html.haml +++ b/app/views/spree/admin/orders/invoice2.html.haml @@ -44,14 +44,14 @@ %td{ :align => "right" } = t :invoice_billing_address %br - %strong= @order.ship_address.full_name + %strong= @order.bill_address.full_name - if @order.andand.customer.andand.code.present? %br = "Code: #{@order.customer.code}" %br - = @order.ship_address.address_part1 + = @order.bill_address.address_part1 %br - = @order.ship_address.address_part2 + = @order.bill_address.address_part2 = render 'spree/admin/orders/invoice_table2'