<?php
namespace PHPMaker2020\project2;

// 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
$kp_pago_view = new kp_pago_view();

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

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

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

// Page Rendering event
$kp_pago_view->Page_Render();
?>
<?php include_once "header.php"; ?>
<?php if (!$kp_pago_view->isExport()) { ?>
<script>
var fkp_pagoview, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "view";
	fkp_pagoview = currentForm = new ew.Form("fkp_pagoview", "view");
	loadjs.done("fkp_pagoview");
});
</script>
<script>
loadjs.ready("head", function() {

	// Client script
	// Write your client script here, no need to add script tags.

});
</script>
<?php } ?>
<?php if (!$kp_pago_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $kp_pago_view->ExportOptions->render("body") ?>
<?php $kp_pago_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $kp_pago_view->showPageHeader(); ?>
<?php
$kp_pago_view->showMessage();
?>
<form name="fkp_pagoview" id="fkp_pagoview" class="form-inline ew-form ew-view-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($Page->CheckToken) { ?>
<input type="hidden" name="<?php echo Config("TOKEN_NAME") ?>" value="<?php echo $Page->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="kp_pago">
<input type="hidden" name="modal" value="<?php echo (int)$kp_pago_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($kp_pago_view->idpago->Visible) { // idpago ?>
	<tr id="r_idpago">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_idpago"><?php echo $kp_pago_view->idpago->caption() ?></span></td>
		<td data-name="idpago" <?php echo $kp_pago_view->idpago->cellAttributes() ?>>
<span id="el_kp_pago_idpago">
<span<?php echo $kp_pago_view->idpago->viewAttributes() ?>><?php echo $kp_pago_view->idpago->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->idinteresado->Visible) { // idinteresado ?>
	<tr id="r_idinteresado">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_idinteresado"><?php echo $kp_pago_view->idinteresado->caption() ?></span></td>
		<td data-name="idinteresado" <?php echo $kp_pago_view->idinteresado->cellAttributes() ?>>
<span id="el_kp_pago_idinteresado">
<span<?php echo $kp_pago_view->idinteresado->viewAttributes() ?>><?php echo $kp_pago_view->idinteresado->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->monto->Visible) { // monto ?>
	<tr id="r_monto">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_monto"><?php echo $kp_pago_view->monto->caption() ?></span></td>
		<td data-name="monto" <?php echo $kp_pago_view->monto->cellAttributes() ?>>
<span id="el_kp_pago_monto">
<span<?php echo $kp_pago_view->monto->viewAttributes() ?>><?php echo $kp_pago_view->monto->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->estado->Visible) { // estado ?>
	<tr id="r_estado">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_estado"><?php echo $kp_pago_view->estado->caption() ?></span></td>
		<td data-name="estado" <?php echo $kp_pago_view->estado->cellAttributes() ?>>
<span id="el_kp_pago_estado">
<span<?php echo $kp_pago_view->estado->viewAttributes() ?>><?php echo $kp_pago_view->estado->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->acciones->Visible) { // acciones ?>
	<tr id="r_acciones">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_acciones"><?php echo $kp_pago_view->acciones->caption() ?></span></td>
		<td data-name="acciones" <?php echo $kp_pago_view->acciones->cellAttributes() ?>>
<span id="el_kp_pago_acciones">
<span<?php echo $kp_pago_view->acciones->viewAttributes() ?>><?php echo $kp_pago_view->acciones->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->idusuario->Visible) { // idusuario ?>
	<tr id="r_idusuario">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_idusuario"><?php echo $kp_pago_view->idusuario->caption() ?></span></td>
		<td data-name="idusuario" <?php echo $kp_pago_view->idusuario->cellAttributes() ?>>
<span id="el_kp_pago_idusuario">
<span<?php echo $kp_pago_view->idusuario->viewAttributes() ?>><?php echo $kp_pago_view->idusuario->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->fecha->Visible) { // fecha ?>
	<tr id="r_fecha">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_fecha"><?php echo $kp_pago_view->fecha->caption() ?></span></td>
		<td data-name="fecha" <?php echo $kp_pago_view->fecha->cellAttributes() ?>>
<span id="el_kp_pago_fecha">
<span<?php echo $kp_pago_view->fecha->viewAttributes() ?>><?php echo $kp_pago_view->fecha->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->num_cuota->Visible) { // num_cuota ?>
	<tr id="r_num_cuota">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_num_cuota"><?php echo $kp_pago_view->num_cuota->caption() ?></span></td>
		<td data-name="num_cuota" <?php echo $kp_pago_view->num_cuota->cellAttributes() ?>>
<span id="el_kp_pago_num_cuota">
<span<?php echo $kp_pago_view->num_cuota->viewAttributes() ?>><?php echo $kp_pago_view->num_cuota->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_pago_view->codcliente->Visible) { // codcliente ?>
	<tr id="r_codcliente">
		<td class="<?php echo $kp_pago_view->TableLeftColumnClass ?>"><span id="elh_kp_pago_codcliente"><?php echo $kp_pago_view->codcliente->caption() ?></span></td>
		<td data-name="codcliente" <?php echo $kp_pago_view->codcliente->cellAttributes() ?>>
<span id="el_kp_pago_codcliente">
<span<?php echo $kp_pago_view->codcliente->viewAttributes() ?>><?php echo $kp_pago_view->codcliente->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$kp_pago_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$kp_pago_view->isExport()) { ?>
<script>
loadjs.ready("load", function() {

	// Startup script
	// Write your table-specific startup script here
	// console.log("page loaded");

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