From b1d0549686bd35b6b46f7f4a0eeca96fd0b9077c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 16 May 2017 02:21:52 +0200 Subject: [PATCH] payment urls @ haicut query creation --- Yavsc/Controllers/Haircut/HairCutCommandController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Yavsc/Controllers/Haircut/HairCutCommandController.cs b/Yavsc/Controllers/Haircut/HairCutCommandController.cs index 5043ffef..ddcd0837 100644 --- a/Yavsc/Controllers/Haircut/HairCutCommandController.cs +++ b/Yavsc/Controllers/Haircut/HairCutCommandController.cs @@ -233,6 +233,9 @@ namespace Yavsc.Controllers var items = model.GetBillItems(); var addition = items.Addition(); ViewBag.Addition = addition.ToString("C",CultureInfo.CurrentUICulture); + ViewBag.CreatePaymentUrl = Request.ToAbsolute("api/haircut/createpayment/"+model.Id); + ViewBag.ExecutePaymentUrl = Request.ToAbsolute("api/payment/execute"); + ViewBag.Urls=Request.GetPaymentUrls("HairCutCommand",model.Id.ToString()); return View("CommandConfirmation",model); }