<?php
namespace PHPMaker2019\project_germanos;

// Write header
WriteHeader(FALSE);

// Create page object
if (!isset($clientadditinalinfo_grid))
	$clientadditinalinfo_grid = new clientadditinalinfo_grid();

// Run the page
$clientadditinalinfo_grid->run();

// Setup login status
SetupLoginStatus();
SetClientVar("login", LoginStatus());

// Global Page Rendering event (in userfn*.php)
Page_Rendering();

// Page Rendering event
$clientadditinalinfo_grid->Page_Render();
?>
<?php if (!$clientadditinalinfo->isExport()) { ?>
<script>

// Form object
var fclientadditinalinfogrid = new ew.Form("fclientadditinalinfogrid", "grid");
fclientadditinalinfogrid.formKeyCountName = '<?php echo $clientadditinalinfo_grid->FormKeyCountName ?>';

// Validate form
fclientadditinalinfogrid.validate = function() {
	if (!this.validateRequired)
		return true; // Ignore validation
	var $ = jQuery, fobj = this.getForm(), $fobj = $(fobj);
	if ($fobj.find("#confirm").val() == "F")
		return true;
	var elm, felm, uelm, addcnt = 0;
	var $k = $fobj.find("#" + this.formKeyCountName); // Get key_count
	var rowcnt = ($k[0]) ? parseInt($k.val(), 10) : 1;
	var startcnt = (rowcnt == 0) ? 0 : 1; // Check rowcnt == 0 => Inline-Add
	var gridinsert = ["insert", "gridinsert"].includes($fobj.find("#action").val()) && $k[0];
	for (var i = startcnt; i <= rowcnt; i++) {
		var infix = ($k[0]) ? String(i) : "";
		$fobj.data("rowindex", infix);
		var checkrow = (gridinsert) ? !this.emptyRow(infix) : true;
		if (checkrow) {
			addcnt++;
		<?php if ($clientadditinalinfo_grid->ClientID->Required) { ?>
			elm = this.getElements("x" + infix + "_ClientID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->ClientID->caption(), $clientadditinalinfo->ClientID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->MaritalStatusID->Required) { ?>
			elm = this.getElements("x" + infix + "_MaritalStatusID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->MaritalStatusID->caption(), $clientadditinalinfo->MaritalStatusID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->CivilStatus23->Required) { ?>
			elm = this.getElements("x" + infix + "_CivilStatus23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->CivilStatus23->caption(), $clientadditinalinfo->CivilStatus23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->CivilStatusPlace->Required) { ?>
			elm = this.getElements("x" + infix + "_CivilStatusPlace");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->CivilStatusPlace->caption(), $clientadditinalinfo->CivilStatusPlace->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->IdCard23->Required) { ?>
			elm = this.getElements("x" + infix + "_IdCard23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->IdCard23->caption(), $clientadditinalinfo->IdCard23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->NationalId23->Required) { ?>
			elm = this.getElements("x" + infix + "_NationalId23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->NationalId23->caption(), $clientadditinalinfo->NationalId23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Nationality1->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality1");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Nationality1->caption(), $clientadditinalinfo->Nationality1->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Nationality2->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality2");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Nationality2->caption(), $clientadditinalinfo->Nationality2->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Nationality3->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality3");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Nationality3->caption(), $clientadditinalinfo->Nationality3->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->DriverLicense23->Required) { ?>
			elm = this.getElements("x" + infix + "_DriverLicense23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->DriverLicense23->caption(), $clientadditinalinfo->DriverLicense23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->SocialSecurity23->Required) { ?>
			elm = this.getElements("x" + infix + "_SocialSecurity23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->SocialSecurity23->caption(), $clientadditinalinfo->SocialSecurity23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Financial23->Required) { ?>
			elm = this.getElements("x" + infix + "_Financial23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Financial23->caption(), $clientadditinalinfo->Financial23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Extra23->Required) { ?>
			elm = this.getElements("x" + infix + "_Extra23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Extra23->caption(), $clientadditinalinfo->Extra23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Field1->Required) { ?>
			elm = this.getElements("x" + infix + "_Field1");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Field1->caption(), $clientadditinalinfo->Field1->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Field2->Required) { ?>
			elm = this.getElements("x" + infix + "_Field2");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Field2->caption(), $clientadditinalinfo->Field2->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_grid->Field3->Required) { ?>
			elm = this.getElements("x" + infix + "_Field3");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Field3->caption(), $clientadditinalinfo->Field3->RequiredErrorMessage)) ?>");
		<?php } ?>

			// Fire Form_CustomValidate event
			if (!this.Form_CustomValidate(fobj))
				return false;
		} // End Grid Add checking
	}
	return true;
}

// Check empty row
fclientadditinalinfogrid.emptyRow = function(infix) {
	var fobj = this._form;
	if (ew.valueChanged(fobj, infix, "ClientID", false)) return false;
	if (ew.valueChanged(fobj, infix, "MaritalStatusID", false)) return false;
	if (ew.valueChanged(fobj, infix, "CivilStatus23", false)) return false;
	if (ew.valueChanged(fobj, infix, "CivilStatusPlace", false)) return false;
	if (ew.valueChanged(fobj, infix, "IdCard23", false)) return false;
	if (ew.valueChanged(fobj, infix, "NationalId23", false)) return false;
	if (ew.valueChanged(fobj, infix, "Nationality1", false)) return false;
	if (ew.valueChanged(fobj, infix, "Nationality2", false)) return false;
	if (ew.valueChanged(fobj, infix, "Nationality3", false)) return false;
	if (ew.valueChanged(fobj, infix, "DriverLicense23", false)) return false;
	if (ew.valueChanged(fobj, infix, "SocialSecurity23", false)) return false;
	if (ew.valueChanged(fobj, infix, "Financial23", false)) return false;
	if (ew.valueChanged(fobj, infix, "Extra23", false)) return false;
	if (ew.valueChanged(fobj, infix, "Field1", false)) return false;
	if (ew.valueChanged(fobj, infix, "Field2", false)) return false;
	if (ew.valueChanged(fobj, infix, "Field3", false)) return false;
	return true;
}

// Form_CustomValidate event
fclientadditinalinfogrid.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE!

	// Your custom validation code here, return false if invalid.
	return true;
}

// Use JavaScript validation or not
fclientadditinalinfogrid.validateRequired = <?php echo json_encode(CLIENT_VALIDATE) ?>;

// Dynamic selection lists
fclientadditinalinfogrid.lists["x_ClientID"] = <?php echo $clientadditinalinfo_grid->ClientID->Lookup->toClientList() ?>;
fclientadditinalinfogrid.lists["x_ClientID"].options = <?php echo JsonEncode($clientadditinalinfo_grid->ClientID->lookupOptions()) ?>;
fclientadditinalinfogrid.lists["x_MaritalStatusID"] = <?php echo $clientadditinalinfo_grid->MaritalStatusID->Lookup->toClientList() ?>;
fclientadditinalinfogrid.lists["x_MaritalStatusID"].options = <?php echo JsonEncode($clientadditinalinfo_grid->MaritalStatusID->lookupOptions()) ?>;

// Form object for search
</script>
<script src="phpjs/ewscrolltable.js"></script>
<?php } ?>
<?php
$clientadditinalinfo_grid->renderOtherOptions();
?>
<?php $clientadditinalinfo_grid->showPageHeader(); ?>
<?php
$clientadditinalinfo_grid->showMessage();
?>
<?php if ($clientadditinalinfo_grid->TotalRecs > 0 || $clientadditinalinfo->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($clientadditinalinfo_grid->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> clientadditinalinfo">
<?php if ($clientadditinalinfo_grid->ShowOtherOptions) { ?>
<div class="card-header ew-grid-upper-panel">
<?php $clientadditinalinfo_grid->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<div id="fclientadditinalinfogrid" class="ew-form ew-list-form form-inline">
<div id="gmp_clientadditinalinfo" class="<?php if (IsResponsiveLayout()) { ?>table-responsive <?php } ?>card-body ew-grid-middle-panel">
<table id="tbl_clientadditinalinfogrid" class="table ew-table"><!-- .ew-table ##-->
<thead>
	<tr class="ew-table-header">
<?php

// Header row
$clientadditinalinfo_grid->RowType = ROWTYPE_HEADER;

// Render list options
$clientadditinalinfo_grid->renderListOptions();

// Render list options (header, left)
$clientadditinalinfo_grid->ListOptions->render("header", "left");
?>
<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->ClientID) == "") { ?>
		<th data-name="ClientID" class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><div id="elh_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->ClientID->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="ClientID" class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->ClientID->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->ClientID->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->ClientID->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->MaritalStatusID) == "") { ?>
		<th data-name="MaritalStatusID" class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><div id="elh_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="MaritalStatusID" class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->MaritalStatusID->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->MaritalStatusID->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->CivilStatus23) == "") { ?>
		<th data-name="CivilStatus23" class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="CivilStatus23" class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->CivilStatus23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->CivilStatus23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->CivilStatusPlace) == "") { ?>
		<th data-name="CivilStatusPlace" class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><div id="elh_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="CivilStatusPlace" class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->CivilStatusPlace->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->CivilStatusPlace->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->IdCard23) == "") { ?>
		<th data-name="IdCard23" class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->IdCard23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="IdCard23" class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->IdCard23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->IdCard23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->IdCard23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->NationalId23) == "") { ?>
		<th data-name="NationalId23" class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->NationalId23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="NationalId23" class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->NationalId23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->NationalId23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->NationalId23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality1) == "") { ?>
		<th data-name="Nationality1" class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality1->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality1" class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality1->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality1->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality1->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality2) == "") { ?>
		<th data-name="Nationality2" class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality2->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality2" class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality2->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality2->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality2->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality3) == "") { ?>
		<th data-name="Nationality3" class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality3->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality3" class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality3->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality3->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality3->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->DriverLicense23) == "") { ?>
		<th data-name="DriverLicense23" class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="DriverLicense23" class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->DriverLicense23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->DriverLicense23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->SocialSecurity23) == "") { ?>
		<th data-name="SocialSecurity23" class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="SocialSecurity23" class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->SocialSecurity23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->SocialSecurity23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Financial23) == "") { ?>
		<th data-name="Financial23" class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Financial23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Financial23" class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Financial23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Financial23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Financial23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Extra23) == "") { ?>
		<th data-name="Extra23" class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Extra23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Extra23" class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Extra23->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Extra23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Extra23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field1) == "") { ?>
		<th data-name="Field1" class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field1->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field1" class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field1->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field1->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field1->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field2) == "") { ?>
		<th data-name="Field2" class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field2->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field2" class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field2->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field2->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field2->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field3) == "") { ?>
		<th data-name="Field3" class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field3->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field3" class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><div><div id="elh_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field3->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field3->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field3->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$clientadditinalinfo_grid->ListOptions->render("header", "right");
?>
	</tr>
</thead>
<tbody>
<?php
$clientadditinalinfo_grid->StartRec = 1;
$clientadditinalinfo_grid->StopRec = $clientadditinalinfo_grid->TotalRecs; // Show all records

// Restore number of post back records
if ($CurrentForm && $clientadditinalinfo_grid->EventCancelled) {
	$CurrentForm->Index = -1;
	if ($CurrentForm->hasValue($clientadditinalinfo_grid->FormKeyCountName) && ($clientadditinalinfo->isGridAdd() || $clientadditinalinfo->isGridEdit() || $clientadditinalinfo->isConfirm())) {
		$clientadditinalinfo_grid->KeyCount = $CurrentForm->getValue($clientadditinalinfo_grid->FormKeyCountName);
		$clientadditinalinfo_grid->StopRec = $clientadditinalinfo_grid->StartRec + $clientadditinalinfo_grid->KeyCount - 1;
	}
}
$clientadditinalinfo_grid->RecCnt = $clientadditinalinfo_grid->StartRec - 1;
if ($clientadditinalinfo_grid->Recordset && !$clientadditinalinfo_grid->Recordset->EOF) {
	$clientadditinalinfo_grid->Recordset->moveFirst();
	$selectLimit = $clientadditinalinfo_grid->UseSelectLimit;
	if (!$selectLimit && $clientadditinalinfo_grid->StartRec > 1)
		$clientadditinalinfo_grid->Recordset->move($clientadditinalinfo_grid->StartRec - 1);
} elseif (!$clientadditinalinfo->AllowAddDeleteRow && $clientadditinalinfo_grid->StopRec == 0) {
	$clientadditinalinfo_grid->StopRec = $clientadditinalinfo->GridAddRowCount;
}

// Initialize aggregate
$clientadditinalinfo->RowType = ROWTYPE_AGGREGATEINIT;
$clientadditinalinfo->resetAttributes();
$clientadditinalinfo_grid->renderRow();
if ($clientadditinalinfo->isGridAdd())
	$clientadditinalinfo_grid->RowIndex = 0;
if ($clientadditinalinfo->isGridEdit())
	$clientadditinalinfo_grid->RowIndex = 0;
while ($clientadditinalinfo_grid->RecCnt < $clientadditinalinfo_grid->StopRec) {
	$clientadditinalinfo_grid->RecCnt++;
	if ($clientadditinalinfo_grid->RecCnt >= $clientadditinalinfo_grid->StartRec) {
		$clientadditinalinfo_grid->RowCnt++;
		if ($clientadditinalinfo->isGridAdd() || $clientadditinalinfo->isGridEdit() || $clientadditinalinfo->isConfirm()) {
			$clientadditinalinfo_grid->RowIndex++;
			$CurrentForm->Index = $clientadditinalinfo_grid->RowIndex;
			if ($CurrentForm->hasValue($clientadditinalinfo_grid->FormActionName) && $clientadditinalinfo_grid->EventCancelled)
				$clientadditinalinfo_grid->RowAction = strval($CurrentForm->getValue($clientadditinalinfo_grid->FormActionName));
			elseif ($clientadditinalinfo->isGridAdd())
				$clientadditinalinfo_grid->RowAction = "insert";
			else
				$clientadditinalinfo_grid->RowAction = "";
		}

		// Set up key count
		$clientadditinalinfo_grid->KeyCount = $clientadditinalinfo_grid->RowIndex;

		// Init row class and style
		$clientadditinalinfo->resetAttributes();
		$clientadditinalinfo->CssClass = "";
		if ($clientadditinalinfo->isGridAdd()) {
			if ($clientadditinalinfo->CurrentMode == "copy") {
				$clientadditinalinfo_grid->loadRowValues($clientadditinalinfo_grid->Recordset); // Load row values
				$clientadditinalinfo_grid->setRecordKey($clientadditinalinfo_grid->RowOldKey, $clientadditinalinfo_grid->Recordset); // Set old record key
			} else {
				$clientadditinalinfo_grid->loadRowValues(); // Load default values
				$clientadditinalinfo_grid->RowOldKey = ""; // Clear old key value
			}
		} else {
			$clientadditinalinfo_grid->loadRowValues($clientadditinalinfo_grid->Recordset); // Load row values
		}
		$clientadditinalinfo->RowType = ROWTYPE_VIEW; // Render view
		if ($clientadditinalinfo->isGridAdd()) // Grid add
			$clientadditinalinfo->RowType = ROWTYPE_ADD; // Render add
		if ($clientadditinalinfo->isGridAdd() && $clientadditinalinfo->EventCancelled && !$CurrentForm->hasValue("k_blankrow")) // Insert failed
			$clientadditinalinfo_grid->restoreCurrentRowFormValues($clientadditinalinfo_grid->RowIndex); // Restore form values
		if ($clientadditinalinfo->isGridEdit()) { // Grid edit
			if ($clientadditinalinfo->EventCancelled)
				$clientadditinalinfo_grid->restoreCurrentRowFormValues($clientadditinalinfo_grid->RowIndex); // Restore form values
			if ($clientadditinalinfo_grid->RowAction == "insert")
				$clientadditinalinfo->RowType = ROWTYPE_ADD; // Render add
			else
				$clientadditinalinfo->RowType = ROWTYPE_EDIT; // Render edit
		}
		if ($clientadditinalinfo->isGridEdit() && ($clientadditinalinfo->RowType == ROWTYPE_EDIT || $clientadditinalinfo->RowType == ROWTYPE_ADD) && $clientadditinalinfo->EventCancelled) // Update failed
			$clientadditinalinfo_grid->restoreCurrentRowFormValues($clientadditinalinfo_grid->RowIndex); // Restore form values
		if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) // Edit row
			$clientadditinalinfo_grid->EditRowCnt++;
		if ($clientadditinalinfo->isConfirm()) // Confirm row
			$clientadditinalinfo_grid->restoreCurrentRowFormValues($clientadditinalinfo_grid->RowIndex); // Restore form values

		// Set up row id / data-rowindex
		$clientadditinalinfo->RowAttrs = array_merge($clientadditinalinfo->RowAttrs, array('data-rowindex'=>$clientadditinalinfo_grid->RowCnt, 'id'=>'r' . $clientadditinalinfo_grid->RowCnt . '_clientadditinalinfo', 'data-rowtype'=>$clientadditinalinfo->RowType));

		// Render row
		$clientadditinalinfo_grid->renderRow();

		// Render list options
		$clientadditinalinfo_grid->renderListOptions();

		// Skip delete row / empty row for confirm page
		if ($clientadditinalinfo_grid->RowAction <> "delete" && $clientadditinalinfo_grid->RowAction <> "insertdelete" && !($clientadditinalinfo_grid->RowAction == "insert" && $clientadditinalinfo->isConfirm() && $clientadditinalinfo_grid->emptyRow())) {
?>
	<tr<?php echo $clientadditinalinfo->rowAttributes() ?>>
<?php

// Render list options (body, left)
$clientadditinalinfo_grid->ListOptions->render("body", "left", $clientadditinalinfo_grid->RowCnt);
?>
	<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
		<td data-name="ClientID"<?php echo $clientadditinalinfo->ClientID->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<?php if ($clientadditinalinfo->ClientID->getSessionValue() <> "") { ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientID->ViewValue) ?>"></span>
</span>
<input type="hidden" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->CurrentValue) ?>">
<?php } else { ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_ClientID" data-value-separator="<?php echo $clientadditinalinfo->ClientID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID"<?php echo $clientadditinalinfo->ClientID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->ClientID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->ClientID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_ClientID") ?>
</span>
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<?php if ($clientadditinalinfo->ClientID->getSessionValue() <> "") { ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientID->ViewValue) ?>"></span>
</span>
<input type="hidden" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->CurrentValue) ?>">
<?php } else { ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_ClientID" data-value-separator="<?php echo $clientadditinalinfo->ClientID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID"<?php echo $clientadditinalinfo->ClientID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->ClientID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->ClientID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_ClientID") ?>
</span>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->ClientID->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientInfoID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientInfoID->CurrentValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientInfoID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientInfoID->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT || $clientadditinalinfo->CurrentMode == "edit") { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientInfoID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientInfoID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientInfoID->CurrentValue) ?>">
<?php } ?>
	<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<td data-name="MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_MaritalStatusID" class="form-group clientadditinalinfo_MaritalStatusID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" data-value-separator="<?php echo $clientadditinalinfo->MaritalStatusID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->MaritalStatusID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->MaritalStatusID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_MaritalStatusID") ?>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_MaritalStatusID" class="form-group clientadditinalinfo_MaritalStatusID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" data-value-separator="<?php echo $clientadditinalinfo->MaritalStatusID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->MaritalStatusID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->MaritalStatusID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_MaritalStatusID") ?>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID">
