100 lines
3.9 KiB
Plaintext
100 lines
3.9 KiB
Plaintext
|
|
@using OSS.Models
|
||
|
|
|
||
|
|
@model CompanyProfile
|
||
|
|
@{
|
||
|
|
ViewBag.Title = "ValidateTIN";
|
||
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
<div class="page-header">
|
||
|
|
<div class="row align-items-end">
|
||
|
|
<div class="col-lg-8">
|
||
|
|
<div class="page-header-title">
|
||
|
|
<i class="ik ik-check-square bg-blue"></i>
|
||
|
|
<div class="d-inline">
|
||
|
|
<h5>Please verify the following information before proceed</h5>
|
||
|
|
<span>lorem ipsum dolor sit amet, consectetur adipisicing elit</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="col-lg-4">
|
||
|
|
<nav class="breadcrumb-container" aria-label="breadcrumb">
|
||
|
|
<ol class="breadcrumb">
|
||
|
|
<li class="breadcrumb-item">
|
||
|
|
<a href="../index.html"><i class="ik ik-home"></i></a>
|
||
|
|
</li>
|
||
|
|
<li class="breadcrumb-item"><a href="#">Company Profile</a></li>
|
||
|
|
<li class="breadcrumb-item active" aria-current="page">Validate Brela</li>
|
||
|
|
</ol>
|
||
|
|
</nav>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="row">
|
||
|
|
<div class="col-md-12">
|
||
|
|
<div class="card">
|
||
|
|
<div class="card-header"><h3>Company Profile</h3></div>
|
||
|
|
<div class="card-body">
|
||
|
|
|
||
|
|
@using (Html.BeginForm("Index", "Welcome", FormMethod.Post, new { id = "formAssignment"}))
|
||
|
|
{@(Html.DevExtreme().Form<CompanyProfile>
|
||
|
|
()
|
||
|
|
.ID("form")
|
||
|
|
.ColCount(2)
|
||
|
|
|
||
|
|
.Items(items =>
|
||
|
|
{
|
||
|
|
items.AddGroup()
|
||
|
|
.Caption("Incorporation Details")
|
||
|
|
.Items(groupItems =>
|
||
|
|
{
|
||
|
|
groupItems.AddSimpleFor(m => m.CompanyName).Editor(t=>t.TextBox().Value(ViewData["CompanyName"].ToString()).ReadOnly(true));
|
||
|
|
groupItems.AddSimpleFor(m => m.CompanyTIN).Editor(t => t.TextBox().Value(ViewData["CompanyTIN"].ToString()).ReadOnly(true));
|
||
|
|
groupItems.AddSimpleFor(m => m.IncorpCertDate).Editor(t => t.TextBox().Value(ViewData["IncorpCertDate"].ToString()).ReadOnly(true));
|
||
|
|
groupItems.AddSimpleFor(m => m.IncorpCertNo).IsRequired(true).Editor(t => t.TextBox().Value(ViewData["IncorpCertNo"].ToString()).ReadOnly(true));
|
||
|
|
groupItems.AddSimpleFor(m => m.Region).Editor(t => t.TextBox().Value(ViewData["Region"].ToString()).ReadOnly(true));
|
||
|
|
groupItems.AddSimpleFor(m => m.District).Editor(t => t.TextBox().Value(ViewData["District"].ToString()).ReadOnly(true));
|
||
|
|
|
||
|
|
|
||
|
|
groupItems.AddButton().HorizontalAlignment(HorizontalAlignment.Right)
|
||
|
|
.ButtonOptions(b => b.Text("Next")
|
||
|
|
.Type(ButtonType.Success)
|
||
|
|
.UseSubmitBehavior(true)
|
||
|
|
);
|
||
|
|
|
||
|
|
});
|
||
|
|
|
||
|
|
items.AddGroup()
|
||
|
|
.Caption("Location & Contact")
|
||
|
|
.Items(groupItems =>
|
||
|
|
{
|
||
|
|
|
||
|
|
groupItems.AddSimpleFor(m => m.PhysicalAddress).Editor(t => t.TextBox().Value(ViewData["PhysicalAddress"].ToString()).ReadOnly(true)).IsRequired(true);
|
||
|
|
groupItems.AddSimpleFor(m => m.BlockPlotNumber).Editor(t => t.TextBox().Value(ViewData["BlockPlotNumber"].ToString()).ReadOnly(true)).IsRequired(true);
|
||
|
|
groupItems.AddSimpleFor(m => m.PostalAddress).Editor(t => t.TextBox().Value(ViewData["PostalAddress"].ToString()).ReadOnly(true)).IsRequired(true);
|
||
|
|
|
||
|
|
groupItems.AddSimpleFor(m => m.Telephone).Editor(t => t.TextBox().Value(ViewData["Telephone"].ToString()).ReadOnly(true)).IsRequired(true);
|
||
|
|
groupItems.AddSimpleFor(m => m.CompanyEmail).Editor(t => t.TextBox().Value(ViewData["CompanyEmail"].ToString()).ReadOnly(true)).ValidationRules(r => r.AddEmail()).IsRequired(true);
|
||
|
|
groupItems.AddSimpleFor(m => m.CompanyMobile).Editor(t => t.TextBox().Value(ViewData["CompanyMobile"].ToString()).ReadOnly(true)).ValidationRules(r => r.AddNumeric()).ValidationRules(r => r.AddStringLength().Min(10)).IsRequired(true);
|
||
|
|
|
||
|
|
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
})
|
||
|
|
.FormData(Model)
|
||
|
|
)
|
||
|
|
}
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|