<?php

namespace PHPMaker2024\laundrytech;

// Page object
$LaundrytechUgrightsView = &$Page;
?>
<?php if (!$Page->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $Page->ExportOptions->render("body") ?>
<?php $Page->OtherOptions->render("body") ?>
</div>
<?php } ?>
<?php $Page->showPageHeader(); ?>
<?php
$Page->showMessage();
?>
<main class="view">
<form name="flaundrytech_ugrightsview" id="flaundrytech_ugrightsview" class="ew-form ew-view-form overlay-wrapper" action="<?= CurrentPageUrl(false) ?>" method="post" novalidate autocomplete="off">
<?php if (!$Page->isExport()) { ?>
<script>
var currentTable = <?= JsonEncode($Page->toClientVar()) ?>;
ew.deepAssign(ew.vars, { tables: { laundrytech_ugrights: currentTable } });
var currentPageID = ew.PAGE_ID = "view";
var currentForm;
var flaundrytech_ugrightsview;
loadjs.ready(["wrapper", "head"], function () {
    let $ = jQuery;
    let fields = currentTable.fields;

    // Form object
    let form = new ew.FormBuilder()
        .setId("flaundrytech_ugrightsview")
        .setPageId("view")
        .build();
    window[form.id] = form;
    currentForm = form;
    loadjs.done(form.id);
});
</script>
<script>
loadjs.ready("head", function () {
    // Write your table-specific client script here, no need to add script tags.
});
</script>
<?php } ?>
<?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="laundrytech_ugrights">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->_TableName->Visible) { // TableName ?>
    <tr id="r__TableName"<?= $Page->_TableName->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_laundrytech_ugrights__TableName"><?= $Page->_TableName->caption() ?></span></td>
        <td data-name="_TableName"<?= $Page->_TableName->cellAttributes() ?>>
<span id="el_laundrytech_ugrights__TableName">
<span<?= $Page->_TableName->viewAttributes() ?>>
<?= $Page->_TableName->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->GroupID->Visible) { // GroupID ?>
    <tr id="r_GroupID"<?= $Page->GroupID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_laundrytech_ugrights_GroupID"><?= $Page->GroupID->caption() ?></span></td>
        <td data-name="GroupID"<?= $Page->GroupID->cellAttributes() ?>>
<span id="el_laundrytech_ugrights_GroupID">
<span<?= $Page->GroupID->viewAttributes() ?>>
<?= $Page->GroupID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->AccessMask->Visible) { // AccessMask ?>
    <tr id="r_AccessMask"<?= $Page->AccessMask->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_laundrytech_ugrights_AccessMask"><?= $Page->AccessMask->caption() ?></span></td>
        <td data-name="AccessMask"<?= $Page->AccessMask->cellAttributes() ?>>
<span id="el_laundrytech_ugrights_AccessMask">
<span<?= $Page->AccessMask->viewAttributes() ?>>
<?= $Page->AccessMask->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->_Page->Visible) { // Page ?>
    <tr id="r__Page"<?= $Page->_Page->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_laundrytech_ugrights__Page"><?= $Page->_Page->caption() ?></span></td>
        <td data-name="_Page"<?= $Page->_Page->cellAttributes() ?>>
<span id="el_laundrytech_ugrights__Page">
<span<?= $Page->_Page->viewAttributes() ?>>
<?= $Page->_Page->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
</form>
</main>
<?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 } ?>