<span<?php echo $clientadditinalinfo->MaritalStatusID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->MaritalStatusID->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
		<td data-name="CivilStatus23"<?php echo $clientadditinalinfo->CivilStatus23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatus23" class="form-group clientadditinalinfo_CivilStatus23">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatus23->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatus23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatus23" class="form-group clientadditinalinfo_CivilStatus23">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatus23->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatus23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23">
<span<?php echo $clientadditinalinfo->CivilStatus23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatus23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<td data-name="CivilStatusPlace"<?php echo $clientadditinalinfo->CivilStatusPlace->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatusPlace" class="form-group clientadditinalinfo_CivilStatusPlace">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatusPlace->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatusPlace->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatusPlace" class="form-group clientadditinalinfo_CivilStatusPlace">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatusPlace->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatusPlace->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace">
<span<?php echo $clientadditinalinfo->CivilStatusPlace->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatusPlace->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
		<td data-name="IdCard23"<?php echo $clientadditinalinfo->IdCard23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_IdCard23" class="form-group clientadditinalinfo_IdCard23">
<input type="text" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->IdCard23->EditValue ?>"<?php echo $clientadditinalinfo->IdCard23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_IdCard23" class="form-group clientadditinalinfo_IdCard23">
<input type="text" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->IdCard23->EditValue ?>"<?php echo $clientadditinalinfo->IdCard23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23">
<span<?php echo $clientadditinalinfo->IdCard23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->IdCard23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
		<td data-name="NationalId23"<?php echo $clientadditinalinfo->NationalId23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_NationalId23" class="form-group clientadditinalinfo_NationalId23">
