pdf wip
This commit is contained in:
1 parent
551ad2369e
commit
9881d8c37b
23 files changed
+662
-236
No files matched your search
@@ -4,10 +4,28 @@ namespace App\Actions\Generate\Utilities;
|
||||
|
||||
class Format
|
||||
{
|
||||
public static function numeric($value, $stellen)
|
||||
public static function seite($value)
|
||||
{
|
||||
if ($value * 1 > 0) {
|
||||
return $value;
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
public static function index($value)
|
||||
{
|
||||
if (is_numeric($value) && $value * 1 > 0) {
|
||||
return number_format($value, $stellen, '.', '.');
|
||||
return number_format($value, 2, '.', '.');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
public static function dezimal($value, $stellen = 2)
|
||||
{
|
||||
if (is_numeric($value) && $value * 1 > 0) {
|
||||
return number_format($value, $stellen, ',', '.');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user