<h2>Form Input Barang</h2>

<!-- === FORM INPUT MANUAL === -->
<fieldset style="margin-bottom: 30px;">
    <legend><strong>Input Manual</strong></legend>
    <form action="simpan_barang_manual.php" method="post" enctype="multipart/form-data">
        <label>Part Number:</label><br>
        <input type="text" name="part_number"><br><br>

        <label>Nama Barang:</label><br>
        <input type="text" name="nama_barang" required><br><br>

        <label>Satuan:</label><br>
        <input type="text" name="satuan"><br><br>

        <label>Barcode:</label><br>
        <input type="text" name="barcode"><br><br>

        <label>Foto:</label><br>
        <input type="file" name="foto"><br><br>

        <label>Keterangan:</label><br>
        <textarea name="keterangan"></textarea><br><br>

        <button type="submit">Simpan Barang Manual</button>
    </form>
</fieldset>

<!-- === FORM UPLOAD EXCEL === -->
<fieldset>
    <legend><strong>Upload Excel (.xlsx)</strong></legend>
    <form action="proses_upload_excel.php" method="post" enctype="multipart/form-data">
        <label>Pilih file Excel:</label><br>
        <input type="file" name="file_excel" accept=".xlsx" required><br><br>
        <button type="submit">Upload Excel</button>
    </form>
</fieldset>