<input type="text" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->NationalId23->EditValue ?>"<?php echo $clientadditinalinfo->NationalId23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_NationalId23" class="form-group clientadditinalinfo_NationalId23">
<input type="text" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->NationalId23->EditValue ?>"<?php echo $clientadditinalinfo->NationalId23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23">
<span<?php echo $clientadditinalinfo->NationalId23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->NationalId23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
		<td data-name="Nationality1"<?php echo $clientadditinalinfo->Nationality1->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality1" class="form-group clientadditinalinfo_Nationality1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality1->EditValue ?>"<?php echo $clientadditinalinfo->Nationality1->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality1" class="form-group clientadditinalinfo_Nationality1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality1->EditValue ?>"<?php echo $clientadditinalinfo->Nationality1->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1">
<span<?php echo $clientadditinalinfo->Nationality1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality1->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
		<td data-name="Nationality2"<?php echo $clientadditinalinfo->Nationality2->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality2" class="form-group clientadditinalinfo_Nationality2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality2->EditValue ?>"<?php echo $clientadditinalinfo->Nationality2->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality2" class="form-group clientadditinalinfo_Nationality2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality2->EditValue ?>"<?php echo $clientadditinalinfo->Nationality2->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2">
<span<?php echo $clientadditinalinfo->Nationality2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality2->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
		<td data-name="Nationality3"<?php echo $clientadditinalinfo->Nationality3->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality3" class="form-group clientadditinalinfo_Nationality3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality3->EditValue ?>"<?php echo $clientadditinalinfo->Nationality3->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality3" class="form-group clientadditinalinfo_Nationality3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality3->EditValue ?>"<?php echo $clientadditinalinfo->Nationality3->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3">
