|
|
|
@ -2,9 +2,14 @@
|
|
|
|
|
require_once __DIR__ . '/../required.php';
|
|
|
|
|
|
|
|
|
|
redirectifnotloggedin();
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<form action="lib/reports.php" method="GET" target="_BLANK">
|
|
|
|
|
if (!account_has_permission($_SESSION['username'], "QWIKCLOCK_MANAGE")) {
|
|
|
|
|
?>
|
|
|
|
|
<div class="alert alert-danger"><?php lang("missing permission") ?></div>
|
|
|
|
|
<?php
|
|
|
|
|
} else {
|
|
|
|
|
?>
|
|
|
|
|
<form action="lib/reports.php" method="GET" target="_BLANK">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-4">
|
|
|
|
|
<label for="type"><?php lang("report type"); ?></label>
|
|
|
|
@ -45,4 +50,7 @@ redirectifnotloggedin();
|
|
|
|
|
<input type="hidden" name="code" value="<?php echo $code; ?>" />
|
|
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-success" id="genrptbtn"><i class="fa fa-download"></i> <?php lang("generate report"); ?></button>
|
|
|
|
|
</form>
|
|
|
|
|
</form>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|