<!-- edit_modal.blade.php -->

<div class="modal fade" id="editlicenseModal" tabindex="-1" role="dialog" aria-labelledby="editlicenseModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content border-0">
            <div class="modal-header bg-info text-white">
                <h5 class="modal-title text-white">Modifier le projet</h5>
                <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"  ></button>
            </div>
            <div class="modal-body">
                <!-- Formulaire d'édition -->
                <form id="editlicenseForm">
                    @csrf
                    @method('PUT')

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label for="edit-payment">Sélectionnez un mode de paiement</label>
                            <select id="edit-payment" class="form-control" required>
                                <option value="CASH">CASH</option>
                                <option value="Orange - manuelle">Orange - MANUELLE</option>
                                <option value="telmob - manuelle">Telmob - MANUELLE</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label>phone</label>
                            <input type="text" id="edit-phone" class="form-control" placeholder="Phone">
                        </div>
                    </div>

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label>price</label>
                            <input type="text" id="edit-price" class="form-control" placeholder="price">
                        </div>
                    </div>

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label>expire_date</label>
                            <input type="datetime-local" id="edit-expire-date" class="form-control" placeholder="Expire Date">
                        </div>
                    </div>

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label>coupon</label>
                            <input type="text" id="edit-coupon" class="form-control" placeholder="Coupon">
                        </div>
                    </div>

                    <div class="col-md-12 mb-3">
                        <div class="note-title">
                            <label>application_id</label>
                            <input type="text" id="edit-application-id" class="form-control" placeholder="Application ID">
                        </div>
                    </div>

                    <div class="col-md-12">
                        <div class="note-description">
                            <label>Disabled</label>
                            <div class="form-check">
                                <input type="checkbox" class="form-check-input" id="edit-disabled">
                                <label class="form-check-label" for="edit-disabled">Cochez pour désactiver</label>
                            </div>
                        </div>
                    </div>

                    <button type="submit" class="btn btn-primary">Enregistrer les modifications</button>
                </form>
            </div>
        </div>
    </div>
</div>