<span<?php echo $clientadditinalinfo->Nationality3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality3->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
		<td data-name="DriverLicense23"<?php echo $clientadditinalinfo->DriverLicense23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_DriverLicense23" class="form-group clientadditinalinfo_DriverLicense23">
<input type="text" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->DriverLicense23->EditValue ?>"<?php echo $clientadditinalinfo->DriverLicense23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_DriverLicense23" class="form-group clientadditinalinfo_DriverLicense23">
<input type="text" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->DriverLicense23->EditValue ?>"<?php echo $clientadditinalinfo->DriverLicense23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23">
<span<?php echo $clientadditinalinfo->DriverLicense23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->DriverLicense23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
		<td data-name="SocialSecurity23"<?php echo $clientadditinalinfo->SocialSecurity23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_SocialSecurity23" class="form-group clientadditinalinfo_SocialSecurity23">
<input type="text" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->SocialSecurity23->EditValue ?>"<?php echo $clientadditinalinfo->SocialSecurity23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_SocialSecurity23" class="form-group clientadditinalinfo_SocialSecurity23">
<input type="text" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->SocialSecurity23->EditValue ?>"<?php echo $clientadditinalinfo->SocialSecurity23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23">
<span<?php echo $clientadditinalinfo->SocialSecurity23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->SocialSecurity23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
		<td data-name="Financial23"<?php echo $clientadditinalinfo->Financial23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Financial23" class="form-group clientadditinalinfo_Financial23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Financial23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Financial23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Financial23->EditValue ?>"<?php echo $clientadditinalinfo->Financial23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Financial23" class="form-group clientadditinalinfo_Financial23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Financial23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Financial23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Financial23->EditValue ?>"<?php echo $clientadditinalinfo->Financial23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23">
