<?php

namespace PHPMaker2024\laundrytech;

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

    // Form object
    let form = new ew.FormBuilder()
        .setId("fordercontainersview")
        .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="ordercontainers">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->orderContainerId->Visible) { // orderContainerId ?>
    <tr id="r_orderContainerId"<?= $Page->orderContainerId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_orderContainerId"><?= $Page->orderContainerId->caption() ?></span></td>
        <td data-name="orderContainerId"<?= $Page->orderContainerId->cellAttributes() ?>>
<span id="el_ordercontainers_orderContainerId">
<span<?= $Page->orderContainerId->viewAttributes() ?>>
<?= $Page->orderContainerId->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->orderId->Visible) { // orderId ?>
    <tr id="r_orderId"<?= $Page->orderId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_orderId"><?= $Page->orderId->caption() ?></span></td>
        <td data-name="orderId"<?= $Page->orderId->cellAttributes() ?>>
<span id="el_ordercontainers_orderId">
<span<?= $Page->orderId->viewAttributes() ?>>
<?= $Page->orderId->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ContainerType->Visible) { // ContainerType ?>
    <tr id="r_ContainerType"<?= $Page->ContainerType->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_ContainerType"><?= $Page->ContainerType->caption() ?></span></td>
        <td data-name="ContainerType"<?= $Page->ContainerType->cellAttributes() ?>>
<span id="el_ordercontainers_ContainerType">
<span<?= $Page->ContainerType->viewAttributes() ?>>
<?= $Page->ContainerType->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->NoOfContainers->Visible) { // NoOfContainers ?>
    <tr id="r_NoOfContainers"<?= $Page->NoOfContainers->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_NoOfContainers"><?= $Page->NoOfContainers->caption() ?></span></td>
        <td data-name="NoOfContainers"<?= $Page->NoOfContainers->cellAttributes() ?>>
<span id="el_ordercontainers_NoOfContainers">
<span<?= $Page->NoOfContainers->viewAttributes() ?>>
<?= $Page->NoOfContainers->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->containerPhoto->Visible) { // containerPhoto ?>
    <tr id="r_containerPhoto"<?= $Page->containerPhoto->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_containerPhoto"><?= $Page->containerPhoto->caption() ?></span></td>
        <td data-name="containerPhoto"<?= $Page->containerPhoto->cellAttributes() ?>>
<span id="el_ordercontainers_containerPhoto">
<span<?= $Page->containerPhoto->viewAttributes() ?>>
<?php if (!EmptyString($Page->containerPhoto->getViewValue()) && $Page->containerPhoto->linkAttributes() != "") { ?>
<a<?= $Page->containerPhoto->linkAttributes() ?>><?= $Page->containerPhoto->getViewValue() ?></a>
<?php } else { ?>
<?= $Page->containerPhoto->getViewValue() ?>
<?php } ?>
</span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->containerId->Visible) { // containerId ?>
    <tr id="r_containerId"<?= $Page->containerId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_ordercontainers_containerId"><?= $Page->containerId->caption() ?></span></td>
        <td data-name="containerId"<?= $Page->containerId->cellAttributes() ?>>
<span id="el_ordercontainers_containerId">
<span<?= $Page->containerId->viewAttributes() ?>>
<?= $Page->containerId->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 } ?>
