<?php

namespace ProjectManagement\prjProjectManagement;

// Page object
$ProjecttaskView = &$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="fprojecttaskview" id="fprojecttaskview" class="ew-form ew-view-form overlay-wrapper" action="<?= CurrentPageUrl(false) ?>" method="post" autocomplete="off">
<?php if (!$Page->isExport()) { ?>
<script>
var currentTable = <?= JsonEncode($Page->toClientVar()) ?>;
ew.deepAssign(ew.vars, { tables: { projecttask: currentTable } });
var currentPageID = ew.PAGE_ID = "view";
var currentForm;
var fprojecttaskview;
loadjs.ready(["wrapper", "head"], function () {
    let $ = jQuery;
    let fields = currentTable.fields;

    // Form object
    let form = new ew.FormBuilder()
        .setId("fprojecttaskview")
        .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="projecttask">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->TaskID->Visible) { // TaskID ?>
    <tr id="r_TaskID"<?= $Page->TaskID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_TaskID"><?= $Page->TaskID->caption() ?></span></td>
        <td data-name="TaskID"<?= $Page->TaskID->cellAttributes() ?>>
<span id="el_projecttask_TaskID">
<span<?= $Page->TaskID->viewAttributes() ?>>
<?= $Page->TaskID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->TaskName->Visible) { // TaskName ?>
    <tr id="r_TaskName"<?= $Page->TaskName->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_TaskName"><?= $Page->TaskName->caption() ?></span></td>
        <td data-name="TaskName"<?= $Page->TaskName->cellAttributes() ?>>
<span id="el_projecttask_TaskName">
<span<?= $Page->TaskName->viewAttributes() ?>>
<?= $Page->TaskName->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Description->Visible) { // Description ?>
    <tr id="r_Description"<?= $Page->Description->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Description"><?= $Page->Description->caption() ?></span></td>
        <td data-name="Description"<?= $Page->Description->cellAttributes() ?>>
<span id="el_projecttask_Description">
<span<?= $Page->Description->viewAttributes() ?>>
<?= $Page->Description->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->AssignedTo->Visible) { // AssignedTo ?>
    <tr id="r_AssignedTo"<?= $Page->AssignedTo->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_AssignedTo"><?= $Page->AssignedTo->caption() ?></span></td>
        <td data-name="AssignedTo"<?= $Page->AssignedTo->cellAttributes() ?>>
<span id="el_projecttask_AssignedTo">
<span<?= $Page->AssignedTo->viewAttributes() ?>>
<?= $Page->AssignedTo->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Progress->Visible) { // Progress ?>
    <tr id="r_Progress"<?= $Page->Progress->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Progress"><?= $Page->Progress->caption() ?></span></td>
        <td data-name="Progress"<?= $Page->Progress->cellAttributes() ?>>
<span id="el_projecttask_Progress">
<span<?= $Page->Progress->viewAttributes() ?>>
<?= $Page->Progress->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Complete->Visible) { // Complete ?>
    <tr id="r_Complete"<?= $Page->Complete->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Complete"><?= $Page->Complete->caption() ?></span></td>
        <td data-name="Complete"<?= $Page->Complete->cellAttributes() ?>>
<span id="el_projecttask_Complete">
<span<?= $Page->Complete->viewAttributes() ?>>
<?= $Page->Complete->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Target->Visible) { // Target ?>
    <tr id="r_Target"<?= $Page->Target->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Target"><?= $Page->Target->caption() ?></span></td>
        <td data-name="Target"<?= $Page->Target->cellAttributes() ?>>
<span id="el_projecttask_Target">
<span<?= $Page->Target->viewAttributes() ?>>
<?= $Page->Target->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Track->Visible) { // Track ?>
    <tr id="r_Track"<?= $Page->Track->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Track"><?= $Page->Track->caption() ?></span></td>
        <td data-name="Track"<?= $Page->Track->cellAttributes() ?>>
<span id="el_projecttask_Track">
<span<?= $Page->Track->viewAttributes() ?>>
<?= $Page->Track->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PlanStart->Visible) { // PlanStart ?>
    <tr id="r_PlanStart"<?= $Page->PlanStart->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_PlanStart"><?= $Page->PlanStart->caption() ?></span></td>
        <td data-name="PlanStart"<?= $Page->PlanStart->cellAttributes() ?>>
<span id="el_projecttask_PlanStart">
<span<?= $Page->PlanStart->viewAttributes() ?>>
<?= $Page->PlanStart->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PlanEnd->Visible) { // PlanEnd ?>
    <tr id="r_PlanEnd"<?= $Page->PlanEnd->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_PlanEnd"><?= $Page->PlanEnd->caption() ?></span></td>
        <td data-name="PlanEnd"<?= $Page->PlanEnd->cellAttributes() ?>>
<span id="el_projecttask_PlanEnd">
<span<?= $Page->PlanEnd->viewAttributes() ?>>
<?= $Page->PlanEnd->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->StartDate->Visible) { // StartDate ?>
    <tr id="r_StartDate"<?= $Page->StartDate->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_StartDate"><?= $Page->StartDate->caption() ?></span></td>
        <td data-name="StartDate"<?= $Page->StartDate->cellAttributes() ?>>
<span id="el_projecttask_StartDate">
<span<?= $Page->StartDate->viewAttributes() ?>>
<?= $Page->StartDate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->EndDate->Visible) { // EndDate ?>
    <tr id="r_EndDate"<?= $Page->EndDate->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_EndDate"><?= $Page->EndDate->caption() ?></span></td>
        <td data-name="EndDate"<?= $Page->EndDate->cellAttributes() ?>>
<span id="el_projecttask_EndDate">
<span<?= $Page->EndDate->viewAttributes() ?>>
<?= $Page->EndDate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Priority->Visible) { // Priority ?>
    <tr id="r_Priority"<?= $Page->Priority->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Priority"><?= $Page->Priority->caption() ?></span></td>
        <td data-name="Priority"<?= $Page->Priority->cellAttributes() ?>>
<span id="el_projecttask_Priority">
<span<?= $Page->Priority->viewAttributes() ?>>
<?= $Page->Priority->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Category->Visible) { // Category ?>
    <tr id="r_Category"<?= $Page->Category->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Category"><?= $Page->Category->caption() ?></span></td>
        <td data-name="Category"<?= $Page->Category->cellAttributes() ?>>
<span id="el_projecttask_Category">
<span<?= $Page->Category->viewAttributes() ?>>
<?= $Page->Category->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->_ProjectID->Visible) { // ProjectID ?>
    <tr id="r__ProjectID"<?= $Page->_ProjectID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask__ProjectID"><?= $Page->_ProjectID->caption() ?></span></td>
        <td data-name="_ProjectID"<?= $Page->_ProjectID->cellAttributes() ?>>
<span id="el_projecttask__ProjectID">
<span<?= $Page->_ProjectID->viewAttributes() ?>>
<?= $Page->_ProjectID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Created_Date->Visible) { // Created_Date ?>
    <tr id="r_Created_Date"<?= $Page->Created_Date->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Created_Date"><?= $Page->Created_Date->caption() ?></span></td>
        <td data-name="Created_Date"<?= $Page->Created_Date->cellAttributes() ?>>
<span id="el_projecttask_Created_Date">
<span<?= $Page->Created_Date->viewAttributes() ?>>
<?= $Page->Created_Date->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Created_By->Visible) { // Created_By ?>
    <tr id="r_Created_By"<?= $Page->Created_By->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Created_By"><?= $Page->Created_By->caption() ?></span></td>
        <td data-name="Created_By"<?= $Page->Created_By->cellAttributes() ?>>
<span id="el_projecttask_Created_By">
<span<?= $Page->Created_By->viewAttributes() ?>>
<?= $Page->Created_By->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Last_Updated_Date->Visible) { // Last_Updated_Date ?>
    <tr id="r_Last_Updated_Date"<?= $Page->Last_Updated_Date->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Last_Updated_Date"><?= $Page->Last_Updated_Date->caption() ?></span></td>
        <td data-name="Last_Updated_Date"<?= $Page->Last_Updated_Date->cellAttributes() ?>>
<span id="el_projecttask_Last_Updated_Date">
<span<?= $Page->Last_Updated_Date->viewAttributes() ?>>
<?= $Page->Last_Updated_Date->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Last_Updated_By->Visible) { // Last_Updated_By ?>
    <tr id="r_Last_Updated_By"<?= $Page->Last_Updated_By->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_projecttask_Last_Updated_By"><?= $Page->Last_Updated_By->caption() ?></span></td>
        <td data-name="Last_Updated_By"<?= $Page->Last_Updated_By->cellAttributes() ?>>
<span id="el_projecttask_Last_Updated_By">
<span<?= $Page->Last_Updated_By->viewAttributes() ?>>
<?= $Page->Last_Updated_By->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 } ?>
