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

Add possibility to display public and private notes in expedition list #29665

Merged
merged 2 commits into from
May 15, 2024

Conversation

vmaury
Copy link
Contributor

@vmaury vmaury commented May 13, 2024

It's possible to display public and private notes in command list, but not in expedition.
This PR add this feature

// Note public
if (!empty($arrayfields['e.note_public']['checked'])) {
print '<td class="center">';
print dol_string_nohtmltag($obj->note_public);
Copy link
Member

@eldy eldy May 15, 2024

Choose a reason for hiding this comment

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

New recommanded method to ouput html content into an array is

			print '<td class="sensiblehtmlcontent center">';
			print dolPrintHTML($obj->note_public|private);
			print '</td>';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you're welcome, I fixed it :-)

@eldy eldy added the PR to fix or conflict to solve PR needs to be fixed to be integrated (except for conflicts, a comment describes the fix to do) label May 15, 2024
@eldy eldy merged commit 82b3fd0 into Dolibarr:develop May 15, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix or conflict to solve PR needs to be fixed to be integrated (except for conflicts, a comment describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants