{% extends 'base.html' %} {% block title %}Admin - Pinjaman{% endblock %} {% block header %}
| # | Barang | Peminjam | HP | Jabatan | Mulai | Selesai | Status | Foto | Aksi |
|---|---|---|---|---|---|---|---|---|---|
| {{ l.id }} | {{ l.item.name }} | {{ l.user.name }} | {{ l.user.phone or '-' }} | {{ l.user.position or '-' }} | {{ l.start_date or '-' }} | {{ l.end_date or '-' }} | {% include 'partials/status_badge.html' %} | {% if l.request_photo %}Pengajuan{% else %}-{% endif %} | {% if l.borrow_photo %}Pinjam{% else %}-{% endif %} | {% if l.return_photo %}Kembali{% else %}-{% endif %} | {% if l.status == 'requested' %} {% endif %} {% if l.status in ['requested', 'approved'] %} {% endif %} {% if l.status == 'borrowed' %} {% endif %} |
| Belum ada pinjaman. | |||||||||