<!-- Tambah Keluarga Baru -->
<div class="modal fade" id="tambahTransaksi" tabindex="-1" role="dialog" aria-labelledby="tambahTransaksiTitle"
    aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable modal-lg modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="tambahTransaksiTitle">
                    Tambah Transaksi Kas
                </h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <?php echo form_open_multipart('kasir/kas/crud'); ?>
                <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>"
                    value="<?= $this->security->get_csrf_hash(); ?>" style="display: none">
                <div class="form-group">
                    <label for="status">Silahkan Pilih Arus Kas</label>
                    <select class="form-control" id="status" name="status" required>
                        <option value="MASUK">Transaksi Masuk</option>
                        <option value="KELUAR">Transaksi Keluar</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Keterangan Transaksi</label>
                    <textarea class="form-control" name="ket_transaksi" id="ket_transaksi"
                        placeholder="Masukkan Keterangan Transaksi" required></textarea>
                </div>
                <div class="form-group">
                    <label>Nominal Transaksi</label>
                    <input type="number" class="form-control" id="ttl_transaksi" name="ttl_transaksi"
                        placeholder="Masukkan nominal transaksi" required>
                </div>
                <div class="form-group">
                    <label>Nota Transaksi</label>
                    <input type="file" class="form-control" id="foto_ktp" name="foto_ktp"
                        placeholder="Nota Bukti Transaksi" required>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanTransaksiKas" name="simpanTransaksiKas"
                    class="btn btn-primary">Tambah</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>