cash_outs_helper.rb 502 B

12345678910111213141516171819202122
  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. when "products_return"
  19. 'DIFERENCIA POR DEVOLUCIÓN'
  20. end
  21. end
  22. end