<?php

namespace PHPMaker2024\laundrytech;

// Page object
$StagegroupassignmentView = &$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="fstagegroupassignmentview" id="fstagegroupassignmentview" 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: { stagegroupassignment: currentTable } });
var currentPageID = ew.PAGE_ID = "view";
var currentForm;
var fstagegroupassignmentview;
loadjs.ready(["wrapper", "head"], function () {
    let $ = jQuery;
    let fields = currentTable.fields;

    // Form object
    let form = new ew.FormBuilder()
        .setId("fstagegroupassignmentview")
        .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="stagegroupassignment">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->stageRoleId->Visible) { // stageRoleId ?>
    <tr id="r_stageRoleId"<?= $Page->stageRoleId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_stagegroupassignment_stageRoleId"><?= $Page->stageRoleId->caption() ?></span></td>
        <td data-name="stageRoleId"<?= $Page->stageRoleId->cellAttributes() ?>>
<span id="el_stagegroupassignment_stageRoleId">
<span<?= $Page->stageRoleId->viewAttributes() ?>>
<?= $Page->stageRoleId->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->stageId->Visible) { // stageId ?>
    <tr id="r_stageId"<?= $Page->stageId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_stagegroupassignment_stageId"><?= $Page->stageId->caption() ?></span></td>
        <td data-name="stageId"<?= $Page->stageId->cellAttributes() ?>>
<span id="el_stagegroupassignment_stageId">
<span<?= $Page->stageId->viewAttributes() ?>>
<?= $Page->stageId->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_stagegroupassignment_groupId"><?= $Page->groupId->caption() ?></span></td>
        <td data-name="groupId"<?= $Page->groupId->cellAttributes() ?>>
<span id="el_stagegroupassignment_groupId">
<span<?= $Page->groupId->viewAttributes() ?>>
<?= $Page->groupId->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 } ?>
