Inventaris Peminjaman
School Equipment Loan & Multi-Item Inventory Tracking System

Project at a Glance
- Problem: Tracking borrowed equipment across vocational high school rooms and laboratories on paper ledgers made it difficult to verify available item stock, manage multi-item loan approvals, and confirm equipment returns.
- Deliverables: A fullstack Laravel 7 + Blade + Bootstrap (SB Admin 2) web application managing equipment types (
Jenis Inventaris), school rooms (Ruang), inventory stock (Inventaris), user roles (Pegawai/Operator/Admin), multi-item loan transactions (Peminjaman+Detail Pinjam), approval & return workflows with stock synchronization, and loan history reports (Laporan). - Core Stack: Laravel 7, Blade, Bootstrap (SB Admin 2), MySQL.
- Practical Value: Built solo in 2020 as an SMKN 1 Jenangan PKK school project, digitizing school asset lending from request and multi-item allocation through approval, return verification, and reporting.
Project Overview
Inventaris Peminjaman (INVENTARIS SMK) is a school equipment loan and inventory tracking system built solo in 2020 for a vocational school project (PKK) at SMKN 1 Jenangan. Developed as a fullstack monolithic web application using Laravel 7, Blade, Bootstrap (SB Admin 2), and MySQL, it provides structured logistics management and multi-item loan approval workflows for school staff and facility operators.
Interface Specimen

Loan Detail View (Peminjaman / Detail Peminjaman): Displays borrower metadata (Nama Pegawai, Tanggal Pinjam, Tanggal Kembali, Status Peminjaman: Belum di ACC) paired with the multi-item Detail Pinjam table (Tambah Detail Pinjam, Nama Barang, Ruang, Jumlah) and sidebar navigation for Pengelolaan Data Logistik and Peminjaman & Laporan.
Context & The Problem
Schools frequently lend furniture, lab tools, and classroom equipment across multiple rooms (Ruang). Manual paper sign-out sheets failed to track partial/multi-item loans accurately or keep available stock counts synchronized when items were approved for checkout and later returned.
The core functional objectives were:
- Structured Logistics Master Data: Maintain categorized equipment types (
Jenis Inventaris), rooms (Ruang), item stock counts (Inventaris), and role-based user accounts (User Management). - Multi-Item Loan Transactions: Separate each loan into a header record (
Peminjaman) and one or more item line entries (Detail Pinjam) specifying exact items, rooms, and quantities borrowed. - Approval, Return & Stock Sync: Track each loan from
Belum di ACCthrough approval (ACC/Dipinjam) toDikembalikan, recordingTanggal PinjamandTanggal Kembaliwhile updating available item stock accordingly. - Printable / Exportable Reports (
Laporan): Summarize historical loan and return activity for administrative oversight.
System Architecture
Inventaris Peminjaman uses a monolithic fullstack Laravel 7 MVC architecture backed by MySQL:
+-------------------------------------------------------------------+
| Browser (Bootstrap / SB Admin 2 + Blade) |
| Logistics CRUD | Multi-Item Loan & Detail UI | Reports |
+---------------------------------+---------------------------------+
| HTTP Requests / Sessions
+---------------------------------v---------------------------------+
| Laravel 7 Fullstack Core |
| +--------------------+ +------------------+ +---------------+ |
| | Master Logistics | | Loan Header & | | Approval, | |
| | (Jenis/Ruang/Item) | | Detail Pinjam | | Stock & RBAC | |
| +---------+----------+ +--------+---------+ +-------+-------+ |
+------------|----------------------|--------------------|----------+
+----------------------+--------------------+
| Eloquent ORM
+-----------------------------------v-------------------------------+
| Primary Database (MySQL) |
| Users/Roles, Jenis, Ruang, Inventaris, Peminjaman, Details |
+-------------------------------------------------------------------+
Architectural Decisions
- Header-Detail Relational Loan Schema:
Splitting
peminjaman(borrower, loan date, return date, approval status) fromdetail_pinjam(individual items, room origin, borrowed quantity) enabled a single loan ticket to bundle multiple items cleanly without duplicating borrower metadata. - Fullstack Laravel 7 & Blade (SB Admin 2): Server-rendered Blade templates styled with Bootstrap (SB Admin 2) kept forms, validation errors, role guards, and multi-item detail tables straightforward to build and maintain as a solo student developer.
- Role-Based Access Control (RBAC):
Distinct permissions separated borrowers (
Pegawai/Peminjam) from operators/administrators (Operator/Admin) responsible for approving loans, verifying returns, and maintaining logistics master data.
Engineering Challenges & Solutions
1. Managing Multi-Item Loan Line Items & Stock Quantities
A single borrower often requests multiple items or batches of equipment in one loan, and available inventory counts must stay accurate as items are added, removed, approved, or returned.
- Solution: Implemented a parent-child
Peminjaman->Detail Pinjamworkflow in Laravel 7 & MySQL where line items validate against available item stock and link directly to the parent loan lifecycle (Belum di ACC->ACC->Dikembalikan), restoring stock quantities once items are marked returned.
2. Clean Separation Between Logistics Master Data & Historical Loans
Editing or reorganizing room or equipment records must not break historical loan records displayed on the Laporan page.
- Solution: Modeled foreign-key relationships across
jenis_inventaris,ruang,inventaris,peminjaman, anddetail_pinjamso historical reports preserve complete item, room, borrower, and date context.
Outcomes & Key Learnings
- Delivered and open-sourced a complete multi-item school equipment loan system (
inventaris-pkk-laravel7) for SMKN 1 Jenangan in 2020, which later served as the architectural foundation for its sibling project, Inventaris Perbaikan. - Developed practical early fluency in header-detail relational schema modeling, stock quantity synchronization, and Laravel MVC role-based workflows.