@extends('layouts.adminapp') @section('content') {{-- Library --}}
| Si No | Date | Student | Book | Advance | Is Return | Return Amount | Return Date |
|---|---|---|---|---|---|---|---|
| {{ ++$si }} | {{ date('d-m-Y', strtotime($BookTake->date)) }} | {{ $BookTake->student->name }} | {{ $BookTake->book->name }} | {{ $BookTake->advance }} | @if ($BookTake->is_return == 0) ❌ @elseif($BookTake->is_return == 1) ✅ @endif | @if ($BookTake->return_amount) {{ $BookTake->return_amount }} @endif | @if ($BookTake->return_date) {{ date('d-m-Y', strtotime($BookTake->return_date)) }} @endif |