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

Detail invoice or update product desc (not only quantity) #299

Open
rycks opened this issue Apr 1, 2023 · 2 comments
Open

Detail invoice or update product desc (not only quantity) #299

rycks opened this issue Apr 1, 2023 · 2 comments

Comments

@rycks
Copy link
Contributor

rycks commented Apr 1, 2023

There are some situations where we need to put more details on invoices.

On product details we can put a formula to get quantity to update it before invoicing, that's great but not enought.

For example i would like to update product details like that.

Before:

image

My wish:

image

Yes i can do it by myself just before sending invoices to customer but that's not the magic of full automatic sellyoursaas system ;)

@rycks
Copy link
Contributor Author

rycks commented May 23, 2023

Hello,
there is "$newcommentonqty" in sellyoursaas code, is that solution for this feature request ?

@eldy
Copy link
Member

eldy commented Jul 24, 2023

Hello, there is "$newcommentonqty" in sellyoursaas code, is that solution for this feature request ?

I think so. In the method sellyoursaasRemoteAction(), it updates the qty but also a comment into an extrafields on each lines of the recurring invoice.
For the moment, ability to return a couple nb+comment instead of just a number, is supported only for the formulae SQL:...
The select must be "SELECT ... as nb, ... as comment FROM ..."

The comment will be saved into an extrafield of the contract (only 1 comment for all services lines is possible). It is also copied into an extrafield of the template invoice and will be shown on the generated invoice.

eldy added a commit that referenced this issue Jul 24, 2023
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

2 participants