mirror of https://github.com/itflow-org/itflow
UI: Fix Padding and margin Account Types Header, also send telemetry if config_telemetry detailed in selected
This commit is contained in:
parent
ed42ec9707
commit
3c53caf964
2
cron.php
2
cron.php
|
|
@ -720,7 +720,7 @@ while ($row = mysqli_fetch_array($sql_recurring_expenses)) {
|
|||
|
||||
// TELEMETRY
|
||||
|
||||
if ($config_telemetry > 0) {
|
||||
if ($config_telemetry > 0 OR $config_telemetry = 2) {
|
||||
|
||||
$current_version = exec("git rev-parse HEAD");
|
||||
|
||||
|
|
|
|||
|
|
@ -589,7 +589,7 @@ if (isset($_GET['update'])) {
|
|||
|
||||
|
||||
// Send Telemetry if enabled during update
|
||||
if ($config_telemetry > 0) {
|
||||
if ($config_telemetry > 0 OR $config_telemetry = 2) {
|
||||
|
||||
$sql = mysqli_query($mysqli,"SELECT * FROM companies WHERE company_id = 1");
|
||||
$row = mysqli_fetch_array($sql);
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ $num_rows = mysqli_num_rows($sql);
|
|||
?>
|
||||
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-money-bill-wave mr-2"></i>Finance Account Types</h3>
|
||||
<div class="card-header py-2">
|
||||
<h3 class="card-title mt-2"><i class="fas fa-fw fa-money-bill-wave mr-2"></i>Finance Account Types</h3>
|
||||
<div class="card-tools">
|
||||
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addAccountTypeModal">
|
||||
<i class="fas fa-plus mr-2"></i>Create Account Type
|
||||
|
|
|
|||
Loading…
Reference in New Issue