Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLogAtm.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
- FIX : Doc preview (magnifier/loupe) on shipments (BL) in thirdparty card (client/prospect tab) - use 'expedition' modulepart instead of $sendingstatic->element ('shipping') in comm/card.php - PR #755 - *2026-07-09*
- FIX : BACKPORT pour SENTRY : add null check before setting _renderItem on jQuery UI autocomplete widget #37597
- NEW : Add complete_substitutions_array in ticket.class.php - *2026-02-20*
- FIX : DA027856 - Edition des extrafields "always editable" sur les projets avec une tache ouverte en bas de page.

Check failure on line 4 in ChangeLogAtm.md

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

projets ==> projects

Check failure on line 4 in ChangeLogAtm.md

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

projets ==> projects
- FIX : DA027490 - BACKPORT 37132 - Date sur les temps passés sur les projets était erronée.

Check failure on line 5 in ChangeLogAtm.md

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

projets ==> projects

Check failure on line 5 in ChangeLogAtm.md

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

projets ==> projects
- FIX : DA027053 - Update tms on delete propalLine if propalLine is a product with a price of 0 or if product is not include.
- FIX : DA026698 - Backport from v23 - Recherche insensible aux diacritiques (accents)
- FIX : DA026536 - Saut de ligne dans mail automatique - A supp en 21.0.3
Expand Down
6 changes: 5 additions & 1 deletion htdocs/comm/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,11 @@
}
$relativepath = dol_sanitizeFileName($objp->ref).'/'.dol_sanitizeFileName($objp->ref).'.pdf';

print $formfile->showPreview($file_list, $sendingstatic->element, $relativepath, 0, $param);
/**DEBUT SPECIFIQUE ATM **/
// Fix doc preview: use the 'expedition' modulepart instead of $sendingstatic->element ('shipping', a module-name alias not handled by dol_check_secure_access_document()), and pass the entity param like the other lists.
// Original core: print $formfile->showPreview($file_list, $sendingstatic->element, $relativepath, 0, $param);
print $formfile->showPreview($file_list, 'expedition', $relativepath, 0, 'entity=' . $objp->entity);
/**FIN SPECIFIQUE ATM **/
}
print '</td><td class="tdoverflowmax125">';
if ($sendingstatic->fk_project > 0) {
Expand Down
Loading