Sha256: cc9742af4caaa9340d39137e7bee21ccce43ce47ab0c024dcdea3f3ed78fbae1

Contents?: true

Size: 1.81 KB

Versions: 195

Compression:

Stored size: 1.81 KB

Contents

<input type='hidden' name='order_id'    id='order_id'     value='<%= @order.id %>' />

<h1>Edit Order #<%= @order.id %></h1>

<div id='overview_table'></div>
<div id='order_table'></div>
<div id='message'></div>
<div id='controls'></div>

<!--
<p>
<input type='button' value='< Back' onclick="window.location='/admin/orders';" />
<% if @order.financial_status == Caboose::Order::FINANCIAL_STATUS_AUTHORIZED && @order.total > 0.00 %>
  <input type='button' value='Capture Funds' onclick="controller.capture_funds();" />
  <input type='button' value='Void'          onclick="controller.void_order();" />
<% end %>
<% if @order.financial_status == Caboose::Order::FINANCIAL_STATUS_CAPTURED && @order.total > 0.00 %>
  <input type='button' value='Refund' onclick="refund_order(<%= @order.id %>);" />
<% end %>
<input type='button' value='Resend Confirmation' onclick="resend_confirmation(<%= @order.id %>)" />
<input type='button' value='Add Item'            onclick="controller.add_variant();" />
<input type='button' value='Print Order'         onclick="controller.print_order(<%= @order.id %>);" />

<% str = Caboose.plugin_hook('admin_edit_order_buttons', "", @order) %>
<% if str %><%= raw str %><% end %>
</p>
-->

<% content_for :caboose_js do %>
<%= javascript_include_tag 'caboose/model/all' %>
<%= javascript_include_tag 'caboose/admin_edit_order' %>
<script type='text/javascript'>

var controller = false;
$(document).ready(function() {
  controller = new OrderController({ 
    order_id: <%= raw Caboose.json(@order.id) %>,
    authenticity_token: <%= raw Caboose.json(form_authenticity_token) %>
  });
});

</script>
<% end %>

<% content_for :caboose_css do %>
<style type='text/css'>

table.shipping_address td,
table.billing_address td {
  padding: 0 !important; 
  margin: 0 !important; 
  border: 0 !important; 
}

</style>
<% end %>

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
caboose-cms-0.7.3 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.7.2 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.7.1 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.36 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.35 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.34 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.33 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.32 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.31 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.30 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.29 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.28 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.27 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.26 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.25 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.24 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.23 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.22 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.21 app/views/caboose/orders/admin_edit.html.erb
caboose-cms-0.6.20 app/views/caboose/orders/admin_edit.html.erb