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

vnext
Paul Schneider 7 years ago
parent e0a138ba9c
commit 49c20e4fc9
3 changed files with 1 additions and 4 deletions

@ -262,8 +262,6 @@ Le client final: {clientFinal}
new HairTaintInstance { Taint = c }).ToList(); new HairTaintInstance { Taint = c }).ToList();
} }
// Une prestation pour enfant ou homme inclut toujours la coupe. // Une prestation pour enfant ou homme inclut toujours la coupe.
if (model.Prestation.Gender != HairCutGenders.Women) if (model.Prestation.Gender != HairCutGenders.Women)
model.Prestation.Cut = true; model.Prestation.Cut = true;

@ -2,7 +2,6 @@ using System;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Newtonsoft.Json;
namespace Yavsc namespace Yavsc
{ {

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

Loading…