mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
26 lines
633 B
Plaintext
26 lines
633 B
Plaintext
- content_for :page_title do
|
|
= t(:new_order)
|
|
\#
|
|
= @order.number
|
|
|
|
- content_for :page_actions do
|
|
%li= button_link_to t(:back_to_orders_list), spree.admin_orders_path, :icon => 'icon-arrow-left'
|
|
|
|
= admin_inject_shops(module: 'admin.orders')
|
|
= admin_inject_order_cycles
|
|
|
|
= render 'spree/admin/shared/order_tabs', :current => 'Order Details'
|
|
|
|
= csrf_meta_tags
|
|
|
|
%div
|
|
= render 'spree/shared/error_messages', :target => @order
|
|
|
|
%div{"ng-app" => "admin.orders", "ng-controller" => "orderCtrl"}
|
|
%div{"ng-show" => "distributionChosen()"}
|
|
= render 'add_product'
|
|
|
|
- unless @order.line_items.any?
|
|
%div
|
|
= render 'form'
|