Browse Source

use $credits

Dennis 3 năm trước cách đây
mục cha
commit
82a2dace25
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/views/home.blade.php

+ 1 - 1
resources/views/home.blade.php

@@ -70,7 +70,7 @@
                 </div>
 
                 <!-- /.col -->
-                @if(Auth::user()->Credits() > 0.01 and $useage > 0)
+                @if($credits > 0.01 and $useage > 0)
                      <div class="col-12 col-sm-6 col-md-3">
                         <div class="info-box mb-3">
                         <span class="info-box-icon bg-{{$bg}} elevation-1">