<?php
namespace PHPMaker2019\project_germanos;

// Session
if (session_status() !== PHP_SESSION_ACTIVE)
	session_start(); // Init session data

// Output buffering
ob_start(); 

// Autoload
include_once "autoload.php";
?>
<?php

// Write header
WriteHeader(FALSE);

// Create page object
$clientadditinalinfo_edit = new clientadditinalinfo_edit();

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

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

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

// Page Rendering event
$clientadditinalinfo_edit->Page_Render();
?>
<?php include_once "header.php" ?>
<script>

// Form object
currentPageID = ew.PAGE_ID = "edit";
var fclientadditinalinfoedit = currentForm = new ew.Form("fclientadditinalinfoedit", "edit");

// Validate form
fclientadditinalinfoedit.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);
		<?php if ($clientadditinalinfo_edit->ClientInfoID->Required) { ?>
			elm = this.getElements("x" + infix + "_ClientInfoID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->ClientInfoID->caption(), $clientadditinalinfo->ClientInfoID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_edit->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_edit->Notes->Required) { ?>
			elm = this.getElements("x" + infix + "_Notes");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $clientadditinalinfo->Notes->caption(), $clientadditinalinfo->Notes->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($clientadditinalinfo_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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_edit->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;
	}

	// Process detail forms
	var dfs = $fobj.find("input[name='detailpage']").get();
	for (var i = 0; i < dfs.length; i++) {
		var df = dfs[i], val = df.value;
		if (val && ew.forms[val])
			if (!ew.forms[val].validate())
				return false;
	}
	return true;
}

// Form_CustomValidate event
fclientadditinalinfoedit.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
fclientadditinalinfoedit.validateRequired = <?php echo json_encode(CLIENT_VALIDATE) ?>;

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

// Form object for search
</script>
<script>

// Write your client script here, no need to add script tags.
</script>
<?php $clientadditinalinfo_edit->showPageHeader(); ?>
<?php
$clientadditinalinfo_edit->showMessage();
?>
<?php if (!$clientadditinalinfo_edit->IsModal) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($clientadditinalinfo_edit->Pager)) $clientadditinalinfo_edit->Pager = new PrevNextPager($clientadditinalinfo_edit->StartRec, $clientadditinalinfo_edit->DisplayRecs, $clientadditinalinfo_edit->TotalRecs, $clientadditinalinfo_edit->AutoHidePager) ?>
<?php if ($clientadditinalinfo_edit->Pager->RecordCount > 0 && $clientadditinalinfo_edit->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($clientadditinalinfo_edit->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($clientadditinalinfo_edit->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $clientadditinalinfo_edit->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($clientadditinalinfo_edit->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($clientadditinalinfo_edit->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $clientadditinalinfo_edit->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
</form>
<?php } ?>
<form name="fclientadditinalinfoedit" id="fclientadditinalinfoedit" class="<?php echo $clientadditinalinfo_edit->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($clientadditinalinfo_edit->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $clientadditinalinfo_edit->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="clientadditinalinfo">
<input type="hidden" name="action" id="action" value="update">
<input type="hidden" name="modal" value="<?php echo (int)$clientadditinalinfo_edit->IsModal ?>">
<?php if ($clientadditinalinfo->getCurrentMasterTable() == "clients") { ?>
<input type="hidden" name="<?php echo TABLE_SHOW_MASTER ?>" value="clients">
<input type="hidden" name="fk_ClientID" value="<?php echo $clientadditinalinfo->ClientID->getSessionValue() ?>">
<?php } ?>
<?php if (!$clientadditinalinfo_edit->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
<div class="ew-edit-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_clientadditinalinfoedit" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($clientadditinalinfo->ClientInfoID->Visible) { // ClientInfoID ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_ClientInfoID" class="form-group row">
		<label id="elh_clientadditinalinfo_ClientInfoID" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->ClientInfoID->caption() ?><?php echo ($clientadditinalinfo->ClientInfoID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->ClientInfoID->cellAttributes() ?>>
<span id="el_clientadditinalinfo_ClientInfoID">
<span<?php echo $clientadditinalinfo->ClientInfoID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientInfoID->EditValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientInfoID" name="x_ClientInfoID" id="x_ClientInfoID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientInfoID->CurrentValue) ?>">
<?php echo $clientadditinalinfo->ClientInfoID->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_ClientInfoID">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_ClientInfoID"><?php echo $clientadditinalinfo->ClientInfoID->caption() ?><?php echo ($clientadditinalinfo->ClientInfoID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->ClientInfoID->cellAttributes() ?>>
<span id="el_clientadditinalinfo_ClientInfoID">
<span<?php echo $clientadditinalinfo->ClientInfoID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($clientadditinalinfo->ClientInfoID->EditValue) ?>"></span>
</span>
<input type="hidden" data-table="clientadditinalinfo" data-field="x_ClientInfoID" name="x_ClientInfoID" id="x_ClientInfoID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientInfoID->CurrentValue) ?>">
<?php echo $clientadditinalinfo->ClientInfoID->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_ClientID" class="form-group row">
		<label id="elh_clientadditinalinfo_ClientID" for="x_ClientID" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->ClientID->caption() ?><?php echo ($clientadditinalinfo->ClientID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->ClientID->cellAttributes() ?>>
<?php if ($clientadditinalinfo->ClientID->getSessionValue() <> "") { ?>
<span id="el_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_ClientID" name="x_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->CurrentValue) ?>">
<?php } else { ?>
<span id="el_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_ClientID" name="x_ClientID"<?php echo $clientadditinalinfo->ClientID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->ClientID->selectOptionListHtml("x_ClientID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->ClientID->Lookup->getParamTag("p_x_ClientID") ?>
</span>
<?php } ?>
<?php echo $clientadditinalinfo->ClientID->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_ClientID">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_ClientID"><?php echo $clientadditinalinfo->ClientID->caption() ?><?php echo ($clientadditinalinfo->ClientID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->ClientID->cellAttributes() ?>>
<?php if ($clientadditinalinfo->ClientID->getSessionValue() <> "") { ?>
<span id="el_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_ClientID" name="x_ClientID" value="<?php echo HtmlEncode($clientadditinalinfo->ClientID->CurrentValue) ?>">
<?php } else { ?>
<span id="el_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_ClientID" name="x_ClientID"<?php echo $clientadditinalinfo->ClientID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->ClientID->selectOptionListHtml("x_ClientID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->ClientID->Lookup->getParamTag("p_x_ClientID") ?>
</span>
<?php } ?>
<?php echo $clientadditinalinfo->ClientID->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Notes->Visible) { // Notes ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label id="elh_clientadditinalinfo_Notes" for="x_Notes" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Notes->caption() ?><?php echo ($clientadditinalinfo->Notes->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Notes->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Notes">
<textarea data-table="clientadditinalinfo" data-field="x_Notes" name="x_Notes" id="x_Notes" cols="35" rows="4" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Notes->getPlaceHolder()) ?>"<?php echo $clientadditinalinfo->Notes->editAttributes() ?>><?php echo $clientadditinalinfo->Notes->EditValue ?></textarea>
</span>
<?php echo $clientadditinalinfo->Notes->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Notes"><?php echo $clientadditinalinfo->Notes->caption() ?><?php echo ($clientadditinalinfo->Notes->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Notes->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Notes">
<textarea data-table="clientadditinalinfo" data-field="x_Notes" name="x_Notes" id="x_Notes" cols="35" rows="4" placeholder="<?php echo HtmlEncode($clientadditinalinfo->Notes->getPlaceHolder()) ?>"<?php echo $clientadditinalinfo->Notes->editAttributes() ?>><?php echo $clientadditinalinfo->Notes->EditValue ?></textarea>
</span>
<?php echo $clientadditinalinfo->Notes->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_MaritalStatusID" class="form-group row">
		<label id="elh_clientadditinalinfo_MaritalStatusID" for="x_MaritalStatusID" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?><?php echo ($clientadditinalinfo->MaritalStatusID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->MaritalStatusID->cellAttributes() ?>>
<span id="el_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_MaritalStatusID" name="x_MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->MaritalStatusID->selectOptionListHtml("x_MaritalStatusID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->MaritalStatusID->Lookup->getParamTag("p_x_MaritalStatusID") ?>
</span>
<?php echo $clientadditinalinfo->MaritalStatusID->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_MaritalStatusID">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_MaritalStatusID"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?><?php echo ($clientadditinalinfo->MaritalStatusID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->MaritalStatusID->cellAttributes() ?>>
<span id="el_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_MaritalStatusID" name="x_MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->editAttributes() ?>>
		<?php echo $clientadditinalinfo->MaritalStatusID->selectOptionListHtml("x_MaritalStatusID") ?>
	</select>
</div>
<?php echo $clientadditinalinfo->MaritalStatusID->Lookup->getParamTag("p_x_MaritalStatusID") ?>
</span>
<?php echo $clientadditinalinfo->MaritalStatusID->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_CivilStatus23" class="form-group row">
		<label id="elh_clientadditinalinfo_CivilStatus23" for="x_CivilStatus23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?><?php echo ($clientadditinalinfo->CivilStatus23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->CivilStatus23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_CivilStatus23">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x_CivilStatus23" id="x_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 echo $clientadditinalinfo->CivilStatus23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatus23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_CivilStatus23"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?><?php echo ($clientadditinalinfo->CivilStatus23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->CivilStatus23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_CivilStatus23">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatus23" name="x_CivilStatus23" id="x_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 echo $clientadditinalinfo->CivilStatus23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_CivilStatusPlace" class="form-group row">
		<label id="elh_clientadditinalinfo_CivilStatusPlace" for="x_CivilStatusPlace" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?><?php echo ($clientadditinalinfo->CivilStatusPlace->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->CivilStatusPlace->cellAttributes() ?>>
<span id="el_clientadditinalinfo_CivilStatusPlace">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x_CivilStatusPlace" id="x_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 echo $clientadditinalinfo->CivilStatusPlace->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatusPlace">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_CivilStatusPlace"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?><?php echo ($clientadditinalinfo->CivilStatusPlace->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->CivilStatusPlace->cellAttributes() ?>>
<span id="el_clientadditinalinfo_CivilStatusPlace">
<input type="text" data-table="clientadditinalinfo" data-field="x_CivilStatusPlace" name="x_CivilStatusPlace" id="x_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 echo $clientadditinalinfo->CivilStatusPlace->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_IdCard23" class="form-group row">
		<label id="elh_clientadditinalinfo_IdCard23" for="x_IdCard23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->IdCard23->caption() ?><?php echo ($clientadditinalinfo->IdCard23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->IdCard23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_IdCard23">
<input type="text" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x_IdCard23" id="x_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 echo $clientadditinalinfo->IdCard23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_IdCard23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_IdCard23"><?php echo $clientadditinalinfo->IdCard23->caption() ?><?php echo ($clientadditinalinfo->IdCard23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->IdCard23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_IdCard23">
<input type="text" data-table="clientadditinalinfo" data-field="x_IdCard23" name="x_IdCard23" id="x_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 echo $clientadditinalinfo->IdCard23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_NationalId23" class="form-group row">
		<label id="elh_clientadditinalinfo_NationalId23" for="x_NationalId23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->NationalId23->caption() ?><?php echo ($clientadditinalinfo->NationalId23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->NationalId23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_NationalId23">
<input type="text" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x_NationalId23" id="x_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 echo $clientadditinalinfo->NationalId23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_NationalId23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_NationalId23"><?php echo $clientadditinalinfo->NationalId23->caption() ?><?php echo ($clientadditinalinfo->NationalId23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->NationalId23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_NationalId23">
<input type="text" data-table="clientadditinalinfo" data-field="x_NationalId23" name="x_NationalId23" id="x_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 echo $clientadditinalinfo->NationalId23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality1" class="form-group row">
		<label id="elh_clientadditinalinfo_Nationality1" for="x_Nationality1" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Nationality1->caption() ?><?php echo ($clientadditinalinfo->Nationality1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Nationality1->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x_Nationality1" id="x_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 echo $clientadditinalinfo->Nationality1->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality1">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Nationality1"><?php echo $clientadditinalinfo->Nationality1->caption() ?><?php echo ($clientadditinalinfo->Nationality1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Nationality1->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality1" name="x_Nationality1" id="x_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 echo $clientadditinalinfo->Nationality1->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality2" class="form-group row">
		<label id="elh_clientadditinalinfo_Nationality2" for="x_Nationality2" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Nationality2->caption() ?><?php echo ($clientadditinalinfo->Nationality2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Nationality2->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x_Nationality2" id="x_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 echo $clientadditinalinfo->Nationality2->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality2">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Nationality2"><?php echo $clientadditinalinfo->Nationality2->caption() ?><?php echo ($clientadditinalinfo->Nationality2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Nationality2->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality2" name="x_Nationality2" id="x_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 echo $clientadditinalinfo->Nationality2->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality3" class="form-group row">
		<label id="elh_clientadditinalinfo_Nationality3" for="x_Nationality3" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Nationality3->caption() ?><?php echo ($clientadditinalinfo->Nationality3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Nationality3->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x_Nationality3" id="x_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 echo $clientadditinalinfo->Nationality3->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality3">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Nationality3"><?php echo $clientadditinalinfo->Nationality3->caption() ?><?php echo ($clientadditinalinfo->Nationality3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Nationality3->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Nationality3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Nationality3" name="x_Nationality3" id="x_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 echo $clientadditinalinfo->Nationality3->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_DriverLicense23" class="form-group row">
		<label id="elh_clientadditinalinfo_DriverLicense23" for="x_DriverLicense23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?><?php echo ($clientadditinalinfo->DriverLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->DriverLicense23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_DriverLicense23">
<input type="text" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x_DriverLicense23" id="x_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 echo $clientadditinalinfo->DriverLicense23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_DriverLicense23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_DriverLicense23"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?><?php echo ($clientadditinalinfo->DriverLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->DriverLicense23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_DriverLicense23">
<input type="text" data-table="clientadditinalinfo" data-field="x_DriverLicense23" name="x_DriverLicense23" id="x_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 echo $clientadditinalinfo->DriverLicense23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_SocialSecurity23" class="form-group row">
		<label id="elh_clientadditinalinfo_SocialSecurity23" for="x_SocialSecurity23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?><?php echo ($clientadditinalinfo->SocialSecurity23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->SocialSecurity23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_SocialSecurity23">
<input type="text" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x_SocialSecurity23" id="x_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 echo $clientadditinalinfo->SocialSecurity23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_SocialSecurity23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_SocialSecurity23"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?><?php echo ($clientadditinalinfo->SocialSecurity23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->SocialSecurity23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_SocialSecurity23">
<input type="text" data-table="clientadditinalinfo" data-field="x_SocialSecurity23" name="x_SocialSecurity23" id="x_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 echo $clientadditinalinfo->SocialSecurity23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Financial23" class="form-group row">
		<label id="elh_clientadditinalinfo_Financial23" for="x_Financial23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Financial23->caption() ?><?php echo ($clientadditinalinfo->Financial23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Financial23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Financial23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Financial23" name="x_Financial23" id="x_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 echo $clientadditinalinfo->Financial23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Financial23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Financial23"><?php echo $clientadditinalinfo->Financial23->caption() ?><?php echo ($clientadditinalinfo->Financial23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Financial23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Financial23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Financial23" name="x_Financial23" id="x_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 echo $clientadditinalinfo->Financial23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Extra23" class="form-group row">
		<label id="elh_clientadditinalinfo_Extra23" for="x_Extra23" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Extra23->caption() ?><?php echo ($clientadditinalinfo->Extra23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Extra23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Extra23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Extra23" name="x_Extra23" id="x_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 echo $clientadditinalinfo->Extra23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Extra23">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Extra23"><?php echo $clientadditinalinfo->Extra23->caption() ?><?php echo ($clientadditinalinfo->Extra23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Extra23->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Extra23">
<input type="text" data-table="clientadditinalinfo" data-field="x_Extra23" name="x_Extra23" id="x_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 echo $clientadditinalinfo->Extra23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Field1" class="form-group row">
		<label id="elh_clientadditinalinfo_Field1" for="x_Field1" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Field1->caption() ?><?php echo ($clientadditinalinfo->Field1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Field1->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field1" name="x_Field1" id="x_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 echo $clientadditinalinfo->Field1->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Field1">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Field1"><?php echo $clientadditinalinfo->Field1->caption() ?><?php echo ($clientadditinalinfo->Field1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Field1->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field1">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field1" name="x_Field1" id="x_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 echo $clientadditinalinfo->Field1->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Field2" class="form-group row">
		<label id="elh_clientadditinalinfo_Field2" for="x_Field2" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Field2->caption() ?><?php echo ($clientadditinalinfo->Field2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Field2->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field2" name="x_Field2" id="x_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 echo $clientadditinalinfo->Field2->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Field2">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Field2"><?php echo $clientadditinalinfo->Field2->caption() ?><?php echo ($clientadditinalinfo->Field2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Field2->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field2">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field2" name="x_Field2" id="x_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 echo $clientadditinalinfo->Field2->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
	<div id="r_Field3" class="form-group row">
		<label id="elh_clientadditinalinfo_Field3" for="x_Field3" class="<?php echo $clientadditinalinfo_edit->LeftColumnClass ?>"><?php echo $clientadditinalinfo->Field3->caption() ?><?php echo ($clientadditinalinfo->Field3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $clientadditinalinfo_edit->RightColumnClass ?>"><div<?php echo $clientadditinalinfo->Field3->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field3" name="x_Field3" id="x_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 echo $clientadditinalinfo->Field3->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Field3">
		<td class="<?php echo $clientadditinalinfo_edit->TableLeftColumnClass ?>"><span id="elh_clientadditinalinfo_Field3"><?php echo $clientadditinalinfo->Field3->caption() ?><?php echo ($clientadditinalinfo->Field3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $clientadditinalinfo->Field3->cellAttributes() ?>>
<span id="el_clientadditinalinfo_Field3">
<input type="text" data-table="clientadditinalinfo" data-field="x_Field3" name="x_Field3" id="x_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 echo $clientadditinalinfo->Field3->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo_edit->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$clientadditinalinfo_edit->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $clientadditinalinfo_edit->OffsetColumnClass ?>"><!-- buttons offset -->
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("SaveBtn") ?></button>
<button class="btn btn-default ew-btn" name="btn-cancel" id="btn-cancel" type="button" data-href="<?php echo $clientadditinalinfo_edit->getReturnUrl() ?>"><?php echo $Language->phrase("CancelBtn") ?></button>
	</div><!-- /buttons offset -->
</div><!-- /buttons .form-group -->
<?php } ?>
<?php if (!$clientadditinalinfo_edit->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
<?php if (!$clientadditinalinfo_edit->IsModal) { ?>
<?php if (!isset($clientadditinalinfo_edit->Pager)) $clientadditinalinfo_edit->Pager = new PrevNextPager($clientadditinalinfo_edit->StartRec, $clientadditinalinfo_edit->DisplayRecs, $clientadditinalinfo_edit->TotalRecs, $clientadditinalinfo_edit->AutoHidePager) ?>
<?php if ($clientadditinalinfo_edit->Pager->RecordCount > 0 && $clientadditinalinfo_edit->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($clientadditinalinfo_edit->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($clientadditinalinfo_edit->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $clientadditinalinfo_edit->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($clientadditinalinfo_edit->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($clientadditinalinfo_edit->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $clientadditinalinfo_edit->pageUrl() ?>start=<?php echo $clientadditinalinfo_edit->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $clientadditinalinfo_edit->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
<?php } ?>
</form>
<?php
$clientadditinalinfo_edit->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<script>

// Write your table-specific startup script here
// document.write("page loaded");

</script>
<?php include_once "footer.php" ?>
<?php
$clientadditinalinfo_edit->terminate();
?>
