<?php

namespace PHPMaker2024\laundrytech;

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

    // Form object
    let form = new ew.FormBuilder()
        .setId("fpricelistdetailsview")
        .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="pricelistdetails">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->priceListDetailId->Visible) { // priceListDetailId ?>
    <tr id="r_priceListDetailId"<?= $Page->priceListDetailId->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_priceListDetailId"><?= $Page->priceListDetailId->caption() ?></span></td>
        <td data-name="priceListDetailId"<?= $Page->priceListDetailId->cellAttributes() ?>>
<span id="el_pricelistdetails_priceListDetailId">
<span<?= $Page->priceListDetailId->viewAttributes() ?>>
<?= $Page->priceListDetailId->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->priceListid->Visible) { // priceListid ?>
    <tr id="r_priceListid"<?= $Page->priceListid->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_priceListid"><?= $Page->priceListid->caption() ?></span></td>
        <td data-name="priceListid"<?= $Page->priceListid->cellAttributes() ?>>
<span id="el_pricelistdetails_priceListid">
<span<?= $Page->priceListid->viewAttributes() ?>>
<?= $Page->priceListid->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->articleid->Visible) { // articleid ?>
    <tr id="r_articleid"<?= $Page->articleid->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_articleid"><?= $Page->articleid->caption() ?></span></td>
        <td data-name="articleid"<?= $Page->articleid->cellAttributes() ?>>
<span id="el_pricelistdetails_articleid">
<span<?= $Page->articleid->viewAttributes() ?>>
<?= $Page->articleid->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->rate->Visible) { // rate ?>
    <tr id="r_rate"<?= $Page->rate->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_rate"><?= $Page->rate->caption() ?></span></td>
        <td data-name="rate"<?= $Page->rate->cellAttributes() ?>>
<span id="el_pricelistdetails_rate">
<span<?= $Page->rate->viewAttributes() ?>>
<?= $Page->rate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->discount->Visible) { // discount ?>
    <tr id="r_discount"<?= $Page->discount->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_discount"><?= $Page->discount->caption() ?></span></td>
        <td data-name="discount"<?= $Page->discount->cellAttributes() ?>>
<span id="el_pricelistdetails_discount">
<span<?= $Page->discount->viewAttributes() ?>>
<?= $Page->discount->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->discountType->Visible) { // discountType ?>
    <tr id="r_discountType"<?= $Page->discountType->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_discountType"><?= $Page->discountType->caption() ?></span></td>
        <td data-name="discountType"<?= $Page->discountType->cellAttributes() ?>>
<span id="el_pricelistdetails_discountType">
<span<?= $Page->discountType->viewAttributes() ?>>
<?= $Page->discountType->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->netAmount->Visible) { // netAmount ?>
    <tr id="r_netAmount"<?= $Page->netAmount->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_pricelistdetails_netAmount"><?= $Page->netAmount->caption() ?></span></td>
        <td data-name="netAmount"<?= $Page->netAmount->cellAttributes() ?>>
<span id="el_pricelistdetails_netAmount">
<span<?= $Page->netAmount->viewAttributes() ?>>
<?= $Page->netAmount->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 } ?>
