<?php

namespace ProjectManagement\prjProjectManagement;

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

    // Form object
    let form = new ew.FormBuilder()
        .setId("fmasterprojectview")
        .setPageId("view")

        // Multi-Page
        .setMultiPage(true)
        .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="masterproject">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<?php if (!$Page->isExport()) { ?>
<div class="ew-multi-page"><!-- multi-page -->
<div class="ew-nav<?= $Page->MultiPages->containerClasses() ?>" id="pages_MasterprojectView"><!-- multi-page tabs -->
    <ul class="<?= $Page->MultiPages->navClasses() ?>" role="tablist">
        <li class="nav-item"><button class="<?= $Page->MultiPages->navLinkClasses(1) ?>" data-bs-target="#tab_masterproject1" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_masterproject1" aria-selected="<?= JsonEncode($Page->MultiPages->isActive(1)) ?>"><?= $Page->pageCaption(1) ?></button></li>
        <li class="nav-item"><button class="<?= $Page->MultiPages->navLinkClasses(2) ?>" data-bs-target="#tab_masterproject2" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_masterproject2" aria-selected="<?= JsonEncode($Page->MultiPages->isActive(2)) ?>"><?= $Page->pageCaption(2) ?></button></li>
        <li class="nav-item"><button class="<?= $Page->MultiPages->navLinkClasses(3) ?>" data-bs-target="#tab_masterproject3" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_masterproject3" aria-selected="<?= JsonEncode($Page->MultiPages->isActive(3)) ?>"><?= $Page->pageCaption(3) ?></button></li>
        <li class="nav-item"><button class="<?= $Page->MultiPages->navLinkClasses(4) ?>" data-bs-target="#tab_masterproject4" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_masterproject4" aria-selected="<?= JsonEncode($Page->MultiPages->isActive(4)) ?>"><?= $Page->pageCaption(4) ?></button></li>
    </ul>
    <div class="<?= $Page->MultiPages->tabContentClasses() ?>">
<?php } ?>
<?php if (!$Page->isExport()) { ?>
        <div class="<?= $Page->MultiPages->tabPaneClasses(1) ?>" id="tab_masterproject1" role="tabpanel"><!-- multi-page .tab-pane -->
<?php } ?>
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->_ProjectID->Visible) { // ProjectID ?>
    <tr id="r__ProjectID"<?= $Page->_ProjectID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject__ProjectID"><?= $Page->_ProjectID->caption() ?></span></td>
        <td data-name="_ProjectID"<?= $Page->_ProjectID->cellAttributes() ?>>
<span id="el_masterproject__ProjectID" data-page="1">
<span<?= $Page->_ProjectID->viewAttributes() ?>>
<?= $Page->_ProjectID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ProjectName->Visible) { // ProjectName ?>
    <tr id="r_ProjectName"<?= $Page->ProjectName->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ProjectName"><?= $Page->ProjectName->caption() ?></span></td>
        <td data-name="ProjectName"<?= $Page->ProjectName->cellAttributes() ?>>
<span id="el_masterproject_ProjectName" data-page="1">
<span<?= $Page->ProjectName->viewAttributes() ?>>
<?= $Page->ProjectName->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Status->Visible) { // Status ?>
    <tr id="r_Status"<?= $Page->Status->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_Status"><?= $Page->Status->caption() ?></span></td>
        <td data-name="Status"<?= $Page->Status->cellAttributes() ?>>
<span id="el_masterproject_Status" data-page="1">
<span<?= $Page->Status->viewAttributes() ?>>
<?= $Page->Status->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_masterproject_Progress"><?= $Page->Progress->caption() ?></span></td>
        <td data-name="Progress"<?= $Page->Progress->cellAttributes() ?>>
<span id="el_masterproject_Progress" data-page="1">
<span<?= $Page->Progress->viewAttributes() ?>>
<?= $Page->Progress->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_masterproject_Target"><?= $Page->Target->caption() ?></span></td>
        <td data-name="Target"<?= $Page->Target->cellAttributes() ?>>
<span id="el_masterproject_Target" data-page="1">
<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_masterproject_Track"><?= $Page->Track->caption() ?></span></td>
        <td data-name="Track"<?= $Page->Track->cellAttributes() ?>>
<span id="el_masterproject_Track" data-page="1">
<span<?= $Page->Track->viewAttributes() ?>>
<?= $Page->Track->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ClientID->Visible) { // ClientID ?>
    <tr id="r_ClientID"<?= $Page->ClientID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ClientID"><?= $Page->ClientID->caption() ?></span></td>
        <td data-name="ClientID"<?= $Page->ClientID->cellAttributes() ?>>
<span id="el_masterproject_ClientID" data-page="1">
<span<?= $Page->ClientID->viewAttributes() ?>>
<?= $Page->ClientID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ManagerID->Visible) { // ManagerID ?>
    <tr id="r_ManagerID"<?= $Page->ManagerID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ManagerID"><?= $Page->ManagerID->caption() ?></span></td>
        <td data-name="ManagerID"<?= $Page->ManagerID->cellAttributes() ?>>
<span id="el_masterproject_ManagerID" data-page="1">
<span<?= $Page->ManagerID->viewAttributes() ?>>
<?= $Page->ManagerID->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ProjectTemplateID->Visible) { // ProjectTemplateID ?>
    <tr id="r_ProjectTemplateID"<?= $Page->ProjectTemplateID->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ProjectTemplateID"><?= $Page->ProjectTemplateID->caption() ?></span></td>
        <td data-name="ProjectTemplateID"<?= $Page->ProjectTemplateID->cellAttributes() ?>>
<span id="el_masterproject_ProjectTemplateID" data-page="1">
<span<?= $Page->ProjectTemplateID->viewAttributes() ?>>
<?= $Page->ProjectTemplateID->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_masterproject_Priority"><?= $Page->Priority->caption() ?></span></td>
        <td data-name="Priority"<?= $Page->Priority->cellAttributes() ?>>
<span id="el_masterproject_Priority" data-page="1">
<span<?= $Page->Priority->viewAttributes() ?>>
<?= $Page->Priority->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_masterproject_Description"><?= $Page->Description->caption() ?></span></td>
        <td data-name="Description"<?= $Page->Description->cellAttributes() ?>>
<span id="el_masterproject_Description" data-page="1">
<span<?= $Page->Description->viewAttributes() ?>>
<?= $Page->Description->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->Active->Visible) { // Active ?>
    <tr id="r_Active"<?= $Page->Active->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_Active"><?= $Page->Active->caption() ?></span></td>
        <td data-name="Active"<?= $Page->Active->cellAttributes() ?>>
<span id="el_masterproject_Active" data-page="1">
<span<?= $Page->Active->viewAttributes() ?>>
<i class="fa-regular fa-square<?php if (ConvertToBool($Page->Active->CurrentValue)) { ?>-check<?php } ?> ew-icon ew-boolean"></i>
</span>
</span>
</td>
    </tr>
<?php } ?>
</table>
<?php if (!$Page->isExport()) { ?>
        </div><!-- /multi-page .tab-pane -->
<?php } ?>
<?php if (!$Page->isExport()) { ?>
        <div class="<?= $Page->MultiPages->tabPaneClasses(2) ?>" id="tab_masterproject2" role="tabpanel"><!-- multi-page .tab-pane -->
<?php } ?>
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->PlanStart->Visible) { // PlanStart ?>
    <tr id="r_PlanStart"<?= $Page->PlanStart->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PlanStart"><?= $Page->PlanStart->caption() ?></span></td>
        <td data-name="PlanStart"<?= $Page->PlanStart->cellAttributes() ?>>
<span id="el_masterproject_PlanStart" data-page="2">
<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_masterproject_PlanEnd"><?= $Page->PlanEnd->caption() ?></span></td>
        <td data-name="PlanEnd"<?= $Page->PlanEnd->cellAttributes() ?>>
<span id="el_masterproject_PlanEnd" data-page="2">
<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_masterproject_StartDate"><?= $Page->StartDate->caption() ?></span></td>
        <td data-name="StartDate"<?= $Page->StartDate->cellAttributes() ?>>
<span id="el_masterproject_StartDate" data-page="2">
<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_masterproject_EndDate"><?= $Page->EndDate->caption() ?></span></td>
        <td data-name="EndDate"<?= $Page->EndDate->cellAttributes() ?>>
<span id="el_masterproject_EndDate" data-page="2">
<span<?= $Page->EndDate->viewAttributes() ?>>
<?= $Page->EndDate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->WarrantyEnd->Visible) { // WarrantyEnd ?>
    <tr id="r_WarrantyEnd"<?= $Page->WarrantyEnd->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_WarrantyEnd"><?= $Page->WarrantyEnd->caption() ?></span></td>
        <td data-name="WarrantyEnd"<?= $Page->WarrantyEnd->cellAttributes() ?>>
<span id="el_masterproject_WarrantyEnd" data-page="2">
<span<?= $Page->WarrantyEnd->viewAttributes() ?>>
<?= $Page->WarrantyEnd->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
<?php if (!$Page->isExport()) { ?>
        </div><!-- /multi-page .tab-pane -->
<?php } ?>
<?php if (!$Page->isExport()) { ?>
        <div class="<?= $Page->MultiPages->tabPaneClasses(3) ?>" id="tab_masterproject3" role="tabpanel"><!-- multi-page .tab-pane -->
<?php } ?>
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->PaymentProgress->Visible) { // PaymentProgress ?>
    <tr id="r_PaymentProgress"<?= $Page->PaymentProgress->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PaymentProgress"><?= $Page->PaymentProgress->caption() ?></span></td>
        <td data-name="PaymentProgress"<?= $Page->PaymentProgress->cellAttributes() ?>>
<span id="el_masterproject_PaymentProgress" data-page="3">
<span<?= $Page->PaymentProgress->viewAttributes() ?>>
<?= $Page->PaymentProgress->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PaymentDate->Visible) { // PaymentDate ?>
    <tr id="r_PaymentDate"<?= $Page->PaymentDate->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PaymentDate"><?= $Page->PaymentDate->caption() ?></span></td>
        <td data-name="PaymentDate"<?= $Page->PaymentDate->cellAttributes() ?>>
<span id="el_masterproject_PaymentDate" data-page="3">
<span<?= $Page->PaymentDate->viewAttributes() ?>>
<?= $Page->PaymentDate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PaymentComplete->Visible) { // PaymentComplete ?>
    <tr id="r_PaymentComplete"<?= $Page->PaymentComplete->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PaymentComplete"><?= $Page->PaymentComplete->caption() ?></span></td>
        <td data-name="PaymentComplete"<?= $Page->PaymentComplete->cellAttributes() ?>>
<span id="el_masterproject_PaymentComplete" data-page="3">
<span<?= $Page->PaymentComplete->viewAttributes() ?>>
<?= $Page->PaymentComplete->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->AgingPayment->Visible) { // AgingPayment ?>
    <tr id="r_AgingPayment"<?= $Page->AgingPayment->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_AgingPayment"><?= $Page->AgingPayment->caption() ?></span></td>
        <td data-name="AgingPayment"<?= $Page->AgingPayment->cellAttributes() ?>>
<span id="el_masterproject_AgingPayment" data-page="3">
<span<?= $Page->AgingPayment->viewAttributes() ?>>
<?= $Page->AgingPayment->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ProjectValue->Visible) { // ProjectValue ?>
    <tr id="r_ProjectValue"<?= $Page->ProjectValue->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ProjectValue"><?= $Page->ProjectValue->caption() ?></span></td>
        <td data-name="ProjectValue"<?= $Page->ProjectValue->cellAttributes() ?>>
<span id="el_masterproject_ProjectValue" data-page="3">
<span<?= $Page->ProjectValue->viewAttributes() ?>>
<?= $Page->ProjectValue->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ProjectDebt->Visible) { // ProjectDebt ?>
    <tr id="r_ProjectDebt"<?= $Page->ProjectDebt->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ProjectDebt"><?= $Page->ProjectDebt->caption() ?></span></td>
        <td data-name="ProjectDebt"<?= $Page->ProjectDebt->cellAttributes() ?>>
<span id="el_masterproject_ProjectDebt" data-page="3">
<span<?= $Page->ProjectDebt->viewAttributes() ?>>
<?= $Page->ProjectDebt->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PONumber->Visible) { // PONumber ?>
    <tr id="r_PONumber"<?= $Page->PONumber->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PONumber"><?= $Page->PONumber->caption() ?></span></td>
        <td data-name="PONumber"<?= $Page->PONumber->cellAttributes() ?>>
<span id="el_masterproject_PONumber" data-page="3">
<span<?= $Page->PONumber->viewAttributes() ?>>
<?= $Page->PONumber->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->PaymentLink->Visible) { // PaymentLink ?>
    <tr id="r_PaymentLink"<?= $Page->PaymentLink->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_PaymentLink"><?= $Page->PaymentLink->caption() ?></span></td>
        <td data-name="PaymentLink"<?= $Page->PaymentLink->cellAttributes() ?>>
<span id="el_masterproject_PaymentLink" data-page="3">
<span<?= $Page->PaymentLink->viewAttributes() ?>>
<?= $Page->PaymentLink->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ClearingDate->Visible) { // ClearingDate ?>
    <tr id="r_ClearingDate"<?= $Page->ClearingDate->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ClearingDate"><?= $Page->ClearingDate->caption() ?></span></td>
        <td data-name="ClearingDate"<?= $Page->ClearingDate->cellAttributes() ?>>
<span id="el_masterproject_ClearingDate" data-page="3">
<span<?= $Page->ClearingDate->viewAttributes() ?>>
<?= $Page->ClearingDate->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->ClearingAging->Visible) { // ClearingAging ?>
    <tr id="r_ClearingAging"<?= $Page->ClearingAging->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_ClearingAging"><?= $Page->ClearingAging->caption() ?></span></td>
        <td data-name="ClearingAging"<?= $Page->ClearingAging->cellAttributes() ?>>
<span id="el_masterproject_ClearingAging" data-page="3">
<span<?= $Page->ClearingAging->viewAttributes() ?>>
<?= $Page->ClearingAging->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
<?php if (!$Page->isExport()) { ?>
        </div><!-- /multi-page .tab-pane -->
<?php } ?>
<?php if (!$Page->isExport()) { ?>
        <div class="<?= $Page->MultiPages->tabPaneClasses(4) ?>" id="tab_masterproject4" role="tabpanel"><!-- multi-page .tab-pane -->
<?php } ?>
<table class="<?= $Page->TableClass ?>">
<?php if ($Page->Created_Date->Visible) { // Created_Date ?>
    <tr id="r_Created_Date"<?= $Page->Created_Date->rowAttributes() ?>>
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_masterproject_Created_Date"><?= $Page->Created_Date->caption() ?></span></td>
        <td data-name="Created_Date"<?= $Page->Created_Date->cellAttributes() ?>>
<span id="el_masterproject_Created_Date" data-page="4">
<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_masterproject_Created_By"><?= $Page->Created_By->caption() ?></span></td>
        <td data-name="Created_By"<?= $Page->Created_By->cellAttributes() ?>>
<span id="el_masterproject_Created_By" data-page="4">
<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_masterproject_Last_Updated_Date"><?= $Page->Last_Updated_Date->caption() ?></span></td>
        <td data-name="Last_Updated_Date"<?= $Page->Last_Updated_Date->cellAttributes() ?>>
<span id="el_masterproject_Last_Updated_Date" data-page="4">
<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_masterproject_Last_Updated_By"><?= $Page->Last_Updated_By->caption() ?></span></td>
        <td data-name="Last_Updated_By"<?= $Page->Last_Updated_By->cellAttributes() ?>>
<span id="el_masterproject_Last_Updated_By" data-page="4">
<span<?= $Page->Last_Updated_By->viewAttributes() ?>>
<?= $Page->Last_Updated_By->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
<?php if (!$Page->isExport()) { ?>
        </div><!-- /multi-page .tab-pane -->
<?php } ?>
<?php if (!$Page->isExport()) { ?>
    </div>
</div>
</div>
<?php } ?>
<?php if ($Page->getCurrentDetailTable() != "") { ?>
<?php
    $Page->DetailPages->ValidKeys = explode(",", $Page->getCurrentDetailTable());
?>
<div class="ew-detail-pages"><!-- detail-pages -->
<div class="ew-nav<?= $Page->DetailPages->containerClasses() ?>" id="details_Page"><!-- tabs -->
    <ul class="<?= $Page->DetailPages->navClasses() ?>" role="tablist"><!-- .nav -->
<?php
    if (in_array("projectmember", explode(",", $Page->getCurrentDetailTable())) && $projectmember->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectmember") ?><?= $Page->DetailPages->activeClasses("projectmember") ?>" data-bs-target="#tab_projectmember" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectmember" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectmember")) ?>"><?= $Language->tablePhrase("projectmember", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projecttask", explode(",", $Page->getCurrentDetailTable())) && $projecttask->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projecttask") ?><?= $Page->DetailPages->activeClasses("projecttask") ?>" data-bs-target="#tab_projecttask" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projecttask" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projecttask")) ?>"><?= $Language->tablePhrase("projecttask", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projectresult", explode(",", $Page->getCurrentDetailTable())) && $projectresult->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectresult") ?><?= $Page->DetailPages->activeClasses("projectresult") ?>" data-bs-target="#tab_projectresult" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectresult" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectresult")) ?>"><?= $Language->tablePhrase("projectresult", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projectmom", explode(",", $Page->getCurrentDetailTable())) && $projectmom->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectmom") ?><?= $Page->DetailPages->activeClasses("projectmom") ?>" data-bs-target="#tab_projectmom" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectmom" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectmom")) ?>"><?= $Language->tablePhrase("projectmom", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projectdocuments", explode(",", $Page->getCurrentDetailTable())) && $projectdocuments->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectdocuments") ?><?= $Page->DetailPages->activeClasses("projectdocuments") ?>" data-bs-target="#tab_projectdocuments" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectdocuments" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectdocuments")) ?>"><?= $Language->tablePhrase("projectdocuments", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projectpaymentprocess", explode(",", $Page->getCurrentDetailTable())) && $projectpaymentprocess->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectpaymentprocess") ?><?= $Page->DetailPages->activeClasses("projectpaymentprocess") ?>" data-bs-target="#tab_projectpaymentprocess" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectpaymentprocess" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectpaymentprocess")) ?>"><?= $Language->tablePhrase("projectpaymentprocess", "TblCaption") ?></button></li>
