Sha256: f90608b54f668be846be3e19dce9eef379cc27623df69a9afbe4ce8b4e68f0f2

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 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.actions
        = 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
          - if quotation.customer
            = link_to quotation.customer, quotation.customer

        td.total_excluding_taxes
          = bm_currency quotation.total_excluding_taxes

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

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

        td.actions
          = read_button dorsale.billing_machine_quotation_path(quotation)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dorsale-3.3.0 app/views/dorsale/billing_machine/quotations/_list.html.slim
dorsale-3.2.0 app/views/dorsale/billing_machine/quotations/_list.html.slim