<?php
require __DIR__ . '/../layout/header.php';
require __DIR__ . '/../layout/sidebar.php';
?>

<div class="main">

    <div class="header">Edit Kas Masuk</div>

    <div class="card">

        <form action="/membership/kas-masuk-update" method="POST">

            <input type="hidden" name="id" value="<?= $data['id'] ?>">

            <div class="form-group">
                <input type="number" name="jumlah" value="<?= $data['jumlah'] ?>" required>
            </div>

            <div class="form-group">
                <input type="date" name="tanggal" value="<?= $data['tanggal'] ?>" required>
            </div>

            <div class="form-group">
                <textarea name="keterangan"><?= $data['keterangan'] ?></textarea>
            </div>

            <button class="btn btn-primary">Update</button>

        </form>

    </div>

</div>

<?php require __DIR__ . '/../layout/footer.php'; ?>