sends a first PayPal Api call

This commit is contained in:
Paul Schneider 2017-05-12 16:29:47 +02:00
commit b3d5233d90
13 changed files with 2302 additions and 44 deletions

View file

@ -192,7 +192,8 @@ namespace Yavsc.Controllers
}
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == model.ActivityCode);
ViewBag.GoogleSettings = _googleSettings;
var addition = model.Addition();
var items = model.GetBillItems();
var addition = items.Addition();
ViewBag.Addition = addition.ToString("C",CultureInfo.CurrentUICulture);
return View("CommandConfirmation",model);
}