<?php
    }
?>
<?php
    if (in_array("projectproblems", explode(",", $Page->getCurrentDetailTable())) && $projectproblems->DetailView) {
?>
        <li class="nav-item"><button class="<?= $Page->DetailPages->navLinkClasses("projectproblems") ?><?= $Page->DetailPages->activeClasses("projectproblems") ?>" data-bs-target="#tab_projectproblems" data-bs-toggle="tab" type="button" role="tab" aria-controls="tab_projectproblems" aria-selected="<?= JsonEncode($Page->DetailPages->isActive("projectproblems")) ?>"><?= $Language->tablePhrase("projectproblems", "TblCaption") ?></button></li>
<?php
    }
?>
    </ul><!-- /.nav -->
    <div class="<?= $Page->DetailPages->tabContentClasses() ?>"><!-- .tab-content -->
<?php
    if (in_array("projectmember", explode(",", $Page->getCurrentDetailTable())) && $projectmember->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectmember") ?><?= $Page->DetailPages->activeClasses("projectmember") ?>" id="tab_projectmember" role="tabpanel"><!-- page* -->
<?php include_once "ProjectmemberGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projecttask", explode(",", $Page->getCurrentDetailTable())) && $projecttask->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projecttask") ?><?= $Page->DetailPages->activeClasses("projecttask") ?>" id="tab_projecttask" role="tabpanel"><!-- page* -->
<?php include_once "ProjecttaskGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projectresult", explode(",", $Page->getCurrentDetailTable())) && $projectresult->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectresult") ?><?= $Page->DetailPages->activeClasses("projectresult") ?>" id="tab_projectresult" role="tabpanel"><!-- page* -->
<?php include_once "ProjectresultGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projectmom", explode(",", $Page->getCurrentDetailTable())) && $projectmom->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectmom") ?><?= $Page->DetailPages->activeClasses("projectmom") ?>" id="tab_projectmom" role="tabpanel"><!-- page* -->
<?php include_once "ProjectmomGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projectdocuments", explode(",", $Page->getCurrentDetailTable())) && $projectdocuments->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectdocuments") ?><?= $Page->DetailPages->activeClasses("projectdocuments") ?>" id="tab_projectdocuments" role="tabpanel"><!-- page* -->
<?php include_once "ProjectdocumentsGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projectpaymentprocess", explode(",", $Page->getCurrentDetailTable())) && $projectpaymentprocess->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectpaymentprocess") ?><?= $Page->DetailPages->activeClasses("projectpaymentprocess") ?>" id="tab_projectpaymentprocess" role="tabpanel"><!-- page* -->
<?php include_once "ProjectpaymentprocessGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
<?php
    if (in_array("projectproblems", explode(",", $Page->getCurrentDetailTable())) && $projectproblems->DetailView) {
?>
        <div class="<?= $Page->DetailPages->tabPaneClasses("projectproblems") ?><?= $Page->DetailPages->activeClasses("projectproblems") ?>" id="tab_projectproblems" role="tabpanel"><!-- page* -->
<?php include_once "ProjectproblemsGrid.php" ?>
        </div><!-- /page* -->
<?php } ?>
    </div><!-- /.tab-content -->
</div><!-- /tabs -->
</div><!-- /detail-pages -->
<?php } ?>
</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 } ?>
