2018-10-15 15:14:36 -04:00
|
|
|
<?php
|
|
|
|
/*
|
2021-06-12 09:29:10 -04:00
|
|
|
* Copyright (C) 2018 josh.north@point808.com
|
2018-10-15 15:14:36 -04:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-10-19 19:00:44 -04:00
|
|
|
ini_set('session.gc_maxlifetime', 24*60*60); // MIN SESSION
|
|
|
|
ini_set('session.gc_probability', 1); // GC RATES
|
|
|
|
ini_set('session.gc_divisor', 100); // TIMES
|
2021-05-28 17:02:01 -04:00
|
|
|
ini_set('session.use_cookies', '1');
|
|
|
|
ini_set('session.use_only_cookies', '1');
|
2021-06-03 09:40:50 -04:00
|
|
|
ini_set('session.cookie_secure', '0');
|
|
|
|
ini_set('session.cookie_httponly', '0');
|
2021-06-01 10:52:51 -04:00
|
|
|
ini_set('session.cookie_samesite', 'Lax');
|
2018-10-19 19:00:44 -04:00
|
|
|
session_save_path('.tmp'); // TEMP
|
|
|
|
session_start(); // START
|
|
|
|
require_once __DIR__ . '/autoload.php'; // AUTOLOAD
|
2021-05-07 12:44:04 -04:00
|
|
|
use App\LobbySIO\Config\Registry;
|
|
|
|
$Users = new \App\LobbySIO\Database\Users();
|
|
|
|
if (Registry::AUTHMETHOD == 'SAML') {
|
|
|
|
//simplesaml
|
|
|
|
require_once('../simplesamlphp/lib/_autoload.php');
|
|
|
|
$auth = new \SimpleSAML\Auth\Simple(Registry::AUTHIDP);
|
|
|
|
//$auth->requireAuth();
|
|
|
|
$auth->isAuthenticated();
|
|
|
|
if (!$auth->isAuthenticated()) {
|
|
|
|
$attributes = 'none';
|
|
|
|
} else {
|
|
|
|
$attributes = $auth->getAttributes();
|
|
|
|
$saml_user_email = $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'][0];
|
|
|
|
$saml_user_info = $Users->getUserInfoByEmail($saml_user_email, "1", "0");
|
|
|
|
$saml_user_id = $saml_user_info["0"]["users_id"];
|
|
|
|
}
|
|
|
|
$session = \SimpleSAML\Session::getSessionFromRequest();
|
|
|
|
$session->cleanup();
|
|
|
|
}
|
2018-10-19 19:00:44 -04:00
|
|
|
$StaticFunctions = new \App\LobbySIO\Misc\StaticFunctions(); // DEFAULT CLASSES
|
2018-10-15 15:14:36 -04:00
|
|
|
$SiteInfo = new \App\LobbySIO\Database\SiteInfo();
|
2018-10-19 19:00:44 -04:00
|
|
|
if (isset($_SESSION['user_id'])) { // LOGGED IN? GET USER OBJECT
|
2021-05-07 12:44:04 -04:00
|
|
|
if (isset($saml_user_id)) {
|
|
|
|
$sessuserid=$saml_user_id;
|
|
|
|
} else {
|
|
|
|
$sessuserid=$_SESSION['user_id'];
|
|
|
|
}
|
|
|
|
} elseif (!isset($_SESSION['user_id'])) {
|
|
|
|
if (isset($saml_user_id)) {
|
|
|
|
$sessuserid=$saml_user_id;
|
|
|
|
} else {
|
2021-05-07 13:34:29 -04:00
|
|
|
$sessuserid='2';
|
2021-05-07 12:44:04 -04:00
|
|
|
}
|
|
|
|
$session_user = $Users->getUserInfo($sessuserid, "1", "0"); }
|
2018-10-19 19:00:44 -04:00
|
|
|
if (isset($session_user)) { // GET UID OR SET TO KIOSK
|
|
|
|
$uid = $session_user["0"]["users_id"];} else { $uid = "2"; }
|
|
|
|
$app_disp_lang = filter_input(INPUT_COOKIE, 'app_disp_lang'); // SETUP LANGUAGE
|
|
|
|
if(!isset($app_disp_lang)) {
|
|
|
|
$app_disp_lang=$StaticFunctions->getDefaultLanguage(); }
|
|
|
|
$siteidcookie = filter_input(INPUT_COOKIE, 'app_site'); // SETUP SITE
|
|
|
|
foreach($SiteInfo->getSite("0", $uid, "0", "0") as $arr) {
|
|
|
|
$lookup_array[$arr['sites_id']]=1; }
|
|
|
|
if(isset($lookup_array[$siteidcookie])) {
|
|
|
|
$siteid = $siteidcookie; } else { $siteid = "1"; }
|
|
|
|
if(!isset($siteid)) { $siteid="1"; }
|
|
|
|
$Translate = new \App\LobbySIO\Language\Translate($app_disp_lang); // SETUP TRANSLATOR
|
|
|
|
$transLang = $Translate->userLanguage();
|
|
|
|
$VisitTypeInfo = new \App\LobbySIO\Database\VisitTypeInfo(); // ADDITIONAL CLASSES
|
2018-10-15 15:14:36 -04:00
|
|
|
$IDTypeInfo = new \App\LobbySIO\Database\IDTypeInfo();
|
|
|
|
$VisitInfo = new \App\LobbySIO\Database\VisitInfo();
|
|
|
|
$VisitActions = new \App\LobbySIO\Database\VisitActions();
|
2021-06-15 11:14:55 -04:00
|
|
|
$app_current_pagename = $transLang['STR_COMMON_HOME']; // PAGE SETUP
|
2018-10-19 19:00:44 -04:00
|
|
|
$app_current_pageicon = '<i class="fas fa-home"></i> ';
|
|
|
|
require_once("inc/header.inc.php");
|
2021-05-28 17:02:01 -04:00
|
|
|
header("X-Frame-Options: SAMEORIGIN");
|
|
|
|
header("X-Content-Type-Options: nosniff");
|
2021-06-01 10:52:51 -04:00
|
|
|
//header("Content-Security-Policy: script-src 'self' 'unsafe-inline'; script-src-elem 'self'; script-src-attr 'self'; style-src 'self'; style-src-elem 'self'; style-src-attr 'self'; img-src 'self'; connect-src 'self'; frame-src 'self'; font-src 'self'; media-src 'self'; object-src 'self'; manifest-src 'self'; worker-src 'self'; prefetch-src 'self'; form-action 'self'; frame-ancestors 'self'; default-src 'self'", false);
|
2021-05-28 17:02:01 -04:00
|
|
|
if (!empty($_GET['a'])) {
|
|
|
|
echo '<pre>' . print_r($_POST, true) . '</pre>';
|
|
|
|
echo 'Verification has been : ' . (Csrf::verifyToken('home') ? 'successful' : 'unsuccessful');
|
|
|
|
}
|
2018-10-15 15:14:36 -04:00
|
|
|
?>
|
2021-05-07 15:57:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
|
|
|
|
<?php if ($StaticFunctions->getUserSessionStatus() == false) { ?>
|
|
|
|
<!-- START GUEST CONTENT -->
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row"> </div>
|
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="alert alert-info text-center"><?php echo $transLang['WELCOMETO'] . " " . $SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_name"]; ?></div>
|
2021-04-21 12:07:02 -04:00
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<button class="btn btn-outline-danger btn-lg btn-block" tabindex="-1" role="button" aria-disabled="true" disabled><i class="fas fa-4x fa-sign-in-alt"></i><img src="<?php echo $StaticFunctions->getLogoText(); ?>" height="140" width="370"></img><i class="fas fa-4x fa-sign-out-alt"></i><br /><h1><?php echo $transLang['APP_NAME']; ?></h1></button>
|
2018-10-15 15:14:36 -04:00
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row"> </div>
|
|
|
|
<div class="row row-cols-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<a href="signin.php" class="btn btn-success btn-lg" tabindex="-1" role="button"> <br /> <br /><i class="fas fa-sign-in-alt"></i><br /><?php echo $transLang['CUSTSIGNIN']; ?><br /> <br /> </a>
|
2018-10-15 15:14:36 -04:00
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<a href="signout.php" class="btn btn-info btn-lg" tabindex="-1" role="button"> <br /> <br /><i class="fas fa-sign-out-alt"></i><br /><?php echo $transLang['CUSTSIGNOUT']; ?><br /> <br /> </a>
|
2018-10-15 15:14:36 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<!-- END GUEST CONTENT -->
|
2021-05-07 15:57:31 -04:00
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
<?php } else { ?>
|
2021-05-07 15:57:31 -04:00
|
|
|
|
|
|
|
<?php
|
|
|
|
//on login see if user name fields are set and if not copy from saml when using saml, and then reload
|
|
|
|
if (Registry::AUTHMETHOD == 'SAML') {
|
|
|
|
if ($StaticFunctions->getUserSessionStatus() == true) {
|
2021-05-07 16:57:59 -04:00
|
|
|
if (empty($Users->readUserFirstAndLast($uid)[0]["users_lastname"])) {
|
|
|
|
$Users->updateSamlFirstAndLast($uid, $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname'][0], $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname'][0]);
|
2021-05-07 15:57:31 -04:00
|
|
|
?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<!-- START USER INIT CONTENT -->
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row"> </div>
|
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<a class="btn btn-outline-success btn-lg btn-block" tabindex="-1" role="button" aria-disabled="true" href="index.php"><?php echo $transLang['REFRESH']; ?></a>
|
2021-05-07 15:57:31 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<!-- END USER INIT CONTENT -->
|
|
|
|
<?php die; } } } ?>
|
2021-05-07 15:57:31 -04:00
|
|
|
|
|
|
|
|
2018-10-15 15:14:36 -04:00
|
|
|
<!-- USER CONTENT START -->
|
2021-05-28 11:33:45 -04:00
|
|
|
<?php
|
|
|
|
$post_outtime = filter_input(INPUT_POST, 'outtime');
|
|
|
|
if (!empty($_POST['endvisit'])) {
|
2018-10-15 15:14:36 -04:00
|
|
|
if (!empty($_POST['outtime'])) {
|
2021-05-28 11:33:45 -04:00
|
|
|
$newdate = new DateTime($_POST['outtime'], new DateTimeZone($timezone));
|
|
|
|
$newdate->setTimeZone(new DateTimeZone('UTC'));
|
|
|
|
$postdate=$newdate->format('Y-m-d H:i:s');
|
|
|
|
echo $VisitActions->endVisit($_POST['endvisit'], $postdate);
|
2018-10-15 15:14:36 -04:00
|
|
|
} else {
|
2021-05-28 11:33:45 -04:00
|
|
|
echo $VisitActions->endVisit($_POST['endvisit'], $StaticFunctions->getUTC());
|
2018-10-15 15:14:36 -04:00
|
|
|
}
|
2021-05-28 11:33:45 -04:00
|
|
|
}
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
// VOID VISIT IF POSTED
|
2021-05-28 11:33:45 -04:00
|
|
|
if (!empty($_POST['voidvisit'])) {
|
2021-04-22 10:53:48 -04:00
|
|
|
echo $VisitActions->voidVisit($_POST['voidvisit'], "0", $_POST['voidnotes']);
|
2021-05-28 11:33:45 -04:00
|
|
|
}
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
// UPDATE VENDOR RECORD IF POSTED
|
|
|
|
if (!empty($_POST['updateinitialvendorvisit'])) {
|
2021-06-15 01:47:09 -04:00
|
|
|
echo $VisitActions->setInfoVendorVisitInitial($_POST['db_vendorinfo_id'], $_POST['db_vendorinfo_checklistrequired'], $_POST['db_vendorinfo_routinework'], $_POST['db_vendorinfo_nonroutinework'], $_POST['db_vendorinfo_coi'], $_POST['db_vendorinfo_worksummary'], $_POST['db_vendorinfo_equipmentsummary'] );
|
2021-06-10 05:20:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// FINALIZE VENDOR RECORD IF POSTED
|
|
|
|
if (!empty($_POST['updatefinalvendorvisit'])) {
|
|
|
|
echo $VisitActions->setInfoVendorVisitFinal($_POST['db_vendorinfo_id'], $_POST['db_vendorinfo_checklistcompleted'], $_POST['db_vendorinfo_workcompleted'], $_POST['db_vendorinfo_sitecleanup'], $uid, $_POST['db_vendorinfo_doccompleted'] );
|
|
|
|
}
|
2021-06-15 01:47:09 -04:00
|
|
|
|
|
|
|
// MANUAL SIGNIN
|
|
|
|
$form_data = filter_input_array(INPUT_POST, [
|
|
|
|
'form_data_stage' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_siteid' => (int)FILTER_VALIDATE_INT,
|
|
|
|
'form_data_isvendor' => (int)FILTER_VALIDATE_INT,
|
|
|
|
'form_data_manualsignindate' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_firstname' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_lastname' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_carnum' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_ssanum' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_company' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_contact1' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_contact2' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_workstart' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_workend' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_visittype' => (int)FILTER_VALIDATE_INT,
|
|
|
|
'form_data_escortrequired' => (int)FILTER_VALIDATE_INT,
|
|
|
|
'form_data_v_signature' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_e_signature' => (string)FILTER_SANITIZE_STRING,
|
|
|
|
'form_data_escortname' => (string)FILTER_SANITIZE_STRING
|
|
|
|
]);
|
|
|
|
// SET MANUALSIGNIN STAGE
|
|
|
|
if(!empty($form_data['form_data_stage'])){
|
|
|
|
if($form_data['form_data_stage']==='manualsignin'){
|
|
|
|
if(!empty($form_data['form_data_manualsignindate'])){
|
|
|
|
$manualdate = new DateTime($form_data['form_data_manualsignindate'], new DateTimeZone($timezone));
|
|
|
|
$manualdate->setTimeZone(new DateTimeZone('UTC'));
|
|
|
|
$form_data['form_data_manualsignindate']=$manualdate->format('Y-m-d H:i:s');
|
|
|
|
} else {
|
|
|
|
$form_data['form_data_manualsignindate'] = $StaticFunctions->getUTC();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (empty($form_data['form_data_carnum'])) { $carnum="";} else {$carnum=$form_data['form_data_carnum'];}
|
|
|
|
if (empty($form_data['form_data_ssanum'])) { $ssanum="";} else {$ssanum=$form_data['form_data_ssanum'];}
|
|
|
|
if (empty($form_data['form_data_isvendor'])) { $isvendor="0";} else {$isvendor=$form_data['form_data_isvendor'];}
|
|
|
|
if (empty($form_data['form_data_contact1'])) { $db_vendorinfo_contact1="";} else {$db_vendorinfo_contact1=$form_data['form_data_contact1'];}
|
|
|
|
if (empty($form_data['form_data_contact2'])) { $db_vendorinfo_contact2="";} else {$db_vendorinfo_contact2=$form_data['form_data_contact2'];}
|
|
|
|
if (empty($form_data['form_data_workstart'])) { $db_vendorinfo_workstart="";} else {$db_vendorinfo_workstart=$form_data['form_data_workstart'];}
|
|
|
|
if (empty($form_data['form_data_workend'])) { $db_vendorinfo_workend="";} else {$db_vendorinfo_workend=$form_data['form_data_workend'];}
|
|
|
|
$visitid = $VisitActions->newVisit($form_data['form_data_firstname'], $form_data['form_data_lastname'], $form_data['form_data_company'], $form_data['form_data_visittype'], $form_data['form_data_manualsignindate'], $form_data['form_data_v_signature'], $form_data['form_data_siteid'], "1", $form_data['form_data_e_signature'], $form_data['form_data_escortname'], $carnum, $ssanum, $isvendor);
|
|
|
|
if($form_data['form_data_isvendor'] === (int)"1") {
|
|
|
|
$vendorid = $VisitActions->setInfoVendorVisitNew($visitid, $db_vendorinfo_contact1, $db_vendorinfo_contact2, $db_vendorinfo_workstart, $db_vendorinfo_workend);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
// If post is approved, save after error checking.
|
|
|
|
if (!empty($_POST['approvevisit'])) {
|
2021-06-10 15:52:02 -04:00
|
|
|
if (empty($_POST['id_type'])) { $id_type_error=1; } else {$id_type_error=0;};
|
|
|
|
if (empty($_POST['badge'])) { $badge_error=1; } else {$badge_error=0;};
|
|
|
|
if (empty($_POST['initials'])) { $initials_error=1; } else {$initials_error=0;};
|
|
|
|
if (empty($_POST['citizen'])) { $citizen_error=(int)'1'; } elseif ($_POST['citizen']==='00') { $citizen_error=(int)'1'; } else { $citizen_error=(int)'0'; };
|
|
|
|
if (isset($_POST['id_type']) && $_POST['id_type']===1 && isset($_POST['id_reference'])) { $id_reference_error=0; } elseif (isset($_POST['id_type']) && $_POST['id_type']===1 && empty($_POST['id_reference'])) { $id_reference_error=1; } else { $id_reference_error=0; };
|
|
|
|
if ($id_type_error+$badge_error+$initials_error+$citizen_error+$id_reference_error===0) {
|
|
|
|
$approved=2;
|
|
|
|
echo $VisitActions->approveVisit($_POST['approvevisit'], $_POST['id_type'], $_POST['id_reference'], $_POST['citizen'], $_POST['badge'], $_POST['initials'], $approved);
|
2021-05-28 11:33:45 -04:00
|
|
|
}
|
|
|
|
}
|
2021-06-10 15:52:02 -04:00
|
|
|
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
// check all unapproved or approved
|
|
|
|
$approval = "1";
|
|
|
|
// Set up pagination
|
|
|
|
$page_num = 1;
|
|
|
|
if(!empty($_GET['pnum'])):
|
|
|
|
$page_num = filter_input(INPUT_GET, 'pnum', FILTER_VALIDATE_INT);
|
|
|
|
if(false === $page_num):
|
|
|
|
$page_num = 1;
|
2018-10-15 15:14:36 -04:00
|
|
|
endif;
|
2021-05-28 11:33:45 -04:00
|
|
|
endif;
|
|
|
|
$offset = ($page_num - 1) * $StaticFunctions->getPageRows();
|
|
|
|
$row_count = count($VisitInfo->getVisitInfo($siteid, $approval, "empty", "%", "%", "%", "%", "%", "%"));
|
|
|
|
$page_count = 0;
|
|
|
|
if (0 === $row_count): else: $page_count = (int)ceil($row_count / $StaticFunctions->getPageRows()); if($page_num > $page_count): $page_num = 1; endif; endif;
|
|
|
|
?>
|
2021-04-22 10:53:48 -04:00
|
|
|
<!-- modals -->
|
2021-05-28 11:33:45 -04:00
|
|
|
<script>
|
|
|
|
$(document).on("click", ".open-voidModal", function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
var _self = $(this);
|
|
|
|
var myVoidId = _self.data('id');
|
|
|
|
$("#voidvisit").val(myVoidId);
|
|
|
|
$(_self.attr('href')).modal('show');
|
|
|
|
});
|
|
|
|
</script>
|
2021-04-22 10:53:48 -04:00
|
|
|
|
|
|
|
<!-- void notes -->
|
|
|
|
|
|
|
|
|
2021-06-15 01:47:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
<!-- START VOID MODAL -->
|
|
|
|
<div class="modal fade" id="voidModal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title" id="termsModalLongTitle"><?php echo $transLang['DECLINE']; ?></h5>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form class="form form-approve" method="post">
|
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['NOTES']; ?></span>
|
|
|
|
<input type="hidden" name="voidvisit" id="voidvisit" value="" />
|
|
|
|
<textarea class="form-control" id="voidnotes" name="voidnotes" placeholder="<?php echo $transLang['NOTES_PLACEHOLDER']; ?>"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['STR_COMMON_CANCEL']; ?></button>
|
2021-05-28 11:33:45 -04:00
|
|
|
<button type="submit" class="btn btn-danger btn-sm"><i class="fas fa-thumbs-down"></i> <?php echo $transLang['DECLINE']; ?></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-22 10:53:48 -04:00
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
<!-- END VOID MODAL -->
|
|
|
|
|
|
|
|
<!-- START VISITS LIST -->
|
|
|
|
<div class="container-fluid">
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="row row-cols-3 mb-2">
|
2021-05-28 11:33:45 -04:00
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<h2><i class="fas fa-home"></i> <?php echo $transLang['ACTIVEVISITS']; ?></h2>
|
2021-04-22 10:53:48 -04:00
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="col d-grid gap-2 text-center">
|
2021-05-28 11:33:45 -04:00
|
|
|
<ul class="pagination pagination-sm">
|
2021-06-15 11:14:55 -04:00
|
|
|
<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1"><?php echo $transLang['STR_COMMON_PAGE']; ?></a></li>
|
2021-06-15 15:10:50 -04:00
|
|
|
<?php for ($i = 1; $i <= $page_count; $i++): ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<li class="page-item<?php if ($i === $page_num): echo ' active'; else: echo ' '; endif; ?>"><a class="page-link" href="<?php echo $_SERVER['PHP_SELF'] . '?pnum=' . $i; ?>"><?php echo $i; ?></a></li>
|
2021-06-15 15:10:50 -04:00
|
|
|
<?php endfor; ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="col text-end">
|
|
|
|
<a data-bs-toggle="modal" data-bs-target="#signinModal" href="#signinModal" name="signinModal" type="button" class="btn btn-info btn-lg open-signinModal"><i class="fa fas fa-sign-in-alt"></i> <?php echo $transLang['STR_SIGNIN_MANUAL']; ?></a>
|
|
|
|
<a href="index.php" type="button" class="btn btn-primary btn-lg"><i class="fa fa-redo"></i> <?php echo $transLang['REFRESH']; ?></a>
|
|
|
|
</div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
|
2021-06-15 01:47:09 -04:00
|
|
|
<!-- START MANUAL SIGNIN FORM MODAL -->
|
|
|
|
<div class="modal fade" id="signinModal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header text-light bg-secondary">
|
|
|
|
<h5 class="modal-title" id="termsModalLongTitle"><?php echo $transLang['SIGNIN']; ?></h5>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form method="post">
|
|
|
|
<input type="hidden" name="form_data_stage" id="form_data_stage" value="manualsignin" />
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-form_data_manualsignindate">Sign In Date/Time <i class="fas fa-clock"></i></span>
|
|
|
|
<input placeholder="" name="form_data_manualsignindate" type="text" class="form-control bg-white datetimepicker-input datetimepicker-form_data_manualsignindate" id="datetimepicker-form_data_manualsignindate" data-toggle="datetimepicker" data-target=".datetimepicker-form_data_manualsignindate"/>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('.datetimepicker-form_data_manualsignindate').datetimepicker({'timeZone': '<?php echo $timezone; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss', 'allowInputToggle': true });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['FIRSTNAME']; ?></span>
|
|
|
|
<input class="form-control" id="form_data_firstname" name="form_data_firstname" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['LASTNAME']; ?></span>
|
|
|
|
<input class="form-control" id="form_data_lastname" name="form_data_lastname" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="form_data_siteid" id="form_data_siteid" value="<?php echo $siteid; ?>" />
|
|
|
|
<input type="hidden" name="form_data_v_signature" id="form_data_v_signature" value="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAQAAACzWFxqAAAAXklEQVR42u3RMQEAAAzCsOHf9CxwcqQSmpymigVABASIgAARECACAkRABASIgAARECACAkRABASIgAARECACAkRABASIgAARECACAkRABASIgAARECACAkRABASI2h4b9QAzse8LYwAAAABJRU5ErkJggg==" />
|
|
|
|
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group mb-3">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['CARNUM']; ?></span>
|
|
|
|
<input type="text" id="form_data_carnum" name="form_data_carnum" class="form-control" placeholder="<?php echo $transLang['CARNUM']; ?>" required autofocus>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group mb-3">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['SSANUM']; ?></span>
|
|
|
|
<input type="text" id="form_data_ssanum" name="form_data_ssanum" class="form-control" placeholder="<?php echo $transLang['SSANUM']; ?>" required autofocus>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['COMPANY']; ?></span>
|
|
|
|
<input class="form-control" id="form_data_company" name="form_data_company" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT1_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="form_data_contact1" name="form_data_contact1" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT2_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="form_data_contact2" name="form_data_contact2" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-form_data_workstart"><?php echo $transLang['STR_VENDORINFO_WORKSTART_TITLE']; ?> <i class="fas fa-clock"></i></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input placeholder="" name="form_data_workstart" type="text" class="form-control bg-white datetimepicker-input datetimepicker-form_data_workstart" id="datetimepicker-form_data_workstart" data-toggle="datetimepicker" data-target=".datetimepicker-form_data_workstart"/>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('.datetimepicker-form_data_workstart').datetimepicker({'timeZone': '<?php echo $timezone; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss', 'allowInputToggle': true });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-form_data_workend"><?php echo $transLang['STR_VENDORINFO_WORKEND_TITLE']; ?> <i class="fas fa-clock"></i></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input placeholder="" name="form_data_workend" type="text" class="form-control bg-white datetimepicker-input datetimepicker-form_data_workend" id="datetimepicker-form_data_workend" data-toggle="datetimepicker" data-target=".datetimepicker-form_data_workend"/>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('.datetimepicker-form_data_workend').datetimepicker({'timeZone': '<?php echo $timezone; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss', 'allowInputToggle': true });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['REASON']; ?></span>
|
|
|
|
<select class="form-select" id="form_data_visittype" name="form_data_visittype" required>
|
|
|
|
<option value="" selected><?php echo $transLang['SELECTREASON']; ?></option><?php foreach($VisitTypeInfo->getInfoVisitType("%","%") as $vtrow): ?>
|
|
|
|
<option value="<?php echo $vtrow['visittypes_id']; ?>">[<?php if($vtrow['visittypes_isvendor']===0){echo "Visitor";}elseif($vtrow['visittypes_isvendor']===1){echo "Vendor";} ?>] <?php echo $transLang[$vtrow['visittypes_name']]; ?></option><?php endforeach; ?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['ENAME']; ?></span>
|
|
|
|
<input type="text" id="form_data_escortname" name="form_data_escortname" class="form-control" placeholder="<?php echo $transLang['ETAG']; ?>" autofocus>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['STR_COMMON_CANCEL']; ?></button>
|
2021-06-15 01:47:09 -04:00
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="submit" class="btn btn-success"><i class="fas fa-save"></i> <?php echo $transLang['STR_COMMON_SAVE']; ?></button>
|
2021-06-15 01:47:09 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- END MANUAL SIGNIN FORM MODAL -->
|
|
|
|
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
<div class="row row-cols-1">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<table class="table table-sm table-responsive-sm text-nowrap">
|
|
|
|
<thead class="thead-dark">
|
|
|
|
<tr>
|
2021-06-12 09:29:10 -04:00
|
|
|
<th class="small col-xs-1"><?php echo $transLang['TIMEREASON']; ?></th><th class="small col-xs-2"><?php echo $transLang['NAME']; ?></th><th class="small col-xs-2"><?php echo $transLang['ESCORT']; ?></th><th class="small col-xs-2"><?php echo $transLang['VALIDATIONS']; ?></th><th class="small col-xs-2"><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th class="small col-xs-1"><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php } ?><th class="small col-xs-1"><?php echo $transLang['ACTIONS']; ?></th>
|
2021-05-28 11:33:45 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($VisitInfo->getVisitInfo($siteid, $approval, "empty", "%", "%", "%", "%", $StaticFunctions->getPageRows(), $offset) as $row):
|
|
|
|
$visitid = $row['visits_id'];
|
|
|
|
$timein = new DateTime($row['visits_intime'], new DateTimeZone('UTC'));
|
|
|
|
$timein->setTimezone(new DateTimeZone("$timezone"));
|
|
|
|
$timein_disp = $timein->format('Y-m-d H:i:s');
|
2021-06-12 09:29:10 -04:00
|
|
|
if(!empty($row['visits_carnum'])) { $carnum=$row['visits_carnum']; } else { $carnum="";}
|
|
|
|
if(!empty($row['visits_ssanum'])) { $ssanum=$row['visits_ssanum']; } else { $ssanum="";}
|
|
|
|
if(!empty($row['visits_isvendor'])) { $isvendor=$row['visits_isvendor']; } else { $isvendor="";}
|
|
|
|
if(!empty($row['visits_approved'])) { $visitapproved=$row['visits_approved']; } else { $visitapproved="";}
|
2021-06-10 05:20:29 -04:00
|
|
|
?>
|
|
|
|
|
|
|
|
|
2021-06-15 01:47:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-10 05:20:29 -04:00
|
|
|
<?php if($isvendor===1 && $visitapproved===1){ ?>
|
|
|
|
<!-- START INITIAL VENDOR FORM MODAL -->
|
|
|
|
<?php foreach ($VisitInfo->getInfoVendorVisitInitial($visitid) as $rowvn) {
|
|
|
|
$db_vendorinfo_id = $rowvn['db_vendorinfo_id'];
|
|
|
|
$db_vendorinfo_contact1 = $rowvn['db_vendorinfo_contact1'];
|
|
|
|
$db_vendorinfo_contact2 = $rowvn['db_vendorinfo_contact2'];
|
|
|
|
$db_vendorinfo_workstart = $rowvn['db_vendorinfo_workstart'];
|
|
|
|
$db_vendorinfo_workend = $rowvn['db_vendorinfo_workend'];
|
2021-06-15 01:47:09 -04:00
|
|
|
$db_vendorinfo_customerimpacted = $rowvn['db_vendorinfo_customerimpacted'];
|
2021-06-10 05:20:29 -04:00
|
|
|
$db_vendorinfo_checklistrequired= $rowvn['db_vendorinfo_checklistrequired'];
|
|
|
|
$db_vendorinfo_routinework = $rowvn['db_vendorinfo_routinework'];
|
|
|
|
$db_vendorinfo_nonroutinework = $rowvn['db_vendorinfo_nonroutinework'];
|
|
|
|
$db_vendorinfo_coi = $rowvn['db_vendorinfo_coi'];
|
|
|
|
$db_vendorinfo_worksummary = $rowvn['db_vendorinfo_worksummary'];
|
|
|
|
$db_vendorinfo_equipmentsummary = $rowvn['db_vendorinfo_equipmentsummary'];
|
|
|
|
if ($db_vendorinfo_routinework === 1 || $db_vendorinfo_nonroutinework === 1) {
|
2021-06-12 09:29:10 -04:00
|
|
|
if (!empty($db_vendorinfo_worksummary) && !empty($db_vendorinfo_equipmentsummary)){$initialvendorformcomplete=1;}
|
|
|
|
} else {$initialvendorformcomplete=0;}
|
2021-06-10 05:20:29 -04:00
|
|
|
?>
|
|
|
|
<div class="modal fade" id="vendorModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header text-light bg-secondary">
|
2021-06-15 11:14:55 -04:00
|
|
|
<h5 class="modal-title" id="termsModalLongTitle"><?php echo $transLang['STR_VENDORINFO_FORM_TITLE']; ?></h5>
|
2021-06-10 05:20:29 -04:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form method="post">
|
2021-06-15 01:47:09 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<p><?php echo $transLang['STR_VENDORINFO_DOCUMENTATIONREQUIRED_DESC']; ?></p>
|
2021-06-15 01:47:09 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<input type="hidden" name="updateinitialvendorvisit" id="updateinitialvendorvisit" value="updateinitialvendorvisit" />
|
|
|
|
<input type="hidden" name="db_vendorinfo_id" id="db_vendorinfo_id" value="<?php echo $db_vendorinfo_id; ?>" />
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT1_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_contact1" name="db_vendorinfo_contact1" placeholder="<?php echo $db_vendorinfo_contact1; ?>" value="<?php echo $db_vendorinfo_contact1; ?>" disabled />
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT2_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_contact2" name="db_vendorinfo_contact2" placeholder="<?php echo $db_vendorinfo_contact2; ?>" value="<?php echo $db_vendorinfo_contact2; ?>" disabled />
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKSTART_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_workstart" name="db_vendorinfo_workstart" placeholder="<?php echo $db_vendorinfo_workstart; ?>" value="<?php echo $db_vendorinfo_workstart; ?>" disabled />
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKEND_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_workend" name="db_vendorinfo_workend" placeholder="<?php echo $db_vendorinfo_workend; ?>" value="<?php echo $db_vendorinfo_workend; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CUSTOMERIMPACTED_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_customerimpacted" name="db_vendorinfo_customerimpacted" placeholder="<?php echo $db_vendorinfo_customerimpacted; ?>" value="<?php echo $db_vendorinfo_customerimpacted; ?>" disabled />
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<p><strong><?php echo $transLang['STR_VENDORINFO_VALIDATIONINITIAL']; ?></strong></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_checklistrequired" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_CHECKLISTREQUIRED_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_CHECKLISTREQUIRED_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_routinework" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_ROUTINEWORK_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_ROUTINEWORK_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_coi" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_COI_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_COI_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_nonroutinework" value="0" />
|
|
|
|
<input class="form-check-input" name="db_vendorinfo_nonroutinework" value="1" type="checkbox" id="db_vendorinfo_nonroutinework" <?php if (isset($db_vendorinfo_nonroutinework) && $db_vendorinfo_nonroutinework === 1) echo "checked";?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_nonroutinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_NONROUTINEWORK_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_NONROUTINEWORK_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_WORKSUMMARY_DESC']; ?>"><span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKSUMMARY_TITLE']; ?></span></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_worksummary" name="db_vendorinfo_worksummary" placeholder="<?php echo $db_vendorinfo_worksummary; ?>" value="<?php echo $db_vendorinfo_worksummary; ?>" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_EQUIPMENTSUMMARY_DESC']; ?>"><span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_EQUIPMENTSUMMARY_TITLE']; ?></span></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_equipmentsummary" name="db_vendorinfo_equipmentsummary" placeholder="<?php echo $db_vendorinfo_equipmentsummary; ?>" value="<?php echo $db_vendorinfo_equipmentsummary; ?>" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['STR_COMMON_CANCEL']; ?></button>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="submit" class="btn btn-success"><i class="fas fa-save"></i> <?php echo $transLang['STR_COMMON_SAVE']; ?></button>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- END INITIAL VENDOR FORM MODAL -->
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } } ?>
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
|
|
|
|
<?php if($isvendor===1 && $visitapproved===2){ ?>
|
|
|
|
<!-- START FINAL VENDOR FORM MODAL -->
|
|
|
|
<?php foreach ($VisitInfo->getInfoVendorVisitFinal($visitid) as $rowvm) {
|
|
|
|
$db_vendorinfo_id = $rowvm['db_vendorinfo_id'];
|
|
|
|
$db_vendorinfo_contact1 = $rowvm['db_vendorinfo_contact1'];
|
|
|
|
$db_vendorinfo_contact2 = $rowvm['db_vendorinfo_contact2'];
|
|
|
|
$db_vendorinfo_workstart = $rowvm['db_vendorinfo_workstart'];
|
|
|
|
$db_vendorinfo_workend = $rowvm['db_vendorinfo_workend'];
|
2021-06-15 01:47:09 -04:00
|
|
|
$db_vendorinfo_customerimpacted = $rowvm['db_vendorinfo_customerimpacted'];
|
2021-06-10 05:20:29 -04:00
|
|
|
$db_vendorinfo_checklistrequired = $rowvm['db_vendorinfo_checklistrequired'];
|
|
|
|
$db_vendorinfo_routinework = $rowvm['db_vendorinfo_routinework'];
|
|
|
|
$db_vendorinfo_nonroutinework = $rowvm['db_vendorinfo_nonroutinework'];
|
|
|
|
$db_vendorinfo_coi = $rowvm['db_vendorinfo_coi'];
|
|
|
|
$db_vendorinfo_worksummary = $rowvm['db_vendorinfo_worksummary'];
|
|
|
|
$db_vendorinfo_equipmentsummary = $rowvm['db_vendorinfo_equipmentsummary'];
|
|
|
|
$db_vendorinfo_checklistcompleted = $rowvm['db_vendorinfo_checklistcompleted'];
|
|
|
|
$db_vendorinfo_workcompleted = $rowvm['db_vendorinfo_workcompleted'];
|
|
|
|
$db_vendorinfo_sitecleanup = $rowvm['db_vendorinfo_sitecleanup'];
|
|
|
|
$db_vendorinfo_doccompleted = $rowvm['db_vendorinfo_doccompleted'];
|
2021-06-12 09:29:10 -04:00
|
|
|
if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $finalvendorformcomplete=1; } else { $finalvendorformcomplete=0; }
|
2021-05-28 11:33:45 -04:00
|
|
|
?>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="modal fade" id="vendorFinalModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header text-light bg-secondary">
|
2021-06-15 11:14:55 -04:00
|
|
|
<h5 class="modal-title" id="termsModalLongTitle"><?php echo $transLang['STR_VENDORINFO_FORM_TITLE']; ?></h5>
|
2021-06-10 05:20:29 -04:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form method="post">
|
2021-06-15 01:47:09 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<p><?php echo $transLang['STR_VENDORINFO_DOCUMENTATIONREQUIRED_DESC']; ?></p>
|
2021-06-15 01:47:09 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<input type="hidden" name="updatefinalvendorvisit" id="updatefinalvendorvisit" value="updatefinalvendorvisit" />
|
|
|
|
<input type="hidden" name="db_vendorinfo_id" id="db_vendorinfo_id" value="<?php echo $db_vendorinfo_id; ?>" />
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT1_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_contact1" name="db_vendorinfo_contact1" placeholder="<?php echo $db_vendorinfo_contact1; ?>" value="<?php echo $db_vendorinfo_contact1; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CONTACT2_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_contact2" name="db_vendorinfo_contact2" placeholder="<?php echo $db_vendorinfo_contact2; ?>" value="<?php echo $db_vendorinfo_contact2; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKSTART_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_workstart" name="db_vendorinfo_workstart" placeholder="<?php echo $db_vendorinfo_workstart; ?>" value="<?php echo $db_vendorinfo_workstart; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKEND_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_workend" name="db_vendorinfo_workend" placeholder="<?php echo $db_vendorinfo_workend; ?>" value="<?php echo $db_vendorinfo_workend; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-15 01:47:09 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_CUSTOMERIMPACTED_TITLE']; ?></span>
|
2021-06-15 01:47:09 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_customerimpacted" name="db_vendorinfo_customerimpacted" placeholder="<?php echo $db_vendorinfo_customerimpacted; ?>" value="<?php echo $db_vendorinfo_customerimpacted; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_checklistrequired" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) {echo "checked";}?> disabled>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_CHECKLISTREQUIRED_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_CHECKLISTREQUIRED_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_routinework" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) {echo "checked";}?> disabled>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_ROUTINEWORK_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_ROUTINEWORK_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_coi" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) {echo "checked";}?> disabled>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_COI_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_COI_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_nonroutinework" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_nonroutinework" value="1" type="checkbox" id="db_vendorinfo_nonroutinework" <?php if (isset($db_vendorinfo_nonroutinework) && $db_vendorinfo_nonroutinework === 1) {echo "checked";}?> disabled>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_nonroutinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_NONROUTINEWORK_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_NONROUTINEWORK_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_WORKSUMMARY_DESC']; ?>"><span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_WORKSUMMARY_TITLE']; ?></span></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_worksummary" name="db_vendorinfo_worksummary" placeholder="<?php echo $db_vendorinfo_worksummary; ?>" value="<?php echo $db_vendorinfo_worksummary; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_EQUIPMENTSUMMARY_DESC']; ?>"><span class="input-group-text"><?php echo $transLang['STR_VENDORINFO_EQUIPMENTSUMMARY_TITLE']; ?></span></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<input class="form-control" id="db_vendorinfo_equipmentsummary" name="db_vendorinfo_equipmentsummary" placeholder="<?php echo $db_vendorinfo_equipmentsummary; ?>" value="<?php echo $db_vendorinfo_equipmentsummary; ?>" disabled />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<p><strong><?php echo $transLang['STR_VENDORINFO_VALIDATIONFINAL']; ?></strong></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_checklistcompleted" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_checklistcompleted" value="1" type="checkbox" id="db_vendorinfo_checklistcompleted" <?php if (isset($db_vendorinfo_checklistcompleted) && $db_vendorinfo_checklistcompleted === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_checklistcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_CHECKLISTCOMPLETED_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_CHECKLISTCOMPLETED_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_workcompleted" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_workcompleted" value="1" type="checkbox" id="db_vendorinfo_workcompleted" <?php if (isset($db_vendorinfo_workcompleted) && $db_vendorinfo_workcompleted === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_workcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_WORKCOMPLETED_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_WORKCOMPLETED_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_sitecleanup" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_sitecleanup" value="1" type="checkbox" id="db_vendorinfo_sitecleanup" <?php if (isset($db_vendorinfo_sitecleanup) && $db_vendorinfo_sitecleanup === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_sitecleanup"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_SITECLEANUP_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_SITECLEANUP_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input type="hidden" name="db_vendorinfo_doccompleted" value="0" />
|
2021-06-12 09:29:10 -04:00
|
|
|
<input class="form-check-input" name="db_vendorinfo_doccompleted" value="1" type="checkbox" id="db_vendorinfo_doccompleted" <?php if (isset($db_vendorinfo_doccompleted) && $db_vendorinfo_doccompleted === 1) {echo "checked";}?>>
|
2021-06-15 11:14:55 -04:00
|
|
|
<label class="form-check-label" for="db_vendorinfo_doccompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['STR_VENDORINFO_DOCCOMPLETED_DESC']; ?>"><?php echo $transLang['STR_VENDORINFO_DOCCOMPLETED_TITLE']; ?></span></label>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="row row-cols-1 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
<p><?php echo $transLang['STR_VENDORINFO_FOOTERWARNING']; ?></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<div class="row row-cols-2 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['STR_COMMON_CANCEL']; ?></button>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="submit" class="btn btn-success"><i class="fas fa-save"></i> <?php echo $transLang['STR_COMMON_SAVE']; ?></button>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- END FINAL VENDOR FORM MODAL -->
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php }
|
|
|
|
}
|
|
|
|
?>
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
|
2021-06-10 15:52:02 -04:00
|
|
|
<?php if($row['visits_approved']===2) { ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<tr class="alert alert-success">
|
|
|
|
<?php } else { ?>
|
|
|
|
<tr class="alert alert-warning">
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form class="form form-approve" method="post">
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small">
|
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $timein_disp; ?></span>
|
|
|
|
</div>
|
|
|
|
<div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang[$VisitTypeInfo->getInfoVisitType("%", $row['visits_reason'])[0]["visittypes_name"]]; ?></span>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="small"><?php echo $row['visits_lastname'] . ", " . $row['visits_firstname']; ?><br><img src="<?php echo $row['visits_signature']; ?>" width="200" height="50"></img></td>
|
|
|
|
<td class="small"><?php if (!empty($row['visits_escort'])) {echo $row['visits_escort'] . '<br /><img src="' . $row['visits_escort_signature'] . '" width="200" height="50"></img>'; } ?></td>
|
|
|
|
<td class="small">
|
|
|
|
<?php if($row['visits_approved'] === 2) { ?>
|
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang['ID_TYPE']; ?></span> <?php echo $transLang[$IDTypeInfo->getIDTypeInfo($row['visits_id_type'])[0]["idtypes_name"]]; ?>
|
|
|
|
</div>
|
2021-06-10 15:52:02 -04:00
|
|
|
<?php if($row['visits_id_type']===1) { ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang['TICKET']; ?></span> <?php echo $row['visits_id_reference']; ?>
|
|
|
|
</div>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "US") { ?>
|
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang['COUNTRY']; ?>?</span> <?php echo $VisitInfo->getCountryInfo($row['visits_citizen'])[0]["countries_name"]; ?>
|
|
|
|
</div>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
</td>
|
|
|
|
<td class="small">
|
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang['BADGE']; ?></span> <?php echo $row['visits_badge']; ?>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<span class="badge bg-light text-dark"><?php echo $transLang['SIGNINBY']; ?></span> <?php echo $Users->readUserFirstAndLast($row['visits_initials'])[0]["users_firstname"] . " " . $Users->readUserFirstAndLast($row['visits_initials'])[0]["users_lastname"]; ?>
|
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<?php if($isvendor===1) { ?>
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<?php if ($finalvendorformcomplete===1) { ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="badge bg-success text-dark"><?php echo $transLang['STR_TAGS_FORMCOMPLETE_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<?php } else { ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="badge bg-info text-dark"><?php echo $transLang['STR_TAGS_FORMINCOMPLETE_TITLE']; ?></span>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<a data-bs-toggle="modal" data-bs-target="#vendorFinalModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorFinalModal-<?php echo $visitid; ?>" name="vendorFinalModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorFinalModal-<?php echo $visitid; ?>"><?php echo $transLang['STR_VENDORINFO_FORM_TITLE']; ?></a>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
</td>
|
2018-10-22 09:59:34 -04:00
|
|
|
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small">
|
|
|
|
<div class="input-group input-group-sm mb-0 d-grid gap-2">
|
2021-06-12 09:29:10 -04:00
|
|
|
<button type="submit" name="endvisit" value="<?php echo $visitid; ?>" class="btn btn-warning btn-block btn-sm <?php if ($isvendor===1 && $finalvendorformcomplete===0) { echo "disabled"; } ?>"><i class="fas fa-sign-out-alt"></i> <?php echo $transLang['SIGNOUT']; ?></button>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-10 05:20:29 -04:00
|
|
|
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>"><i class="fas fa-clock"></i></span>
|
|
|
|
<input placeholder="<?php echo $transLang['OPTIONAL']; ?>" name="outtime" type="text" class="form-control form-control-sm bg-white datetimepicker-input datetimepicker-<?php echo $visitid; ?>" id="datetimepicker-<?php echo $visitid; ?>" data-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>"/>
|
2021-05-28 11:33:45 -04:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
2021-06-10 05:20:29 -04:00
|
|
|
$('.datetimepicker-<?php echo $visitid; ?>').datetimepicker({'timeZone': '<?php echo $timezone; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss', 'allowInputToggle': true });
|
2021-05-28 11:33:45 -04:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<?php } else { ?>
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['ID_TYPE']; ?></span>
|
2021-06-10 15:52:02 -04:00
|
|
|
<select class="form-control form-control-sm bg-white form-select<?php if( isset($id_type_error) && $id_type_error===1 && $_POST['approvevisit'] == $visitid ) { echo " is-invalid"; } ?>" id="id_type-<?php echo $visitid; ?>" name="id_type">
|
2021-05-28 11:33:45 -04:00
|
|
|
<option value="" selected><?php echo $transLang['SELECTID']; ?></option>
|
|
|
|
<?php foreach($IDTypeInfo->getIDTypeInfo("%") as $row): ?>
|
|
|
|
<option value="<?php echo $row['idtypes_id']; ?>"><?php echo $transLang[$row['idtypes_name']]; ?></option>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</select>
|
2021-06-15 11:14:55 -04:00
|
|
|
<div class="invalid-feedback"><?php echo $transLang['STR_COMMON_REQUIRED']; ?></div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<div id="ticket-<?php echo $visitid; ?>" name="ticket-<?php echo $visitid; ?>" class="input-group input-group-sm mb-0"><span class="input-group-text"><?php echo $transLang['TICKET']; ?></span>
|
|
|
|
<input class="form-control form-control-sm bg-white<?php if( isset($id_reference_error) && $id_reference_error === 1 && $_POST['approvevisit'] == $visitid ) { echo " is-invalid"; } ?>" type="text" id="id_reference-<?php echo $visitid; ?>" name="id_reference">
|
2021-06-15 11:14:55 -04:00
|
|
|
<div class="invalid-feedback"><?php echo $transLang['STR_COMMON_REQUIRED']; ?></div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$('#id_type-<?php echo $visitid; ?>').change(function() {
|
|
|
|
if ($(this).val() === "1") {
|
|
|
|
$('#ticket-<?php echo $visitid; ?>').show();
|
|
|
|
$('#id_reference-<?php echo $visitid; ?>').attr('required', '');
|
|
|
|
$('#id_reference-<?php echo $visitid; ?>').attr('data-error', 'This field is required.');
|
|
|
|
} else {
|
|
|
|
$('#ticket-<?php echo $visitid; ?>').hide();
|
|
|
|
$('#id_reference-<?php echo $visitid; ?>').removeAttr('required');
|
|
|
|
$('#id_reference-<?php echo $visitid; ?>').removeAttr('data-error');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$('#id_type-<?php echo $visitid; ?>').trigger("change");
|
|
|
|
</script>
|
2018-10-19 19:00:44 -04:00
|
|
|
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "US") { ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['COUNTRY']; ?></span>
|
2021-06-10 15:52:02 -04:00
|
|
|
<select class="form-control form-control-sm bg-white form-select<?php if( isset($citizen_error) && $citizen_error===1 && $_POST['approvevisit'] == $visitid ) { echo " is-invalid"; } ?>" id="citizen-<?php echo $visitid; ?>" name="citizen">
|
|
|
|
<option value=00 selected><?php echo $transLang['COUNTRY']; ?></option>
|
2021-05-28 11:33:45 -04:00
|
|
|
<?php foreach ($VisitInfo->getCountryInfo('%') as $row) { ?>
|
|
|
|
<option value="<?php echo $row['countries_id']; ?>" data-sanctioned="<?php echo $row['countries_ban']; ?>"><?php echo $row['countries_name']; ?></option>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
</select>
|
2021-06-15 11:14:55 -04:00
|
|
|
<div class="invalid-feedback"><?php echo $transLang['STR_COMMON_REQUIRED']; ?></div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<div id="citizen-ban-<?php echo $visitid; ?>" name="ban-<?php echo $visitid; ?>" class="input-group input-group-sm mb-0">
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="badge bg-danger"><?php echo $transLang['STR_COMMON_SANCTIONED']; ?></span>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$('#citizen-<?php echo $visitid; ?>').change(function() {
|
|
|
|
var controlbox = $(this);
|
|
|
|
var isSanctioned = controlbox.find(':selected').data('sanctioned');
|
|
|
|
if (isSanctioned === 1) {
|
|
|
|
$('#citizen-ban-<?php echo $visitid; ?>').show();
|
|
|
|
$('#approvevisit-<?php echo $visitid; ?>').attr('disabled', '');
|
|
|
|
} else {
|
|
|
|
$('#citizen-ban-<?php echo $visitid; ?>').hide();
|
|
|
|
$('#approvevisit-<?php echo $visitid; ?>').removeAttr('disabled', '');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$('#citizen-<?php echo $visitid; ?>').trigger("change");
|
|
|
|
</script>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small">
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<span class="input-group-text"><?php echo $transLang['BADGE']; ?></span>
|
2021-06-10 15:52:02 -04:00
|
|
|
<input type="text" id="badge" name="badge" class="form-control form-control-sm bg-white<?php if( isset($badge_error) && $badge_error===1 && $_POST['approvevisit'] == $visitid ) { echo " is-invalid"; } ?>" autofocus maxlength="15">
|
2021-06-15 11:14:55 -04:00
|
|
|
<div class="invalid-feedback"><?php echo $transLang['STR_COMMON_REQUIRED']; ?></div>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
2021-06-10 05:20:29 -04:00
|
|
|
<?php if($isvendor===1) { ?>
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
|
|
|
<?php if ($initialvendorformcomplete===1) { ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="badge bg-success text-dark"><?php echo $transLang['STR_TAGS_FORMCOMPLETE_TITLE']; ?></span>
|
2021-06-10 05:20:29 -04:00
|
|
|
<?php } else { ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<span class="badge bg-info text-dark"><?php echo $transLang['STR_TAGS_FORMINCOMPLETE_TITLE']; ?></span>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-06-15 11:14:55 -04:00
|
|
|
<a data-bs-toggle="modal" data-bs-target="#vendorModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorModal-<?php echo $visitid; ?>" name="vendorModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorModal-<?php echo $visitid; ?>"><?php echo $transLang['STR_VENDORINFO_FORM_TITLE']; ?></a>
|
2021-06-10 05:20:29 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<input class="form-control form-control-sm" type="hidden" id="initials" name="initials" placeholder="<?php echo $uid; ?>" value="<?php echo $uid; ?>">
|
|
|
|
</td>
|
2018-10-22 09:59:34 -04:00
|
|
|
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
<td class="small">
|
|
|
|
<div class="input-group input-group-sm mb-0 d-grid gap-2">
|
2021-06-15 11:14:55 -04:00
|
|
|
<button type="submit" name="approvevisit" id="approvevisit-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="btn btn-success btn-block btn-sm <?php if ($isvendor===1 && $initialvendorformcomplete===0) { echo "disabled"; }; ?>"><i class="fas fa-thumbs-up"></i> <?php echo $transLang['STR_COMMON_APPROVE']; ?></button>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-0 d-grid gap-2">
|
2021-06-01 10:52:51 -04:00
|
|
|
<a data-bs-toggle="modal" data-bs-target="#voidModal" data-id="<?php echo $visitid; ?>" href="#voidModal" name="voidvisit" value="<?php echo $visitid; ?>" class="btn btn-danger btn-block btn-sm open-voidModal"><i class="fas fa-thumbs-down"></i> <?php echo $transLang['DECLINE']; ?></a>
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-0">
|
2021-06-10 05:20:29 -04:00
|
|
|
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>"><i class="fas fa-clock"></i></span>
|
2021-06-03 09:56:55 -04:00
|
|
|
<input placeholder="<?php echo $transLang['OPTIONAL']; ?>" name="outtime" type="text" class="form-control form-control-sm bg-white datetimepicker-input datetimepicker-<?php echo $visitid; ?>" id="datetimepicker-<?php echo $visitid; ?>" data-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>" />
|
2021-05-28 11:33:45 -04:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
2021-06-03 11:04:49 -04:00
|
|
|
$('.datetimepicker-<?php echo $visitid; ?>').datetimepicker({'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss', 'allowInputToggle': true });
|
2021-05-28 11:33:45 -04:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</td>
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } ?>
|
2021-05-28 11:33:45 -04:00
|
|
|
</form>
|
2021-06-10 05:20:29 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
</tr>
|
2021-06-10 05:20:29 -04:00
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-15 15:10:50 -04:00
|
|
|
<div class="row row-cols-3 mb-2">
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2 text-center">
|
|
|
|
<ul class="pagination pagination-sm">
|
|
|
|
<li class="page-item disabled"><a class="page-link" href="#" tabindex="-1"><?php echo $transLang['STR_COMMON_PAGE']; ?></a></li>
|
|
|
|
<?php for ($i = 1; $i <= $page_count; $i++): ?>
|
|
|
|
<li class="page-item<?php if ($i === $page_num): echo ' active'; else: echo ' '; endif; ?>"><a class="page-link" href="<?php echo $_SERVER['PHP_SELF'] . '?pnum=' . $i; ?>"><?php echo $i; ?></a></li>
|
|
|
|
<?php endfor; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col d-grid gap-2">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2021-05-28 11:33:45 -04:00
|
|
|
</div>
|
2021-04-29 10:58:48 -04:00
|
|
|
|
2021-05-28 11:33:45 -04:00
|
|
|
<!-- END VISITS LIST -->
|
2021-04-29 10:58:48 -04:00
|
|
|
|
2021-06-12 09:29:10 -04:00
|
|
|
<?php } require_once("inc/footer.inc.php");
|