static function dueLabel($date)
    {
        $days = \FlexiPeeHP\FakturaVydana::overdueDays($date);
        if ($days < 0) {
            $type = 'success';
            $msg  = sprintf(_(' %s days to due'),
                new \Ease\TWB\Badge(abs($days)));
        } else {
            $msg = sprintf(_(' %s days after due'),
                new \Ease\TWB\Badge(abs($days)));
            if ($days > 14) {
                $type = 'danger';
            } else {
                $type = 'warning';
            }
        }
        return new \Ease\TWB\Label($type, $msg);
    }