Sha256: 6da9e30d621a82d84f507fbe08489f3a4bdf0016c107aeef899726662703a79b

Contents?: true

Size: 841 Bytes

Versions: 6

Compression:

Stored size: 841 Bytes

Contents

%p#notice= notice
%h1=I18n.t('stripe_wrapper.models.customers.other')
%table.table.breakable-table.table-striped
  %thead
    %tr
      %th User
      %th Customer
      %th Account balance
      %th Currency
      %th Default source
      %th Description
      %th Email
      %th{:colspan => "3"}
  %tbody
    - @customers.each do |customer|
      %tr
        %td=link_to customer.user,main_app.user_path(customer.user) if customer.user.present?()
        %td= customer.customer_id
        %td= customer.account_balance
        %td= customer.currency
        %td= customer.default_source
        %td= customer.description
        %td= customer.email
        %td= link_to 'Show', customer
        %td= link_to 'Edit', edit_customer_path(customer)
        %td= link_to 'Destroy', customer, method: :delete, data: { confirm: 'Are you sure?' }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stripe_wrapper-0.1.6 app/views/stripe_wrapper/customers/index.html.haml
stripe_wrapper-0.1.5 app/views/stripe_wrapper/customers/index.html.haml
stripe_wrapper-0.1.4 app/views/stripe_wrapper/customers/index.html.haml
stripe_wrapper-0.1.3 app/views/stripe_wrapper/customers/index.html.haml
stripe_wrapper-0.1.2 app/views/stripe_wrapper/customers/index.html.haml
stripe_wrapper-0.1.1 app/views/stripe_wrapper/customers/index.html.haml