fixes the build
This commit is contained in:
parent
42c08797e3
commit
f04c60d5f2
2 changed files with 3 additions and 3 deletions
|
|
@ -160,7 +160,7 @@ namespace Yavsc.Controllers
|
||||||
await _context.SaveChangesAsync(uid);
|
await _context.SaveChangesAsync(uid);
|
||||||
var brusherProfile = await _context.BrusherProfile.SingleAsync(p=>p.UserId == pro.PerformerId);
|
var brusherProfile = await _context.BrusherProfile.SingleAsync(p=>p.UserId == pro.PerformerId);
|
||||||
model.Client = await _context.Users.SingleAsync(u=>u.Id == model.ClientId);
|
model.Client = await _context.Users.SingleAsync(u=>u.Id == model.ClientId);
|
||||||
|
model.SelectedProfile = brusherProfile;
|
||||||
var yaev = model.CreateEvent(_localizer, brusherProfile);
|
var yaev = model.CreateEvent(_localizer, brusherProfile);
|
||||||
MessageWithPayloadResponse grep = null;
|
MessageWithPayloadResponse grep = null;
|
||||||
|
|
||||||
|
|
@ -192,7 +192,7 @@ namespace Yavsc.Controllers
|
||||||
}
|
}
|
||||||
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == model.ActivityCode);
|
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == model.ActivityCode);
|
||||||
ViewBag.GoogleSettings = _googleSettings;
|
ViewBag.GoogleSettings = _googleSettings;
|
||||||
var addition = model.Addition(brusherProfile);
|
var addition = model.Addition();
|
||||||
ViewBag.Addition = addition.ToString("C",CultureInfo.CurrentUICulture);
|
ViewBag.Addition = addition.ToString("C",CultureInfo.CurrentUICulture);
|
||||||
return View("CommandConfirmation",model);
|
return View("CommandConfirmation",model);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ namespace Yavsc.Helpers
|
||||||
string evdate = query.EventDate?.ToString("dddd dd/MM/yyyy à HH:mm")??"[pas de date spécifiée]";
|
string evdate = query.EventDate?.ToString("dddd dd/MM/yyyy à HH:mm")??"[pas de date spécifiée]";
|
||||||
string address = query.Location?.Address??"[pas de lieu spécifié]";
|
string address = query.Location?.Address??"[pas de lieu spécifié]";
|
||||||
var p = query.Prestation;
|
var p = query.Prestation;
|
||||||
decimal total = query.Addition(bpr);
|
decimal total = query.Addition();
|
||||||
string strprestation = $@"Coupe: {p.Cut}, Total: {total}";
|
string strprestation = $@"Coupe: {p.Cut}, Total: {total}";
|
||||||
|
|
||||||
var yaev = new HairCutQueryEvent
|
var yaev = new HairCutQueryEvent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue