Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tarea #324 - agregar end point API ExportFacturaCliente #1555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elguitarraverde
Copy link
Contributor

Descripción

  • Necesitamos poder generar el PDF de una factura desde la API. Para ello hay que añadir el endpoint ExportFacturaCliente a la API. Este endpoint debe cargar la factura indicada, generar el PDF y devolverlo.

¿Cómo has probado los cambios?

Toda modificación debe haber sido mínimamente probada. Marca o describe las pruebas que has realizado:

  • He revisado mi código antes de enviarlo.
  • He probado que funciona correctamente en mi PC.
  • He probado que funciona correctamente con una base de datos vacía.
  • He ejecutado los tests unitarios.

$facturaCliente->loadFromCode($code);

$title = Tools::lang()->trans('invoice') . ' ' . $facturaCliente->primaryDescription();
$format = 0; // TODO COMENTAR CON CARLOS
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NeoRazorX esta variable no entiendo que es lo que hace, si es necesaria o seteamos a 0 y ya está...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant