<div class="modal fade" id="edts<?= $idbismanps_service ?>" tabindex="-1">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="text-align: left;">
            <?php
            $iddetail_bismanps = $row['iddetail_bismanps'];
            $cariusr = mysqli_query($konek, "SELECT r.idbismanps_service,r.iddetail_bismanps,j.jenis_service,r.harga_servicebisman,r.qty_service FROM uraianbismanps_service r INNER JOIN jenis_service j ON r.idjenis_service = j.idjenis_service  WHERE r.iddetail_bismanps = '$iddetail_bismanps' AND r.idbismanps_service = '$idbismanps_service'");
            $datasr = mysqli_fetch_array($cariusr);
            // echo $databr["nama_barang"];
            ?>
            <form
                action="function/function-penawaranbisman.php?iddetail=<?php echo $row['iddetail_bismanps'] ?>&nofile=<?php echo $_GET['nofile'] ?>"
                method="post">
                <div class="modal-header">
                    <h5 class="modal-title">Edit Detail Uraian Service</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
                </div>
                <?php
                $iddetail_bismanps = $row['iddetail_bismanps'];
                $sqledits = mysqli_query($konek, "SELECT * FROM uraianbismanps_service WHERE iddetail_bismanps='$iddetail_bismanps'");
                $datas = mysqli_fetch_array($sqledits);
                ?>
                <div class="modal-body">
                    <div class="row">
                        <div class="mb-3">
                            <label class="form-label">Jenis Service</label>
                            <input type="text" class="form-control jservice" id="jservice" autocomplete="off"
                                name="jservice" value="<?= $datasr["jenis_service"]; ?>">
                            <div id="serviceList" class="list-group serviceList w-100"
                                style="z-index:1000; display:none;"></div>
                        </div>
                        <input type="text" class="form-control" id="" autocomplete="off" name="idrsr"
                            value="<?= $datasr["idbismanps_service"]; ?>" hidden>
                        <div class="mb-3">
                            <label class="form-label">Harga Service</label>
                            <input type="text" class="form-control rupiah" name="hservice" autocomplete="off"
                                value="<?= $datasr["harga_servicebisman"]; ?>">
                        </div>
                        <div class="mb-3 opsie" style="display: none;" id="opsie">
                            <label class="form-label">Opsi Keterangan</label>
                            <select class="form-select pilihOpsi" name="opsie" id="pilihOpsi">
                                <option value="opsi1">Opsi 1 (Normal)</option>
                                <option value="opsi2">Opsi 2 (Garansi Tanpa Cat)</option>
                                <option value="opsi3">Opsi 3 (Nama Seal)</option>
                            </select>
                        </div>
                        <div class="kete">
                            <textarea class="form-control kete" name="kete" id="kete"
                                style="display: none;height: 100px;"></textarea>
                        </div>
                        <p id="hargae"> Harga Sebelumnya :</p>
                        <div class="mb-3">
                            <label class="form-label">QTY</label>
                            <input type="number" class="form-control" autocomplete="off" name="qty" value="<?= $datasr["qty_service"]; ?>">
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" name="edtservicetmbae" class="btn tmbdata">Simpan</button>
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Batal</button>
                </div>
            </form>

        </div>
    </div>
</div>