Sha256: 61daaca392a8b1334753c0f9c8d9aadfbada5a228212bd185792238587d7b9db

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

<div class="ui segment top attached">
  <p><%= @order.buyer.name %></p>
  <p><%= @order.user.name %> <%= @order.user.email %></p>
  <p>
    <span class="ui blue label"><%= @order.buyer.payment_strategy&.name %></span>
    <% if @order.buyer.deposit_ratio %>
      <span class="ui orange label">Deposit Ratio: <%= @order.buyer.deposit_ratio %>%</span>
    <% end %>
  </p>
</div>

<%= render partial: 'error_messages', locals: { target: @order } %>

<%= render partial: 'new_items', locals: { order: @order } %>


<%= render partial: 'rails_trade_admin/orders/addresses', locals: { addresses: @order.user.addresses.transport } %>
<%= render partial: 'rails_trade_admin/orders/invoice_addresses', locals: { addresses: @order.user.addresses.invoice } %>


<div class="ui center aligned segment">
  <%= submit_tag '确认订单', class: 'ui red button', form: 'new_order' %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/orders/new.html.erb