- @page_title = "#{t('tienda.orders.despatch_note.order_number')} #{@order.number}" .despatchNote %header %h1= Tienda.settings.store_name %h2= t("tienda.orders.despatch_note.despatch_note") .address %p.name= @order.delivery_name %p= @order.delivery_address1 %p= @order.delivery_address2 %p= @order.delivery_address3 %p= @order.delivery_address4 %p= @order.delivery_postcode %p= @order.delivery_country.try(:name) %table.details %tr %th= t("tienda.orders.despatch_note.order_number") %th= t("tienda.orders.despatch_note.order_placed") %th= t("tienda.orders.despatch_note.total_weight") %th= t("tienda.orders.despatch_note.telephone") %tr %td= @order.number %td= @order.received? ? @order.received_at.to_s(:long) : 'n/a' %td= number_to_weight @order.total_weight %td= @order.phone_number %table.items %thead %tr %th= t("tienda.orders.despatch_note.quantity") %th= t("tienda.orders.despatch_note.product") %th= t("tienda.orders.despatch_note.sku") %th= t("tienda.orders.despatch_note.weight") %th= t("tienda.orders.despatch_note.packed?") %tbody - for item in @order.order_items %tr %td= item.quantity %td= item.ordered_item.full_name %td= item.ordered_item.sku %td= number_to_weight item.weight %td.check %p.footer= t('tienda.orders.despatch_note.footer', :default => "Thank you for your order!")