[{"data":1,"prerenderedAt":430},["ShallowReactive",2],{"project-inventaris-peminjaman":3},{"id":4,"title":5,"body":6,"description":269,"extension":415,"meta":416,"navigation":425,"path":426,"seo":427,"stem":428,"__hash__":429},"content\u002Fprojects\u002Finventaris-peminjaman.md","Inventaris Peminjaman",{"type":7,"value":8,"toc":399},"minimark",[9,14,79,83,118,122,129,175,179,185,188,255,259,262,272,277,317,321,325,328,349,353,359,380,384],[10,11,13],"h2",{"id":12},"project-at-a-glance","Project at a Glance",[15,16,17,25,67,73],"ul",{},[18,19,20,24],"li",{},[21,22,23],"strong",{},"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.",[18,26,27,30,31,35,36,39,40,43,44,47,48,47,51,54,55,58,59,62,63,66],{},[21,28,29],{},"Deliverables:"," A fullstack Laravel 7 + Blade + Bootstrap (SB Admin 2) web application managing equipment types (",[32,33,34],"code",{},"Jenis Inventaris","), school rooms (",[32,37,38],{},"Ruang","), inventory stock (",[32,41,42],{},"Inventaris","), user roles (",[32,45,46],{},"Pegawai"," \u002F ",[32,49,50],{},"Operator",[32,52,53],{},"Admin","), multi-item loan transactions (",[32,56,57],{},"Peminjaman"," + ",[32,60,61],{},"Detail Pinjam","), approval & return workflows with stock synchronization, and loan history reports (",[32,64,65],{},"Laporan",").",[18,68,69,72],{},[21,70,71],{},"Core Stack:"," Laravel 7, Blade, Bootstrap (SB Admin 2), MySQL.",[18,74,75,78],{},[21,76,77],{},"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.",[10,80,82],{"id":81},"project-overview","Project Overview",[84,85,86,87,90,91,94,95,98,99,102,103,106,107,106,110,113,114,117],"p",{},"Inventaris Peminjaman (",[32,88,89],{},"INVENTARIS SMK",") is a school equipment loan and inventory tracking system built solo in ",[21,92,93],{},"2020"," for a vocational school project (",[21,96,97],{},"PKK",") at ",[21,100,101],{},"SMKN 1 Jenangan",". Developed as a fullstack monolithic web application using ",[21,104,105],{},"Laravel 7",", ",[21,108,109],{},"Blade",[21,111,112],{},"Bootstrap (SB Admin 2)",", and ",[21,115,116],{},"MySQL",", it provides structured logistics management and multi-item loan approval workflows for school staff and facility operators.",[10,119,121],{"id":120},"interface-specimen","Interface Specimen",[84,123,124],{},[125,126],"img",{"alt":127,"src":128},"Inventaris SMK Detail Peminjaman page showing borrower info, loan and return dates, approval status, and multi-item Detail Pinjam table","\u002Fimg\u002Fportfolio\u002Finventaris-peminjaman-detail.png",[84,130,131],{},[132,133,134,135,138,139,106,142,106,145,106,148,151,152,154,155,106,158,106,161,106,163,166,167,170,171,174],"em",{},"Loan Detail View (",[32,136,137],{},"Peminjaman \u002F Detail Peminjaman","): Displays borrower metadata (",[32,140,141],{},"Nama Pegawai",[32,143,144],{},"Tanggal Pinjam",[32,146,147],{},"Tanggal Kembali",[32,149,150],{},"Status Peminjaman: Belum di ACC",") paired with the multi-item ",[32,153,61],{}," table (",[32,156,157],{},"Tambah Detail Pinjam",[32,159,160],{},"Nama Barang",[32,162,38],{},[32,164,165],{},"Jumlah",") and sidebar navigation for ",[32,168,169],{},"Pengelolaan Data Logistik"," and ",[32,172,173],{},"Peminjaman & Laporan",".",[10,176,178],{"id":177},"context-the-problem","Context & The Problem",[84,180,181,182,184],{},"Schools frequently lend furniture, lab tools, and classroom equipment across multiple rooms (",[32,183,38],{},"). Manual paper sign-out sheets failed to track partial\u002Fmulti-item loans accurately or keep available stock counts synchronized when items were approved for checkout and later returned.",[84,186,187],{},"The core functional objectives were:",[15,189,190,208,220,246],{},[18,191,192,195,196,198,199,201,202,204,205,66],{},[21,193,194],{},"Structured Logistics Master Data:"," Maintain categorized equipment types (",[32,197,34],{},"), rooms (",[32,200,38],{},"), item stock counts (",[32,203,42],{},"), and role-based user accounts (",[32,206,207],{},"User Management",[18,209,210,213,214,216,217,219],{},[21,211,212],{},"Multi-Item Loan Transactions:"," Separate each loan into a header record (",[32,215,57],{},") and one or more item line entries (",[32,218,61],{},") specifying exact items, rooms, and quantities borrowed.",[18,221,222,225,226,229,230,47,233,236,237,240,241,170,243,245],{},[21,223,224],{},"Approval, Return & Stock Sync:"," Track each loan from ",[32,227,228],{},"Belum di ACC"," through approval (",[32,231,232],{},"ACC",[32,234,235],{},"Dipinjam",") to ",[32,238,239],{},"Dikembalikan",", recording ",[32,242,144],{},[32,244,147],{}," while updating available item stock accordingly.",[18,247,248,254],{},[21,249,250,251,253],{},"Printable \u002F Exportable Reports (",[32,252,65],{},"):"," Summarize historical loan and return activity for administrative oversight.",[10,256,258],{"id":257},"system-architecture","System Architecture",[84,260,261],{},"Inventaris Peminjaman uses a monolithic fullstack Laravel 7 MVC architecture backed by MySQL:",[263,264,270],"pre",{"className":265,"code":267,"language":268,"meta":269},[266],"language-text","+-------------------------------------------------------------------+\n|             Browser (Bootstrap \u002F SB Admin 2 + Blade)              |\n|    Logistics CRUD  |  Multi-Item Loan & Detail UI  |  Reports     |\n+---------------------------------+---------------------------------+\n                                  | HTTP Requests \u002F Sessions\n+---------------------------------v---------------------------------+\n|                      Laravel 7 Fullstack Core                     |\n|  +--------------------+  +------------------+  +---------------+  |\n|  | Master Logistics   |  | Loan Header &    |  | Approval,     |  |\n|  | (Jenis\u002FRuang\u002FItem) |  | Detail Pinjam    |  | Stock & RBAC  |  |\n|  +---------+----------+  +--------+---------+  +-------+-------+  |\n+------------|----------------------|--------------------|----------+\n             +----------------------+--------------------+\n                                    | Eloquent ORM\n+-----------------------------------v-------------------------------+\n|                      Primary Database (MySQL)                     |\n|    Users\u002FRoles, Jenis, Ruang, Inventaris, Peminjaman, Details     |\n+-------------------------------------------------------------------+\n","text","",[32,271,267],{"__ignoreMap":269},[273,274,276],"h3",{"id":275},"architectural-decisions","Architectural Decisions",[278,279,280,294,300],"ol",{},[18,281,282,285,286,289,290,293],{},[21,283,284],{},"Header-Detail Relational Loan Schema:","\nSplitting ",[32,287,288],{},"peminjaman"," (borrower, loan date, return date, approval status) from ",[32,291,292],{},"detail_pinjam"," (individual items, room origin, borrowed quantity) enabled a single loan ticket to bundle multiple items cleanly without duplicating borrower metadata.",[18,295,296,299],{},[21,297,298],{},"Fullstack Laravel 7 & Blade (SB Admin 2):","\nServer-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.",[18,301,302,305,306,47,308,311,312,47,314,316],{},[21,303,304],{},"Role-Based Access Control (RBAC):","\nDistinct permissions separated borrowers (",[32,307,46],{},[32,309,310],{},"Peminjam",") from operators\u002Fadministrators (",[32,313,50],{},[32,315,53],{},") responsible for approving loans, verifying returns, and maintaining logistics master data.",[10,318,320],{"id":319},"engineering-challenges-solutions","Engineering Challenges & Solutions",[273,322,324],{"id":323},"_1-managing-multi-item-loan-line-items-stock-quantities","1. Managing Multi-Item Loan Line Items & Stock Quantities",[84,326,327],{},"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.",[15,329,330],{},[18,331,332,335,336,338,339,341,342,338,344,338,346,348],{},[21,333,334],{},"Solution:"," Implemented a parent-child ",[32,337,57],{}," -> ",[32,340,61],{}," workflow in Laravel 7 & MySQL where line items validate against available item stock and link directly to the parent loan lifecycle (",[32,343,228],{},[32,345,232],{},[32,347,239],{},"), restoring stock quantities once items are marked returned.",[273,350,352],{"id":351},"_2-clean-separation-between-logistics-master-data-historical-loans","2. Clean Separation Between Logistics Master Data & Historical Loans",[84,354,355,356,358],{},"Editing or reorganizing room or equipment records must not break historical loan records displayed on the ",[32,357,65],{}," page.",[15,360,361],{},[18,362,363,365,366,106,369,106,372,106,375,113,377,379],{},[21,364,334],{}," Modeled foreign-key relationships across ",[32,367,368],{},"jenis_inventaris",[32,370,371],{},"ruang",[32,373,374],{},"inventaris",[32,376,288],{},[32,378,292],{}," so historical reports preserve complete item, room, borrower, and date context.",[10,381,383],{"id":382},"outcomes-key-learnings","Outcomes & Key Learnings",[15,385,386,396],{},[18,387,388,389,392,393,174],{},"Delivered and open-sourced a complete multi-item school equipment loan system (",[32,390,391],{},"inventaris-pkk-laravel7",") for SMKN 1 Jenangan in 2020, which later served as the architectural foundation for its sibling project, ",[21,394,395],{},"Inventaris Perbaikan",[18,397,398],{},"Developed practical early fluency in header-detail relational schema modeling, stock quantity synchronization, and Laravel MVC role-based workflows.",{"title":269,"searchDepth":400,"depth":400,"links":401},2,[402,403,404,405,406,410,414],{"id":12,"depth":400,"text":13},{"id":81,"depth":400,"text":82},{"id":120,"depth":400,"text":121},{"id":177,"depth":400,"text":178},{"id":257,"depth":400,"text":258,"children":407},[408],{"id":275,"depth":409,"text":276},3,{"id":319,"depth":400,"text":320,"children":411},[412,413],{"id":323,"depth":409,"text":324},{"id":351,"depth":409,"text":352},{"id":382,"depth":400,"text":383},"md",{"subtitle":417,"slug":418,"client":419,"year":420,"role":421,"category":422,"technologies":423},"School Equipment Loan & Multi-Item Inventory Tracking System","inventaris-peminjaman","SMKN 1 Jenangan (PKK \u002F School Project)",2020,"Solo Fullstack Developer","Business & Enterprise Systems",[105,109,424,116],"Bootstrap",true,"\u002Fprojects\u002Finventaris-peminjaman",{"title":5,"description":269},"projects\u002Finventaris-peminjaman","-e-mgkSqjblQ5BSwI8SKpozhDJbc5Yg1WgbdVefzBWU",1796006984051]