|
@@ -85,10 +85,14 @@
|
|
|
<div class="d-flex">
|
|
|
<span class="fill-percent-content">{{ $totalNotesWithBillingClosed }} / {{$totalNotes}}</span>
|
|
|
<div class="d-inline-flex flex-grow-1 ml-3">
|
|
|
+ @if($totalNotes > 0)
|
|
|
<span class="fill-percent-value">{{round($totalNotesWithBillingClosed * 100 / $totalNotes, 1)}}%</span>
|
|
|
<div class="flex-grow-1 position-relative fill-bar">
|
|
|
<div class="bg-info position-absolute" style="left: 0; top: 0; height: 100%; width: {{$totalNotesWithBillingClosed * 100 / $totalNotes}}%"></div>
|
|
|
</div>
|
|
|
+ @else
|
|
|
+ No notes
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|