<span<?php echo $clientadditinalinfo->Financial23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Financial23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
		<td data-name="Extra23"<?php echo $clientadditinalinfo->Extra23->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Extra23" class="form-group clientadditinalinfo_Extra23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Extra23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Extra23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Extra23->EditValue ?>"<?php echo $clientadditinalinfo->Extra23->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Extra23" class="form-group clientadditinalinfo_Extra23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Extra23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Extra23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Extra23->EditValue ?>"<?php echo $clientadditinalinfo->Extra23->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23">
<span<?php echo $clientadditinalinfo->Extra23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Extra23->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
		<td data-name="Field1"<?php echo $clientadditinalinfo->Field1->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field1" class="form-group clientadditinalinfo_Field1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field1->EditValue ?>"<?php echo $clientadditinalinfo->Field1->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field1" class="form-group clientadditinalinfo_Field1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field1->EditValue ?>"<?php echo $clientadditinalinfo->Field1->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1">
<span<?php echo $clientadditinalinfo->Field1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field1->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
		<td data-name="Field2"<?php echo $clientadditinalinfo->Field2->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field2" class="form-group clientadditinalinfo_Field2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field2->EditValue ?>"<?php echo $clientadditinalinfo->Field2->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field2" class="form-group clientadditinalinfo_Field2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field2->EditValue ?>"<?php echo $clientadditinalinfo->Field2->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2">
