diff --git a/resources/views/components/module-earning.blade.php b/resources/views/components/module-earning.blade.php index 27f7e78..9fe671a 100644 --- a/resources/views/components/module-earning.blade.php +++ b/resources/views/components/module-earning.blade.php @@ -13,7 +13,7 @@ {{ $year }} @for ($i = 1; $i < 13; $i++) - 0) class="text-danger" @endif>{{ $months[$i]['should_balance'] ?? 0 }} + 0) class="text-danger" @endif>{{ round(($months[$i]['should_balance'] ?? 0), 2) ?? 0 }} 元