added funtionality for ventas credito, and tipo de pago