<span<?php echo $clientadditinalinfo->Field2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field2->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
		<td data-name="Field3"<?php echo $clientadditinalinfo->Field3->cellAttributes() ?>>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD) { // Add record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field3" class="form-group clientadditinalinfo_Field3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field3->EditValue ?>"<?php echo $clientadditinalinfo->Field3->editAttributes() ?>>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->OldValue) ?>">
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_EDIT) { // Edit record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field3" class="form-group clientadditinalinfo_Field3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field3->EditValue ?>"<?php echo $clientadditinalinfo->Field3->editAttributes() ?>>
</span>
<?php } ?>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_VIEW) { // View record ?>
<span id="el<?php echo $clientadditinalinfo_grid->RowCnt ?>_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3">
<span<?php echo $clientadditinalinfo->Field3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field3->getViewValue() ?></span>
</span>
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->OldValue) ?>">
<?php } else { ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="fclientadditinalinfogrid$x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->FormValue) ?>">
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="fclientadditinalinfogrid$o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->OldValue) ?>">
<?php } ?>
<?php } ?>
</td>
	<?php } ?>
<?php

// Render list options (body, right)
$clientadditinalinfo_grid->ListOptions->render("body", "right", $clientadditinalinfo_grid->RowCnt);
?>
	</tr>
<?php if ($clientadditinalinfo->RowType == ROWTYPE_ADD || $clientadditinalinfo->RowType == ROWTYPE_EDIT) { ?>
<script>
fclientadditinalinfogrid.updateLists(<?php echo $clientadditinalinfo_grid->RowIndex ?>);
</script>
<?php } ?>
<?php
	}
	} // End delete row checking
	if (!$clientadditinalinfo->isGridAdd() || $clientadditinalinfo->CurrentMode == "copy")
		if (!$clientadditinalinfo_grid->Recordset->EOF)
			$clientadditinalinfo_grid->Recordset->moveNext();
}
?>
<?php
	if ($clientadditinalinfo->CurrentMode == "add" || $clientadditinalinfo->CurrentMode == "copy" || $clientadditinalinfo->CurrentMode == "edit") {
		$clientadditinalinfo_grid->RowIndex = '$rowindex$';
		$clientadditinalinfo_grid->loadRowValues();

		// Set row properties
		$clientadditinalinfo->resetAttributes();
		$clientadditinalinfo->RowAttrs = array_merge($clientadditinalinfo->RowAttrs, array('data-rowindex'=>$clientadditinalinfo_grid->RowIndex, 'id'=>'r0_clientadditinalinfo', 'data-rowtype'=>ROWTYPE_ADD));
		AppendClass($clientadditinalinfo->RowAttrs["class"], "ew-template");
		$clientadditinalinfo->RowType = ROWTYPE_ADD;

		// Render row
		$clientadditinalinfo_grid->renderRow();

		// Render list options
		$clientadditinalinfo_grid->renderListOptions();
		$clientadditinalinfo_grid->StartRowCnt = 0;
?>
	<tr<?php echo $clientadditinalinfo->rowAttributes() ?>>
<?php

// Render list options (body, left)
$clientadditinalinfo_grid->ListOptions->render("body", "left", $clientadditinalinfo_grid->RowIndex);
?>
	<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
		<td data-name="ClientID">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<?php if ($clientadditinalinfo->ClientID->getSessionValue() <> "") { ?>
<span id="el$rowindex$_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientID->ViewValue) ?>"></span>
</span>
<input type="hidden" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->CurrentValue) ?>">
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_ClientID" data-value-separator="<?php echo $clientadditinalinfo->ClientID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID"<?php echo $clientadditinalinfo->ClientID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->ClientID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->ClientID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_ClientID") ?>
</span>
<?php } ?>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_ClientID" class="form-group clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientID->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<td data-name="MaritalStatusID">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_MaritalStatusID" class="form-group clientadditinalinfo_MaritalStatusID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" data-value-separator="<?php echo $clientadditinalinfo->MaritalStatusID->displayValueSeparatorAttribute() ?>" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->MaritalStatusID->selectOptionListHtml("x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->MaritalStatusID->Lookup->getParamTag("p_x" . $clientadditinalinfo_grid->RowIndex . "_MaritalStatusID") ?>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_MaritalStatusID" class="form-group clientadditinalinfo_MaritalStatusID">
<span<?php echo $clientadditinalinfo->MaritalStatusID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->MaritalStatusID->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_MaritalStatusID" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_MaritalStatusID" value="<?php echo HtmlEncode($clientadditinalinfo->MaritalStatusID->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
		<td data-name="CivilStatus23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_CivilStatus23" class="form-group clientadditinalinfo_CivilStatus23">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatus23->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatus23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_CivilStatus23" class="form-group clientadditinalinfo_CivilStatus23">
