Sha256: a776b14459d6c9a49459803c6f9ab79d3712a7ebb34296f160ebfed7c085657c

Contents?: true

Size: 752 Bytes

Versions: 9

Compression:

Stored size: 752 Bytes

Contents

.invoice-context: .context
  = context_title ::Dorsale::BillingMachine::Invoice.t(:data)

  - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0
  - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0
  - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0

  = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes)
  = context_info ::Dorsale::BillingMachine::Invoice.t(:vat_amount), euros(vat_amount)
  = context_info ::Dorsale::BillingMachine::Invoice.t(:total_including_taxes), euros(total_including_taxes)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dorsale-2.2.9 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.8 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.6 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.5 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.4 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.3 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.2 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.1 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.2.0 app/views/dorsale/billing_machine/invoices/_data_context.html.slim