@if (String.IsNullOrWhiteSpace(Model.UserId))
{
@using (Html.BeginForm("CreateCustomer", "AppUser", FormMethod.Post, new { @id = "frmUser", @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
}
}
@{
Html.RenderPartial("~/Views/AppUser/_UpdateAccountView.cshtml", Model.CustomerAccount);
}
@using (Html.BeginForm("ResetCustomerPassword", "AppUser", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Code)
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
}
@{
Html.RenderAction("ReceivePayment", "Customer", new { customerId = Model.Id });
}
@{
Html.RenderAction("UserExternalTransactions", "Customer", new { customerId = Model.UserId });
}