trying method in factura_compra controller