Răsfoiți Sursa

add completed_chapters

visuddhinanda 2 săptămâni în urmă
părinte
comite
89ec231f3a

+ 3 - 0
api-v13/resources/views/components/ui/card-book.blade.php

@@ -45,6 +45,9 @@
                 @if(!empty($book['type']))
                 <span class="card-book__badge">{{ $book['type'] }}</span>
                 @endif
+                @if(!empty($book['completed_chapters']))
+                <span class="card-book__badge">§{{ $book['completed_chapters'] }}</span>
+                @endif
             </div>
         </div>