-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix Preview present even when there is no corresponding file #30585
base: 18.0
Are you sure you want to change the base?
Fix Preview present even when there is no corresponding file #30585
Conversation
hello @MaximilienR-easya i do not have the bug on my dolibarr ... on /comm/index.php?mainmenu=commercial&leftmenu= there is now preview icon: could you please explain to us where is the bug ? thanks, |
The problem is not on comm/index.php but in comm/card.php. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for me with that solution
Fix
We got case where in the client page, in the list of propale, contract, etc, case where one of them don't have a PDF but still have a preview link.
We add a check to verify if the file is existing and if it's non-existent, we don't show a preview link.