|
@@ -11,6 +11,9 @@
|
|
|
@inject AuthenticationStateProvider AuthenticationStateProvider
|
|
|
@using Microsoft.AspNetCore.Identity;
|
|
|
@inject UserManager<IdentityUser> UserManager;
|
|
|
+<p>
|
|
|
+ ID транзакции: @transactionId
|
|
|
+</p>
|
|
|
|
|
|
<EditForm Model="@articleModel" OnValidSubmit="@HandleValidSubmit">
|
|
|
<DataAnnotationsValidator />
|
|
@@ -55,7 +58,8 @@
|
|
|
</p>
|
|
|
<p>
|
|
|
<button class="btn btn-danger" type="button" @onclick="@Cancel">Отклонить</button>
|
|
|
- <button class="btn btn-primary" type="submit">Утвердить</button>
|
|
|
+ <button class="btn btn-danger" type="button" @onclick="@Verify">Утвердить</button>
|
|
|
+ @*<button class="btn btn-primary" type="submit">Утвердить</button>*@
|
|
|
</p>
|
|
|
}
|
|
|
<p>Статус: @status</p>
|
|
@@ -115,7 +119,8 @@
|
|
|
if (verifyContract != null)
|
|
|
{
|
|
|
Console.WriteLine($"VerifyContract found");
|
|
|
- return await verifyContract.Run(articleModel);
|
|
|
+ transactionId = await verifyContract.Run(articleModel);
|
|
|
+ return transactionId;
|
|
|
}
|
|
|
else
|
|
|
Console.WriteLine($"VerifyContract null");
|