diff --git a/app/Views/books/index.php b/app/Views/books/index.php index b233dd9..7af5b75 100644 --- a/app/Views/books/index.php +++ b/app/Views/books/index.php @@ -47,65 +47,67 @@ -
# | -Sampul | -Judul | -Kategori | -Rak | -Jumlah | -Aksi | -
---|
Tidak ada data | +# | +Sampul | +Judul | +Kategori | +Rak | +Jumlah | +Aksi | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= $i++; ?> | -
- ">
-
-
-
-
-
- |
-
- ">
- = "{$book['title']} ({$book['year']})"; ?> -= "Author: {$book['author']}"; ?> - - |
- = $book['category']; ?> | -= $book['rack']; ?> | -= $book['quantity']; ?> | -- " class="d-block btn btn-primary w-100 mb-2"> - - Edit - - - | -
= "{$book['title']} ({$book['year']})"; ?>
+= "Author: {$book['author']}"; ?>
+ +# | -Kategori | -Jumlah buku | -Aksi | -
---|
= $i++; ?> | -- " class="text-primary-emphasis text-decoration-underline"> - = $category['name']; ?> - - | -= $bookCountInCategories[$key]; ?> | -- - | +# | +Kategori | +Jumlah buku | +Aksi |
---|
# | -Nama peminjam | -Judul buku | -Tgl pengembalian | -Denda dibayar | -Jumlah denda | -Aksi | -
---|
Tidak ada data | +# | +Nama peminjam | +Judul buku | +Tgl pengembalian | +Denda dibayar | +Jumlah denda | +Aksi | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= $i++; ?> | -
- " class="text-decoration-underline">
- - = "{$fine['first_name']} {$fine['last_name']}"; ?> - - - |
-
- = "{$fine['title']} ({$fine['year']})"; ?> -= "Jumlah: {$fine['quantity']}"; ?> - |
-
- = $loanReturnDate->toLocalizedString('dd/MM/y'); ?> -= "Terlambat: " . abs($loanReturnDate->difference($loanDueDate)->getDays()) . " Hari"; ?> - |
-
- Rp= $fine['amount_paid'] ?? 0; ?>- = $fine['fine_amount']) : ?> - Lunas - - |
-
- Rp= $fine['fine_amount']; ?>- |
- - - " class="d-block btn btn-warning w-100 mb-2"> - Bayar + | |||||||
Tidak ada data | +|||||||||||||
= $i++; ?> | +
+ " class="text-decoration-underline">
+ + = "{$fine['first_name']} {$fine['last_name']}"; ?> + - - " class="d-block btn btn-primary w-100 mb-2"> - Detail - - |
-
= "{$fine['title']} ({$fine['year']})"; ?>
+= "Jumlah: {$fine['quantity']}"; ?>
+= $loanReturnDate->toLocalizedString('dd/MM/y'); ?>
+= "Terlambat: " . abs($loanReturnDate->difference($loanDueDate)->getDays()) . " Hari"; ?>
+= $msg ?? ''; ?>
# | -Nama peminjam | -Judul buku | -Jumlah | -Tgl kembali | -Denda dibayar | -Jumlah denda | -Aksi | -
---|
= $i++; ?> | -- = $return['first_name'] . ' ' . $return['last_name']; ?> - | -
- = "{$return['title']} ({$return['year']})"; ?> -= "Author: {$return['author']}"; ?> - |
- = $return['quantity']; ?> | -
- = Time::parse($return['return_date'])->toLocalizedString('dd/MM/y'); ?> - = Time::parse($return['return_date'])->toLocalizedString('HH:mm:ss'); ?> - |
-
- Rp= $return['amount_paid'] ?? 0; ?>- = $return['fine_amount']) : ?> - Lunas - - |
-
- Rp= $return['fine_amount']; ?>- |
- - = $return['fine_amount']) : ?> - - - " class="btn btn-primary mb-2"> - - Pilih - - - | +# | +Nama peminjam | +Judul buku | +Jumlah | +Tgl kembali | +Denda dibayar | +Jumlah denda | +Aksi |
---|
= "{$return['title']} ({$return['year']})"; ?>
+= "Author: {$return['author']}"; ?>
+= $msg ?? ''; ?>
# | -Sampul | -Judul | -Penerbit | -Kategori | -Rak | -Stok tersisa | -Aksi | -||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= $i++; ?> | -
-
-
+
|
+