<span<?php echo $clientadditinalinfo->CivilStatus23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->CivilStatus23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatus23" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatus23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<td data-name="CivilStatusPlace">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_CivilStatusPlace" class="form-group clientadditinalinfo_CivilStatusPlace">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->CivilStatusPlace->EditValue ?>"<?php echo $clientadditinalinfo->CivilStatusPlace->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_CivilStatusPlace" class="form-group clientadditinalinfo_CivilStatusPlace">
<span<?php echo $clientadditinalinfo->CivilStatusPlace->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->CivilStatusPlace->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_CivilStatusPlace" value="<?php echo HtmlEncode($clientadditinalinfo->CivilStatusPlace->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
		<td data-name="IdCard23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_IdCard23" class="form-group clientadditinalinfo_IdCard23">
<input type="text" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->IdCard23->EditValue ?>"<?php echo $clientadditinalinfo->IdCard23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_IdCard23" class="form-group clientadditinalinfo_IdCard23">
<span<?php echo $clientadditinalinfo->IdCard23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->IdCard23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_IdCard23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_IdCard23" value="<?php echo HtmlEncode($clientadditinalinfo->IdCard23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
		<td data-name="NationalId23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_NationalId23" class="form-group clientadditinalinfo_NationalId23">
<input type="text" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->NationalId23->EditValue ?>"<?php echo $clientadditinalinfo->NationalId23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_NationalId23" class="form-group clientadditinalinfo_NationalId23">
<span<?php echo $clientadditinalinfo->NationalId23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->NationalId23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_NationalId23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_NationalId23" value="<?php echo HtmlEncode($clientadditinalinfo->NationalId23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
		<td data-name="Nationality1">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality1" class="form-group clientadditinalinfo_Nationality1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality1->EditValue ?>"<?php echo $clientadditinalinfo->Nationality1->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality1" class="form-group clientadditinalinfo_Nationality1">
<span<?php echo $clientadditinalinfo->Nationality1->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Nationality1->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality1" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality1->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
		<td data-name="Nationality2">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality2" class="form-group clientadditinalinfo_Nationality2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality2->EditValue ?>"<?php echo $clientadditinalinfo->Nationality2->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality2" class="form-group clientadditinalinfo_Nationality2">
<span<?php echo $clientadditinalinfo->Nationality2->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Nationality2->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality2" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality2->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
		<td data-name="Nationality3">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality3" class="form-group clientadditinalinfo_Nationality3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Nationality3->EditValue ?>"<?php echo $clientadditinalinfo->Nationality3->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Nationality3" class="form-group clientadditinalinfo_Nationality3">
<span<?php echo $clientadditinalinfo->Nationality3->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Nationality3->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Nationality3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Nationality3" value="<?php echo HtmlEncode($clientadditinalinfo->Nationality3->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
		<td data-name="DriverLicense23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_DriverLicense23" class="form-group clientadditinalinfo_DriverLicense23">
<input type="text" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->DriverLicense23->EditValue ?>"<?php echo $clientadditinalinfo->DriverLicense23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_DriverLicense23" class="form-group clientadditinalinfo_DriverLicense23">
<span<?php echo $clientadditinalinfo->DriverLicense23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->DriverLicense23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_DriverLicense23" value="<?php echo HtmlEncode($clientadditinalinfo->DriverLicense23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
		<td data-name="SocialSecurity23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_SocialSecurity23" class="form-group clientadditinalinfo_SocialSecurity23">
<input type="text" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->SocialSecurity23->EditValue ?>"<?php echo $clientadditinalinfo->SocialSecurity23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_SocialSecurity23" class="form-group clientadditinalinfo_SocialSecurity23">
<span<?php echo $clientadditinalinfo->SocialSecurity23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->SocialSecurity23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_SocialSecurity23" value="<?php echo HtmlEncode($clientadditinalinfo->SocialSecurity23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
		<td data-name="Financial23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Financial23" class="form-group clientadditinalinfo_Financial23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Financial23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Financial23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Financial23->EditValue ?>"<?php echo $clientadditinalinfo->Financial23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Financial23" class="form-group clientadditinalinfo_Financial23">
<span<?php echo $clientadditinalinfo->Financial23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Financial23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Financial23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Financial23" value="<?php echo HtmlEncode($clientadditinalinfo->Financial23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
		<td data-name="Extra23">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Extra23" class="form-group clientadditinalinfo_Extra23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Extra23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Extra23->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Extra23->EditValue ?>"<?php echo $clientadditinalinfo->Extra23->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Extra23" class="form-group clientadditinalinfo_Extra23">
<span<?php echo $clientadditinalinfo->Extra23->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Extra23->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Extra23" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Extra23" value="<?php echo HtmlEncode($clientadditinalinfo->Extra23->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
		<td data-name="Field1">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Field1" class="form-group clientadditinalinfo_Field1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field1->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field1->EditValue ?>"<?php echo $clientadditinalinfo->Field1->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Field1" class="form-group clientadditinalinfo_Field1">
<span<?php echo $clientadditinalinfo->Field1->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Field1->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field1" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field1" value="<?php echo HtmlEncode($clientadditinalinfo->Field1->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
		<td data-name="Field2">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Field2" class="form-group clientadditinalinfo_Field2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field2->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field2->EditValue ?>"<?php echo $clientadditinalinfo->Field2->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Field2" class="form-group clientadditinalinfo_Field2">
<span<?php echo $clientadditinalinfo->Field2->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Field2->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field2" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field2" value="<?php echo HtmlEncode($clientadditinalinfo->Field2->OldValue) ?>">
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
		<td data-name="Field3">
<?php if (!$clientadditinalinfo->isConfirm()) { ?>
<span id="el$rowindex$_clientadditinalinfo_Field3" class="form-group clientadditinalinfo_Field3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Field3->getPlaceHolder()) ?>" value="<?php echo $clientadditinalinfo->Field3->EditValue ?>"<?php echo $clientadditinalinfo->Field3->editAttributes() ?>>
</span>
<?php } else { ?>
<span id="el$rowindex$_clientadditinalinfo_Field3" class="form-group clientadditinalinfo_Field3">
<span<?php echo $clientadditinalinfo->Field3->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->Field3->ViewValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="x<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->FormValue) ?>">
<?php } ?>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_Field3" name="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" id="o<?php echo $clientadditinalinfo_grid->RowIndex ?>_Field3" value="<?php echo HtmlEncode($clientadditinalinfo->Field3->OldValue) ?>">
</td>
	<?php } ?>
<?php

// Render list options (body, right)
$clientadditinalinfo_grid->ListOptions->render("body", "right", $clientadditinalinfo_grid->RowIndex);
?>
<script>
fclientadditinalinfogrid.updateLists(<?php echo $clientadditinalinfo_grid->RowIndex ?>);
</script>
	</tr>
<?php
}
?>
</tbody>
</table><!-- /.ew-table -->
<?php if ($clientadditinalinfo->CurrentMode == "add" || $clientadditinalinfo->CurrentMode == "copy") { ?>
<input type="hidden" name="<?php echo $clientadditinalinfo_grid->FormKeyCountName ?>" id="<?php echo $clientadditinalinfo_grid->FormKeyCountName ?>" value="<?php echo $clientadditinalinfo_grid->KeyCount ?>">
<?php echo $clientadditinalinfo_grid->MultiSelectKey ?>
<?php } ?>
<?php if ($clientadditinalinfo->CurrentMode == "edit") { ?>
<input type="hidden" name="<?php echo $clientadditinalinfo_grid->FormKeyCountName ?>" id="<?php echo $clientadditinalinfo_grid->FormKeyCountName ?>" value="<?php echo $clientadditinalinfo_grid->KeyCount ?>">
<?php echo $clientadditinalinfo_grid->MultiSelectKey ?>
<?php } ?>
<?php if ($clientadditinalinfo->CurrentMode == "") { ?>
<input type="hidden" name="action" id="action" value="">
<?php } ?>
<input type="hidden" name="detailpage" value="fclientadditinalinfogrid">
</div><!-- /.ew-grid-middle-panel -->
<?php

// Close recordset
if ($clientadditinalinfo_grid->Recordset)
	$clientadditinalinfo_grid->Recordset->Close();
?>
</div>
<?php if ($clientadditinalinfo_grid->ShowOtherOptions) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php $clientadditinalinfo_grid->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($clientadditinalinfo_grid->TotalRecs == 0 && !$clientadditinalinfo->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $clientadditinalinfo_grid->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$clientadditinalinfo_grid->terminate();
?>
<?php if (!$clientadditinalinfo->isExport()) { ?>
<script>
ew.scrollableTable("gmp_clientadditinalinfo", "1250px", "");
</script>
<?php } ?>
