You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
executaveis/GCI.PortalCondomino/Views/Account/Index.cshtml

68 lines
3.0 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

@using GCI.PortalCondomino.Models
@using GCI.PortalCondomino.Helpers
@model PagadorModel
@{
ViewBag.Title = "Dados Pessoais";
Layout = "~/Views/BackOffice/_Layout.cshtml";
}
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
@using (Html.BeginForm("Index", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { role = "form", lpformnum = "1" }))
{
@Html.AntiForgeryToken()
if (!string.IsNullOrEmpty(ViewBag.Feedback) && ViewBag.Feedback == "SUCCESS")
{
<h4 class="oswald mt0 mb40 ac" style="color: #98dd22;">Informação enviada para a administração para processamento em sistema central.</h4>
}
<div class="container col-xs-12 form-horizontal">
@if (!ViewData.ModelState.IsValid)
{
<div class="alert alert-danger" role="alert">
@Html.ValidationMessage("")
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
}
<input type="hidden" id="id" name="model.Holder.Id" value="@(Model.Holder.Id)" />
<input type="hidden" id="originalVAT" name="model.OriginalVAT" value="@(Model.OriginalVAT)" />
<fieldset>
<label for="nome">Nome:</label>
<input type="text" id="nome" name="model.Holder.Name" class="form-control" value="@(Model.Holder.Name)" autofocus="" autocomplete="off" />
</fieldset>
<fieldset>
<label for="morada">Morada:</label>
<textarea id="morada" name="model.Holder.Address" class="form-control" rows="4" autofocus="" autocomplete="off">@(Model.Holder.Address)</textarea>
</fieldset>
<fieldset>
<label for="nif">Nº Contribuinte:</label>
<input type="text" id="nif" name="model.Holder.VATNumber" class="form-control" value="@(Model.Holder.VATNumber)" autofocus="" autocomplete="off" />
</fieldset>
<fieldset>
<label for="bi">BI/CC:</label>
<input type="text" id="bi" name="model.Holder.IdNumber" class="form-control" value="@(Model.Holder.IdNumber)" autofocus="" autocomplete="off" />
</fieldset>
<fieldset>
<label for="email">Email:</label>
<input type="text" id="email" name="model.Holder.Email" class="form-control" value="@(Model.Holder.Email.Trim())" autofocus="" autocomplete="off" />
</fieldset>
<fieldset>
<label for="telefones">Telefones:</label>
<input type="text" id="telefones" name="model.Holder.PhoneNumber" class="form-control" value="@(Model.Holder.PhoneNumber)" autofocus="" autocomplete="off" />
</fieldset>
<div class="row mt40 mb40 ac">
<button type="submit" class="btn btn-default btn-lg">Atualizar</button>
</div>
</div>
}
@section footer {
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
}
@section scripts {
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
}