Add EMEA fields
This commit is contained in:
parent
34c531b74c
commit
3083aabb3d
@ -154,7 +154,7 @@
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th><?php echo $transLang['TIMEREASON']; ?></th><th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['ESCORT']; ?></th><th><?php echo $transLang['VALIDATIONS']; ?></th><th><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th><?php echo $transLang['CARNUM'] . "/" . $transLang['SSANUM']; ?></th><?php }; ?><th><?php echo $transLang['ACTIONS']; ?></th><th> </th>
|
||||
<th><?php echo $transLang['TIMEREASON']; ?></th><th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['ESCORT']; ?></th><th><?php echo $transLang['VALIDATIONS']; ?></th><th><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php }; ?><th><?php echo $transLang['ACTIONS']; ?></th><th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -63,8 +63,8 @@ class VisitInfo {
|
||||
" . Registry::DB_PRFX . "visits.site_id as visits_site_id,
|
||||
" . Registry::DB_PRFX . "visits.company as visits_company,
|
||||
" . Registry::DB_PRFX . "visits.approved as visits_approved,
|
||||
" . Registry::DB_PRFX . "visits.approved as visits_carnum,
|
||||
" . Registry::DB_PRFX . "visits.approved as visits_regnum
|
||||
" . Registry::DB_PRFX . "visits.carnum as visits_carnum,
|
||||
" . Registry::DB_PRFX . "visits.ssanum as visits_ssanum
|
||||
FROM " . Registry::DB_PRFX . "visits
|
||||
WHERE " . $cond_siteid . Registry::DB_PRFX . "visits.approved>=\"$approved\" AND " . $cond_outtime . $cond_intime . Registry::DB_PRFX . "visits.id LIKE \"$visitid\"" . $cond_rowsperpage . $cond_offset;
|
||||
$database = new \App\LobbySIO\Database\Connect();
|
||||
|
Loading…
Reference in New Issue
Block a user