Fixe la facture avec un nom d'utilisateur comportant un espace

This commit is contained in:
2017-07-09 19:35:27 +02:00
parent e0a138ba9c
commit 49c20e4fc9
3 changed files with 1 additions and 4 deletions

View File

@ -117,7 +117,7 @@
% Logo de la société
@if (from.Avatar != null) {
<text>\includegraphics[height=60pt]{@(ViewBag.AvatarsDir)/@(from.UserName).png}
<text>\includegraphics[height=60pt]{@(ViewBag.AvatarsDir)/@(from.UserName.Replace(" ","\\ ")).png}
</text>
} else {
<text>%\includegraphics{logo.png}