Sha256: 1a5ae033cfb6275b4316fb6515dda1689128b2b11acf39d19255fe7e1bb6d4df

Contents?: true

Size: 1.45 KB

Versions: 19

Compression:

Stored size: 1.45 KB

Contents

<div style="padding-right:20px;">

<% if @edituser %>
  <%= render :partial => 'caboose/users/admin_header' %>
<% else %>
  <h1>Edit Invoice #<%= @invoice.invoice_number %></h1>
<% end %>

<input type='hidden' name='invoice_id'    id='invoice_id'     value='<%= @invoice.id %>' />
<div id='overview_table'></div>
<div id='invoice_table'></div>
<div id='message'></div>
<div id='controls'></div>

<% if @edituser %>
  <%= render :partial => 'caboose/users/admin_footer' %>
<% end %>

</div>

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

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

</script>
<% end %>

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

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

td.td-loading {
  background-image: url("<%= asset_path '/assets/shared/loading.gif' %>") !important;
  background-size: 20px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: rgba(0,0,0,0.1) !important;
}
td.td-loading .mb_container {
  opacity: 0.1 !important;
}

</style>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
caboose-cms-0.9.229 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-1.0.2 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-1.0.1 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.228 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.227 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.226 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.225 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.224 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.223 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.222 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.221 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.220 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.219 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.218 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.217 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.216 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.215 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.214 app/views/caboose/invoices/admin_edit.html.erb
caboose-cms-0.9.213 app/views/caboose/invoices/admin_edit.html.erb