Fix division by zero
This commit is contained in:
parent
01175eeb54
commit
6bcc5d8f29
|
@ -67,6 +67,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
|
||||||
|
@if($useage > 0)
|
||||||
<div class="col-12 col-sm-6 col-md-3">
|
<div class="col-12 col-sm-6 col-md-3">
|
||||||
<div class="info-box mb-3">
|
<div class="info-box mb-3">
|
||||||
@if(number_format((Auth::user()->Credits()*30)/$useage,0,'.','') >= 15)
|
@if(number_format((Auth::user()->Credits()*30)/$useage,0,'.','') >= 15)
|
||||||
|
@ -91,6 +92,7 @@
|
||||||
<!-- /.info-box -->
|
<!-- /.info-box -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue