<?php

namespace PHPMaker2021\gudang_ubi;

// Page object
$SupView = &$Page;
?>
<?php if (!$Page->isExport()) { ?>
<script>
var currentForm, currentPageID;
var fsupview;
loadjs.ready("head", function () {
    var $ = jQuery;
    // Form object
    currentPageID = ew.PAGE_ID = "view";
    fsupview = currentForm = new ew.Form("fsupview", "view");
    loadjs.done("fsupview");
});
</script>
<script>
loadjs.ready("head", function () {
    // Write your table-specific client script here, no need to add script tags.
});
</script>
<?php } ?>
<?php if (!$Page->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $Page->ExportOptions->render("body") ?>
<?php $Page->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $Page->showPageHeader(); ?>
<?php
$Page->showMessage();
?>
<form name="fsupview" id="fsupview" class="form-inline ew-form ew-view-form" action="<?= CurrentPageUrl() ?>" method="post">
<?php if (Config("CHECK_TOKEN")) { ?>
<input type="hidden" name="<?= $TokenNameKey ?>" value="<?= $TokenName ?>"><!-- CSRF token name -->
<input type="hidden" name="<?= $TokenValueKey ?>" value="<?= $TokenValue ?>"><!-- CSRF token value -->
<?php } ?>
<input type="hidden" name="t" value="sup">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($Page->sup_id->Visible) { // sup_id ?>
    <tr id="r_sup_id">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_sup_sup_id"><?= $Page->sup_id->caption() ?></span></td>
        <td data-name="sup_id" <?= $Page->sup_id->cellAttributes() ?>>
<span id="el_sup_sup_id">
<span<?= $Page->sup_id->viewAttributes() ?>>
<?= $Page->sup_id->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->sup_nama->Visible) { // sup_nama ?>
    <tr id="r_sup_nama">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_sup_sup_nama"><?= $Page->sup_nama->caption() ?></span></td>
        <td data-name="sup_nama" <?= $Page->sup_nama->cellAttributes() ?>>
<span id="el_sup_sup_nama">
<span<?= $Page->sup_nama->viewAttributes() ?>>
<?= $Page->sup_nama->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->sup_alamat->Visible) { // sup_alamat ?>
    <tr id="r_sup_alamat">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_sup_sup_alamat"><?= $Page->sup_alamat->caption() ?></span></td>
        <td data-name="sup_alamat" <?= $Page->sup_alamat->cellAttributes() ?>>
<span id="el_sup_sup_alamat">
<span<?= $Page->sup_alamat->viewAttributes() ?>>
<?= $Page->sup_alamat->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->sup_hp->Visible) { // sup_hp ?>
    <tr id="r_sup_hp">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_sup_sup_hp"><?= $Page->sup_hp->caption() ?></span></td>
        <td data-name="sup_hp" <?= $Page->sup_hp->cellAttributes() ?>>
<span id="el_sup_sup_hp">
<span<?= $Page->sup_hp->viewAttributes() ?>>
<?= $Page->sup_hp->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
</form>
<?php
$Page->showPageFooter();
echo GetDebugMessage();
?>
<?php if (!$Page->isExport()) { ?>
<script>
loadjs.ready("load", function () {
    // Write your table-specific startup script here, no need to add script tags.
});
</script>
<?php } ?>
