send the billing code along with the query
This commit is contained in:
parent
ebf860f848
commit
2890e10339
18 changed files with 47 additions and 27 deletions
|
|
@ -91,7 +91,7 @@ namespace Yavsc.Controllers
|
|||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public IActionResult Create(string id, string activityCode)
|
||||
public IActionResult Create(string id, string activityCode, string billingCode)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(id))
|
||||
throw new InvalidOperationException(
|
||||
|
|
@ -117,7 +117,8 @@ namespace Yavsc.Controllers
|
|||
PerformerId = pro.PerformerId,
|
||||
ClientId = userid,
|
||||
Client = user,
|
||||
ActivityCode = activityCode
|
||||
ActivityCode = activityCode,
|
||||
BillingCode = billingCode
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -126,7 +127,7 @@ namespace Yavsc.Controllers
|
|||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> Create(RdvQuery command)
|
||||
{
|
||||
|
||||
// TODO validate BillingCode value
|
||||
var uid = User.GetUserId();
|
||||
var prid = command.PerformerId;
|
||||
if (string.IsNullOrWhiteSpace(uid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue