Sha256: b7674e77203c8b28b17a46c679883533ff9859ed4af96dafe887513e5439d68d

Contents?: true

Size: 684 Bytes

Versions: 17

Compression:

Stored size: 684 Bytes

Contents

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

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

  = context_info ::Dorsale::BillingMachine::Invoice.t(:total_duty), euros(total_duty)
  = context_info ::Dorsale::BillingMachine::Invoice.t(:vat_amount), euros(vat_amount)
  = context_info ::Dorsale::BillingMachine::Invoice.t(:total_all_taxes), euros(total_all_taxes)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dorsale-2.1.15 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.14 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.13 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.12 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.11 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.10 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.9 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.8 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.7 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.6 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.5 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.4 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.3 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.2 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.1 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.1.0 app/views/dorsale/billing_machine/invoices/_data_context.html.slim
dorsale-2.0.1 app/views/dorsale/billing_machine/invoices/_data_context.html.slim