@Html.LabelFor(m => m.AccountReference, new { @class = "form-label" })
@Html.TextBoxFor(m => m.AccountReference, new { size = 50, placeholder = "Enter account reference", @class = "form-control" })
@Html.LabelFor(m => m.Surname, new { @class = "form-label" })
@Html.TextBoxFor(m => m.Surname, new { size = 30, placeholder = "Enter surname", @class = "form-control" })
@if (!Model.IsAPaymentSearch)
{
@Html.LabelFor(m => m.FundCode, new { @class = "form-label" })
}
else
{
@Html.HiddenFor(x => x.FundCode, new { size = 4 })
}
@Html.LabelFor(m => m.PostCode, new { @class = "form-label" })
@Html.TextBoxFor(m => m.PostCode, new { size = 8, placeholder = "Enter postcode", @class = "form-control" })
@Html.LabelFor(m => m.Address, new { @class = "form-label" })
@Html.TextBoxFor(m => m.Address, new { size = 60, placeholder = "Enter address", @class = "form-control" })
@{
var queryString = string.Empty;
if (Model.IsAPaymentSearch)
{
queryString = "?IsAPaymentSearch=True&FundCode=" + Model.FundCode;
}
Reset search
}