@extends('public.layout.app') @section('title', __('front.borrow_history')) @section('body')
| {{ __('front.book') }} | {{ __('front.borrowed') }} | {{ __('front.due_date') }} | {{ __('front.returned') }} | {{ __('front.status') }} | {{ __('front.fine') }} |
|---|---|---|---|---|---|
| {{ $b->book->title ?? '' }} | {{ $b->borrowed_at->format('Y-m-d') }} | {{ $b->due_date->format('Y-m-d') }} | {{ $b->returned_at ? $b->returned_at->format('Y-m-d') : '—' }} | {{ ucfirst($b->status) }} | {{ number_format($b->fine_amount,2) }} AFN |