

<?php $__env->startSection('content'); ?>
    <!-- <div class="row">
        <div class="col-lg-12 margin-tb">
            <div class="pull-left">
                <h2>Edit Billet</h2>
            </div>
            <div class="pull-right">
                <a class="btn btn-primary" href="<?php echo e(route('billets.index')); ?>"> Back</a>
            </div>
        </div>
    </div> -->
    <div class="col-lg-12 margin-tb">
            <div class="pull-right">
                <a class="back-icon" href="<?php echo e(route('billets.index')); ?>">⬅</a>
                

            </div>
        </div>
    <?php if($errors->any()): ?>
        <div class="alert alert-danger">
            <strong>Whoops!</strong> There were some problems with your input.<br><br>
            <ul>
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><?php echo e($error); ?></li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </div>
    <?php endif; ?>

    <form action="<?php echo e(route('billets.update', $billet->id)); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PUT'); ?>

        <div class="border border-2 m-4">
        <!-- header -->
        <div class="d-flex border-bottom   border-2">
            <div class=" border-end  border-2  col-8 ">
                <div class="d-flex border-bottom  border-2 flex w-100 ">
                    <div class="col-6  p-3">
                        <small class="d-block  fw-semibold ">Siége Social</small>
                        <small class="d-block  fw-semibold ">ZAC du champ-Saint-julien</small>
                        <small class="d-block  fw-semibold ">189 Rue de la porte de trivaux</small>
                        <small class="d-block  fw-semibold ">92140 Clamart</small>
                        <small class="d-block  fw-semibold ">contact@ats-paris.com</small>
                        <small class="d-block  fw-semibold ">Tel 01 56 32 10 30 - Fax : 01 43 82 91 92</small>
                        <small class="d-block  fw-semibold ">SAS au capital de 10 000.00 Euros</small>
                        <small class="d-block  fw-semibold ">R.C.S : 905 153 995 R.C.S. Natnterre</small>
                        <small class="d-block  fw-semibold ">N° intra-communautaire : FR73514059054</small>
                    </div>
                    <div class="col-6 border-start  border-2  p-3 d-flex justify-content-center align-items-center ">
                    <img src="<?php echo e(asset('logo.png')); ?>" alt="Logo">

                       
                    </div>
                </div>
                <div class="p-3">
                    <small class="d-block fw-semibold ">Servi Occsionnel Collectif de transport public Router de Voyageurs</small>
                    <small class="d-block ">Billet Collectif valant ORDER DE MISSION : Arrété ministériel 28/12/2011 (Art, 1-2) </small>
                </div>
            </div>
            <div class=" col-4 p-3">
                <h6 class="m-0 text-uppercase ms-5 fw-semibold ps-4">N°Billet</h6>
                <input type="text" name="numero" value="<?php echo e($billet->numero); ?>" class="form-control" placeholder="N°Billet">
                <small class="ms-5 ps-4">Date</small>
                <input type="date" name="date" value="<?php echo e($billet->date); ?>" class="form-control" placeholder="Date">
                <div>
                    <h6 class="text-uppercase mt-2 fw-semibold" style="display: inline-block;">Vehicule</h6>
 
                    <select name="vehicule" id="vehicule" class="form-select">
                        <option value="" selected disabled>Select Matricule Véhicule</option>
                        <?php $__currentLoopData = $chauffeurs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chauffeur): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($chauffeur->id); ?>"><?php echo e($chauffeur->name); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>


                <small class="text-uppercase  fw-semibold ">WIFI</small>
                <div class="d-flex align-items-center ">
                    <div class="col-6">
                        <small class="text-uppercase  fw-semibold ">Chauuffeur 1 :</small>
                        <input type="text" name="chauffeur1" value="<?php echo e($billet->chauffeur1); ?>" class="form-control" placeholder="Chauffeur 1">
                    </div>
                    <div class="col-6">
                        <small>Téléphone :</small>
                        <input type="text" name="telephone1"  value="<?php echo e($billet->telephone1); ?>" class="form-control" placeholder="Telephone 1">
                    </div>
                </div>
                <small>Convoc</small>
                <div class="mt-5 d-flex align-items-center ">
                    <div class="col-6">
                        <small class="text-uppercase  fw-semibold ">Chauuffeur 2 :</small>
                        <input type="text" name="chauffeur2" value="<?php echo e($billet->chauffeur2); ?>" class="form-control" placeholder="Chauffeur 2">
                    </div>
                    <div class="col-6">
                        <small>Téléphone :</small>
                        <input type="text" name="telephone2" value="<?php echo e($billet->telephone2); ?>" class="form-control" placeholder="Telephone 2">
                    </div>
                </div>
            </div>
        </div>
        <!-- Body -->
        <div class="d-flex">
            <div class="col-6 border-end  border-2 p-3 ">
                <h6 class="m-0">Personne, Etablissement, Association ou Groupement</h6>
                <h6 class="m-0">pour le compte duquel le transport est exécuté</h6>
                <h6 class="d-block text-uppercase mt-3">Nom</h6>
                <input type="text" name="nom" value="<?php echo e($billet->nom); ?>"class="form-control" placeholder="Nom">
                <h6 class="d-block mt-3">Adresse</h6>
                <input type="text" name="adresseclient" value="<?php echo e($billet->adresseclient); ?>"class="form-control" placeholder="Adresse">
                <h6 class="d-block mt-5">N°  de Télephone :</h6>
                <input type="text" name="numero_telephone" value="<?php echo e($billet->numero_telephone); ?>" class="form-control" placeholder="Numero Telephone">
            </div>
            <div class="col-6 p-3">
                <h6 class="m-0">Motif du déplacement : Occasionnel</h6>
                <h6 class="text-decoration-underline ">Itnéraire / Service</h6>
                <input type="text" name="motif_deplacement" value="<?php echo e($billet->motif_deplacement); ?>" class="form-control" placeholder="Motif Deplacement">
                
            </div>
        </div>
        <div class="d-flex border-top  border-2 ">
            <div class="col-6 border-end  border-2 p-3 ">
                <div class="d-flex align-items-center ">
                    <div class="d-flex col-4 align-items-center gap-5  ">
                        <h6 class="m-0">Début</h6>
                        <input type="time" name="heure_debut" value="<?php echo e($billet->heure_debut); ?>" class="form-control" placeholder="Heure Debut">
                     
                    </div>
                    <div class="d-flex col-4 align-items-center gap-5  ">
                        <h6 class="m-0">Fin Prévue</h6>
                        <input type="time" name="heure_fin" value="<?php echo e($billet->heure_fin); ?>" class="form-control" placeholder="Heure Fin">
                        
                    </div>
                    <div class="d-flex col-4 align-items-center gap-5  ">
                        <h6 class="m-0">Fin Réelle</h6>
                        <span class="p-3 px-4 border border-2 "></span>
                    </div>
                </div>
                <h6 class="m-0 mt-3">Adresse</h6>
                <h6 class="m-0">R. D. V.</h6>
                <input type="text" name="adresse" value="<?php echo e($billet->adresse); ?>" class="form-control" placeholder="Adresse">
            </div>
            <div class="col-6 p-3 ">
                <div class="d-flex align-items-center ">
                    <div class="col-6 ">
                        <div class="d-flex  align-items-center gap-3 ">
                            <h6 class="m-0 col-6 text-decoration-underline ">Frais de parking :</h6>
                            <span class="border border-2 p-3"></span>
                        </div>
                        <div class="d-flex  align-items-center gap-3 mt-2">
                            <h6 class="m-0 col-6 text-decoration-underline ">Autre:</h6>
                            <span class="border border-2 p-3"></span>
                        </div>
                    </div>
                    <div class="col-6">
                        <div class="d-flex  align-items-center gap-3">
                            <h6 class="m-0 col-6 text-decoration-underline ">Frais de parking :</h6>
                            <span class="border border-2 p-3"></span>
                        </div>
                        <div class="d-flex  align-items-center gap-3 mt-2">
                            <h6 class="m-0 col-6 text-decoration-underline ">Frais de parking :</h6>
                            <span class="border border-2 p-3"></span>
                        </div>
                    </div>
                </div>
                <div class="d-flex align-items-center mt-3">
                    <div class="col-6">
                        <h6 class="text-decoration-underline ">Date du transport : du</h6>
                    </div>
                    <div class="col-6">
                        <h6>au</h6>
                    </div>
                </div>
                <h6 class="text-decoration-underline ">Prix selon facture</h6>
            </div>
        </div>
        <!-- Footer -->
        <div class="d-flex border-top  border-2 ">
            <div class="col-3 border-end border-2 ">
                <div class="d-flex">
                    <div class="col-4 px-1 py-3 border-bottom  border-end   border-2">
                        <small class="text-center d-block fw-semibold ">Kilométrage</small>
                    </div>
                    <div class="col-4 px-1 py-3 border-bottom  border-end  border-2">
                        <small class="text-center d-block fw-semibold ">Garage</small>
                    </div>
                    <div class="col-4 px-1 py-3 border-bottom border-2 ">
                        <small class="text-center d-block fw-semibold ">Client</small>
                    </div>
                </div>
                <div class="d-flex">
                    <div class="col-4 px-4 py-3 border-bottom  border-end   border-2">
                        <small class="fw-semibold ">ARRIVEE</small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom  border-end  border-2">
                        <small class=" "></small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom border-2 ">
                        <small class=" "></small>
                    </div>
                </div>
                <div class="d-flex">
                    <div class="col-4 px-4 py-3 border-bottom  border-end   border-2">
                        <small class="fw-semibold ">Début</small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom  border-end  border-2">
                        <small class=" "></small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom border-2 ">
                        <small class=" "></small>
                    </div>
                </div>
                <div class="d-flex">
                    <div class="col-4 px-4 py-3 border-bottom  border-end   border-2">
                        <small class="fw-semibold ">ENTREE <br/> FRANCE</small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom  border-end  border-2">
                        <small class=" "></small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom border-2 ">
                        <small class=" "></small>
                    </div>
                </div>
                <div class="d-flex">
                    <div class="col-4 px-4 py-3 border-bottom  border-end   border-2">
                        <small class="fw-semibold ">SORTIE <br/> FRANCE</small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom  border-end  border-2">
                        <small class=" "></small>
                    </div>
                    <div class="col-4 px-4 py-3 border-bottom border-2 ">
                        <small class=" "></small>
                    </div>
                </div>
                <div class="d-flex">
                    <div class="col-4 px-4 py-4  border-end   border-2">
                    </div>
                    <div class="col-4 px-4 py-4  border-end  border-2">
                    </div>
                    <div class="col-4 px-4 py-4 border-2 ">
                    </div>
                </div>
            </div>
            <div class="col-9">
                <div class="">
                    <div class="d-flex w-100 border-bottom border-2 ">
                        <div class="col-7 border-end border-2 p-3">
                            <div class="d-flex align-items-center ">
                                <h6 class="col-6">Nbre de Passagers prévus</h6>
                                <input type="text" name="nbr_passagers" value="<?php echo e($billet->nbr_passagers); ?>"class="form-control" placeholder="Nbr Passagers"> 
                                <!-- <span class="p-3 px-4 border border-2  "></span> -->
                            </div>
                            <div class="d-flex align-items-center mt-3">
                                <h6 class="col-6">Nbre de Passagers prévus</h6> 
                                <span class="p-3 py-1 border border-2  ">0</span>
                            </div>
                        </div>
                        <div class="col-5 p-3">
                            <h6>Plaque</h6>
                            <div class="d-flex mt-3">
                                <div class="col-6">
                                    <h6>Réf: </h6>
                                </div>
                                <div class="col-6">
                                    <h6>Obs. Guide</h6>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="d-flex border-bottom border-2">
                        <div class="col-7 d-flex border-end border-2  p-3">
                            <div class="col-4 d-flex align-items-center gap-3 ">
                                <small class="m-0 col-6 d-block fw-semibold ">HEURE FIN <br> DE SERVICE</small> 
                                <span class="p-3 border border-2  "></span>
                            </div>
                            <div class="col-4 d-flex align-items-center ">
                                <small class="m-0 col-6 d-block fw-semibold ">HEURE FIN <br> Garage</small> 
                                <span class="p-3 border border-2  "></span>
                            </div>
                            <div class="col-4 d-flex align-items-center ">
                                <small class="m-0 col-6 d-block fw-semibold ">TEMPS<br> SUPPL</small> 
                                <span class="p-3 border border-2  "></span>
                            </div>
                        </div>
                        <div class="col-5  p-3">
                            <h6 class="text-uppercase ">SigNATURE RESPONSABLE</h6>
                        </div>
                    </div>
                </div>
                <div class="p-3">
                    <p>Prix du transport selon facture (Dossier n° 193740). Les Horaires mentionnés ci dessous sont donnés a titre indicatif et en toute circonstance le conducteur de l'autocar devra respecter le code de la route et la réglementation du temps de travail. LA DIRECTION</p>
                    <h6>Numéro intracommunautaire : F23 343 306 510</h6>
                </div>
            </div>
        </div>
    
    </div>
    <div class="col-xs-12 col-sm-12 col-md-12 text-center">
            <button type="submit" class="btn btn-primary">Confirmé</button>


    </div>
    </form>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.test', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Toby\Desktop\cabs\resources\views/billets/edit.blade.php ENDPATH**/ ?>