<div class="modal fade" id="edtu<?= $row['iddetail_revisi_raxips']; ?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content" style="text-align: left;font-weight: 400;">
                <?php
                    $iddetail_revisi_raxips = $row['iddetail_revisi_raxips'];
                    $sqlu = mysqli_query($konek,"SELECT r.iddetail_revisi_raxips,u.nama_unit,r.no_unit,r.wo_unit FROM revisi_detail_raxips r INNER JOIN unit u ON r.idunit = u.idunit WHERE iddetail_revisi_raxips = '$iddetail_revisi_raxips'");
                    $du = mysqli_fetch_array($sqlu);
                ?>
                <div class="modal-header">
                    <h5 class="modal-title">Edit Data Unit <?= $du['nama_unit'] ?></h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <form action="function/function-penawaranraxi.php?nofile=<?php echo $nofile ?>" method="post">
                    <div class="modal-body">
                        <div class="mb-3">
                            <label class="form-label">UNIT</label>
                            <input type="text" class="form-control" autocomplete="off" name="iddetail_revisi_raxips" value="<?= $du['iddetail_revisi_raxips'] ?>" hidden>
                            <input type="text" class="form-control" id="unit" autocomplete="off" name="unit" value="<?= $du['nama_unit'] ?>" placeholder="Masukkan unit">
                        </div>
                        <div id="unitList"
                            class="list-group w-100"
                            style=" display:none;"></div>
                        <div class="mb-3">
                            <label class="form-label">No/Warna/Unit</label>
                            <input type="text" class="form-control" id="nounit" autocomplete="off" name="nounit" value="<?= $du['no_unit'] ?>" placeholder="Masukkan No Unit">
                        </div>
                        <div class="mb-3">
                            <label class="form-label">No Wo</label>
                            <input type="text" class="form-control" id="wo" autocomplete="off" name="wo" value="<?= $du['wo_unit'] ?>" placeholder="Masukkan No WO">
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn" name="edtunit" style="background-color: #1E93AB;color: white;">Simpan</button>
                    </div>
                </form>
            </div>
        </div>
    </div>