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

Cuando estamos en el carrito de compras al enviar la cantidad de productos agregados se genera un archivo PDF que se enviará al proveedor. #118

Open
Eghinner opened this issue Oct 17, 2022 · 7 comments

Comments

@Eghinner
Copy link
Contributor

  • Resultado actual:

Al hacer click en consultar nos abre el chat de whatsapp con el mensaje personalizado, incluyendo algunos datos de la consulta.

  • Resultado esperado:

Que al dirigirnos al chat de whatsapp envie un documento (pdf/excel) que además de los datos anteriores incluye logo de la empresa, nombre del socio solicitante.(algunos datos quedaron pendientes por confirmar respecto a si va numerada, ellos desean que sea una especie de factura, orden de compra).

chrome_lHTb5sonEA

@Eghinner
Copy link
Contributor Author

I suggest EE-6
@victor-heliomar
@Israel-Laguan
@Luisparr14
@joset98
Can you help us with a suggestion?

@Israel-Laguan
Copy link

If you use a view for the pdf paired with css print this would be around 5. If you use a library can be a 3

Refs:

@Luisparr14
Copy link

What about EE-4?

@heliomar-pena
Copy link
Contributor

heliomar-pena commented Oct 17, 2022

I think that creating the PDF may be a little easy using a library, maybe it could be E.E 2: https://github.com/mozilla/pdfjs-dist/blob/master/build/pdf.js#L939

Send the PDF for Whatsapp is hard of this task since I think doesn't exist a library for that at the moment, and the developer should check the new Whatsapp API or check if Capacitor have some option to share files (I found this) to solve this and explore new solutions, for me, this is an E.E 5 since both options are hard of test (for example, the share button should be tested in a phone to check if works properly and could exists problems about permissions etc of the APK)

@heliomar-pena
Copy link
Contributor

I think that creating the PDF may be a little easy using a library, maybe it could be E.E 2: https://github.com/mozilla/pdfjs-dist/blob/master/build/pdf.js#L939

Send the PDF for Whatsapp is hard of this task since I think doesn't exist any library for that at the moment, and should check the new Whatsapp API to solve this and explore new solutions, for me is an E.E 5

In total for me, this task is an E.E 7

If the PDF requires a design in specific, like the brand of DID, it could be more challenging to create the PDF, because first the developer should create the design/structure of the PDF and after check how to include this with the result of the invoice. For me, if this is so, this task could be converted into an E.E 4 only for creating the PDF. In total, this task would be an E.E 9. (Just my opinion)

@Eghinner
Copy link
Contributor Author

EE-9 seems to me to be a good estimate. It will probably require a design, and it certainly poses a problem to share a file.
thanks for your help

@angelik0828
Copy link

this task no longer works due to changes made in the application

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

No branches or pull requests

5 participants