Demo project

This commit is contained in:
Lasse Hassing committed 2021-06-06 15:15:08 +02:00
1 parent 5e4f3540e8
commit a68267d0f0
146 files changed
+41587

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
namespace App\Http\Livewire;
class Helper {
public function Number($value) {
return '<span class="'.(round($value) == 0 ? 'col-zero' : (round($value) > 0 ? 'col-pos' : 'col-neg')) .'">'.number_format(abs(round($value)), 0).'</span>';
}
}