- added "today" as selector in date-range dropdown - added feature to prevent auto-select of dropdowns with only one entry - added hint that no changes were detected in batch update - added negative invoice sums are possible (e.g. for credit notes) - fix project list is expanded after submission - fix invalid date parsing causes 500 - fix: prevent auto-select of activities in export and invoice form (in case only one global activity exists) - fix team assignments for customer and project were not saved (using API now) - fix form fieldset with legend styling (e.g. team project assignment) - fix required meta-field were forced to have a value in batch update - fix tomselect meta-field was not disabled in batch update - fix unset internal rate is shown as 0 - fix one minute rounding problem in duration-only mode with "now" being default time - fix column width and label for duration-only mode - tech debt: cleanup invoice template (remove invoice layout) - tech debt: reorder for simpler comparison with invoice form - possible BC for devs: remove unused methods from form trait - bump composer packages (includes new translations for auth screens)
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Kimai time-tracking app.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace App;
|
|
|
|
/**
|
|
* Some "very" global constants for Kimai.
|
|
*/
|
|
class Constants
|
|
{
|
|
/**
|
|
* The current release version
|
|
*/
|
|
public const VERSION = '2.0.11';
|
|
/**
|
|
* The current release: major * 10000 + minor * 100 + patch
|
|
*/
|
|
public const VERSION_ID = 20011;
|
|
/**
|
|
* The software name
|
|
*/
|
|
public const SOFTWARE = 'Kimai';
|
|
/**
|
|
* Used in multiple views
|
|
*/
|
|
public const GITHUB = 'https://github.com/kimai/kimai/';
|
|
/**
|
|
* The Github repository name
|
|
*/
|
|
public const GITHUB_REPO = 'kimai/kimai';
|
|
/**
|
|
* Homepage, used in multiple views
|
|
*/
|
|
public const HOMEPAGE = 'https://www.kimai.org';
|
|
/**
|
|
* Application wide default locale
|
|
*/
|
|
public const DEFAULT_LOCALE = 'en';
|
|
/**
|
|
* Default color for Customer, Project and Activity entities
|
|
*/
|
|
public const DEFAULT_COLOR = '#d2d6de';
|
|
}
|