Sha256: 426d37443117784750cff2f83e9423e0dbbd54645981420af9248a9f2ff1f167

Contents?: true

Size: 1.25 KB

Versions: 25

Compression:

Stored size: 1.25 KB

Contents

table.default.quotations
  thead
    tr
      th.hidden-sm.hidden-xs
        = ::Dorsale::BillingMachine::Quotation.t(:date)

      th.hidden-sm.hidden-md.hidden-xs
        = ::Dorsale::BillingMachine::Quotation.t(:tracking_id)

      th
        = ::Dorsale::BillingMachine::Quotation.t(:customer)

      th
        = ::Dorsale::BillingMachine::Quotation.t(:total_excluding_taxes)

      th.hidden-xs
        = ::Dorsale::BillingMachine::Quotation.t(:total_including_taxes)

      th.hidden-xs
        = ::Dorsale::BillingMachine::Quotation.t(:state)

      th
        = t("actions.actions")

  tbody
    - quotations.each do |quotation|
      tr class="quotation #{quotation_state_classes(quotation)}"
        td.hidden-sm.hidden-xs.date
          = date(quotation.date)

        td.hidden-sm.hidden-md.hidden-xs.tracking_id
          = quotation.tracking_id

        td.customer_name
          = quotation.customer.try(:name)

        td.total_excluding_taxes
          = bm_currency quotation.total_excluding_taxes

        td.hidden-xs.total_including_taxes
          = bm_currency quotation.total_including_taxes

        td
          = quotation.t("state.#{quotation.state}")

        td.actions
          = read_button dorsale.billing_machine_quotation_path(quotation)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
dorsale-2.6.4 app/views/dorsale/billing_machine/quotations/_list.html.slim
dorsale-2.6.3 app/views/dorsale/billing_machine/quotations/_list.html.slim
dorsale-2.6.2 app/views/dorsale/billing_machine/quotations/_list.html.slim
dorsale-2.6.1 app/views/dorsale/billing_machine/quotations/_list.html.slim
dorsale-2.6.0 app/views/dorsale/billing_machine/quotations/_list.html.slim