cash_outs_helper.rb 440 B

1234567891011121314151617181920
  1. module CashOutsHelper
  2. def cash_move_type(move)
  3. case move.concept
  4. when "sale"
  5. 'VENTA'
  6. when "purchase"
  7. 'COMPRA CANCELADA'
  8. when "expense"
  9. 'GASTO CANCELADO'
  10. when "credit_payment"
  11. 'ABONO A CRÉDITO'
  12. when "reserved_payment"
  13. 'ABONO A APARTADO'
  14. when "reserved_first_payment"
  15. 'ANTICIPO DE APARTADO'
  16. when "reserved_last_payment"
  17. 'LIQUIDACIÓN DE APARTADO'
  18. end
  19. end
  20. end