|
|
@@ -24,6 +24,8 @@
|
|
|
* @var array $area_manager_data
|
|
|
*/
|
|
|
|
|
|
+$user = Core::$user;
|
|
|
+
|
|
|
$date_resolutions = [
|
|
|
"quarterly" => "Quarterly",
|
|
|
"monthly" => "Monthly",
|
|
|
@@ -181,7 +183,7 @@ let projectData = <?=json_encode($project_table_data)?>;
|
|
|
</form>
|
|
|
|
|
|
<?php
|
|
|
- if(Core::$user->isAdmin()) {
|
|
|
+ if($user->canSeeMissingData()) {
|
|
|
if($locations_missing_region) {
|
|
|
?>
|
|
|
<div class="alert alert-warning limit-height-1 d-print-none">
|