Sha256: 8ab1d9b19d80aa0a2f86d46726bb54ece5583e07fdb9c17f8bed115349c5e47b

Contents?: true

Size: 700 Bytes

Versions: 9

Compression:

Stored size: 700 Bytes

Contents

.quotation-context: .context
  = context_title ::Dorsale::BillingMachine::Quotation.t(:data)

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dorsale-2.1.7 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.6 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.5 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.4 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.3 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.2 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.1 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.1.0 app/views/dorsale/billing_machine/quotations/_data_context.html.slim
dorsale-2.0.1 app/views/dorsale/billing_machine/quotations/_data_context.html.slim