<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" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="tambahTransaksiTitle">
                    Tambah Transaksi Operasional
                </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('manager/laporan_arisan/motor_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>Nomor Laporan</label>
                    <input type="text" class="form-control" value="<?= $laporan['laporan_id'] ?>" readonly id="laporan_id" name="laporan_id" required>
                </div>
                <div class="form-group">
                    <label>Jenis Penarikan Arisan</label>
                    <select class="form-control" id="jenis_penarikan" name="jenis_penarikan" required>
                        <option value="<?= $laporan['jenis_penarikan'] ?>"><?= $laporan['jenis_penarikan'] ?></option>
                        <option value="TUNAI">TUNAI</option>
                        <option value="MOTOR">MOTOR</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Nama Jaminan</label>
                    <textarea class="form-control" name="jaminan_arisan" id="jaminan_arisan" placeholder="Masukkan nama jaminan arisan"><?= $laporan['jaminan_arisan'] ?></textarea>
                </div>
                <div class="form-group">
                    <label>Bukti Jaminan Arisan</label>
                    <input type="file" class="form-control" id="bukti_jaminan" name="bukti_jaminan" required>
                    <input type="text" class="form-control" hidden value="<?= $laporan['foto_jaminan'] ?>" id="bukti_jaminan_lama" name="bukti_jaminan_lama">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanDataLaporanBaru" name="simpanDataLaporanBaru" class="btn btn-primary">Simpan</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>