Sha256: 3abbc1c7f901bade4fce4c6d8449322740a58696f15f76aa6b570ab149ba5b53

Contents?: true

Size: 1.5 KB

Versions: 67

Compression:

Stored size: 1.5 KB

Contents

.leadsets-show.container
  .header
    %h2.title
      Leadset `#{@leadset.company_url}`
      = link_to '[~]', edit_leadset_path( @leadset )

  %ul
    %li <b>Email:</b> #{@leadset.email}
    %li <b>company_url</b>: #{@leadset.company_url}
    %li <b>customer_id</b>: #{@leadset.customer_id}


  %hr

  .row
    .col-md-6
      %h5.collapse-expand#invoicesList
        Invoices  (#{@leadset.invoices.length})
        = link_to '[+stripe]', new_invoice_stripe_path({ leadset_id: @leadset.id })
        = link_to '[+pdf]', new_invoice_pdf_path({ leadset_id: @leadset.id })

      = render '/wco/invoices/index_list', invoices: @invoices

      %p Next invoice number: #{@leadset.next_invoice_number}

      = form_tag create_monthly_invoice_for_leadset_path({ leadset_id: @leadset.id }) do
        %label Create invoice for month
        = text_field_tag 'month_on', nil, placeholder: 'YYYY-MM-DD'
        %label (replace ?)
        = check_box_tag 'replace'
        = submit_tag 'Go >', data: { confirm: 'Are you sure?' }
      %hr

    .col-md-6
      %h5.collapse-expand#subscriptionsList
        Subscriptions (#{@subscriptions.length})
        = link_to '[+wco]', new_subscription_path({ customer_id: @leadset.customer_id })
      %table.bordered
        %thead
          %tr
            %th Name
            %th Price
        - @subscriptions.each do |i|
          %tr
            %td= i.product.name
            %td= i.price
      %hr
  .row
    %h5.collapse-expand#leads Leads
    = render '/wco/leads/index', leads: @leads

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
wco_models-3.1.0.106 app/views/wco/leadsets/show.haml
wco_models-3.1.0.105 app/views/wco/leadsets/show.haml
wco_models-3.1.0.104 app/views/wco/leadsets/show.haml
wco_models-3.1.0.103 app/views/wco/leadsets/show.haml
wco_models-3.1.0.102 app/views/wco/leadsets/show.haml
wco_models-3.1.0.101 app/views/wco/leadsets/show.haml
wco_models-3.1.0.100 app/views/wco/leadsets/show.haml
wco_models-3.1.0.99 app/views/wco/leadsets/show.haml
wco_models-3.1.0.98 app/views/wco/leadsets/show.haml
wco_models-3.1.0.97 app/views/wco/leadsets/show.haml
wco_models-3.1.0.96 app/views/wco/leadsets/show.haml
wco_models-3.1.0.95 app/views/wco/leadsets/show.haml
wco_models-3.1.0.94 app/views/wco/leadsets/show.haml
wco_models-3.1.0.93 app/views/wco/leadsets/show.haml
wco_models-3.1.0.92 app/views/wco/leadsets/show.haml
wco_models-3.1.0.91 app/views/wco/leadsets/show.haml
wco_models-3.1.0.90 app/views/wco/leadsets/show.haml
wco_models-3.1.0.89 app/views/wco/leadsets/show.haml
wco_models-3.1.0.88 app/views/wco/leadsets/show.haml
wco_models-3.1.0.87 app/views/wco/leadsets/show.haml