@extends('layout')
@section('title','Liste de tous les employés ')
@section('description','Liste de tous les employés')
@section('content')
			<br/>
          <div class="section-body">
		  <br/>
			<div class="row">
              <div class="col-12">
                <div class="card">
                  <div class="card-header">
                    <h4>Liste de tous les employés</h4>
                  </div>
                  <div class="card-body">
                    <div class="table-responsive">
                      <table class="table table-striped" id="table-1">
                        <thead>
                          <tr>
                            <th class="text-center"> N° </th>
                            <th class="text-center">Nom</th>
                            <th class="text-center">Prénoms</th>
							<th class="text-center">Téléphone</th>
                            <th class="text-center">Fonction</th>
                            <th>Action</th>
                          </tr>
                        </thead>
                        <tbody>
						@foreach($employe as $employes)
                          <tr>
							<td style="text-align:center;">{{$employes->matricule}}</td>
							<td style="text-align:center;">{{$employes->nom}}</td>
							<td style="text-align:center;">{{$employes->prenoms}}</td>
							<td style="text-align:center;">{{$employes->telephone}}</td>
							<td style="text-align:center;">{{$employes->fonction}}</td>
							<td style="text-align:center;">
								<a type="button" href="#" class="btn btn-icon btn-info"><i class="fas fa-money" aria-hidden="true"></i> Générer salaire</a>
							</td>
                          </tr>
						  @endforeach
                        </tbody>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
		<div class="modal fade bd-example-modal-sm" id="Validermodal">
			<div class="modal-dialog modal-sm">
				<div class="modal-content">
					<div class="modal-body">
						<p>Voulez-vous valider la facture ?</p>
					</div>
					<div class="modal-footer" style="background-color:#ffffff" id="valider">

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

        <div class="modal fade bd-example-modal-sm" id="Annulermodal">
			<div class="modal-dialog modal-sm">
				<div class="modal-content">
					<div class="modal-body">
						<p>Etes-vous sûr d'annuler cette facture ?</p>
					</div>
					<div class="modal-footer" style="background-color:#ffffff" id="annuler">

					</div>
				</div>
			</div>
		</div>
		<div class="modal fade bd-example-modal-sm" id="Supprimermodal">
			<div class="modal-dialog modal-sm">
				<div class="modal-content">
					<div class="modal-body">
						<p>Etes-vous sûr de supprimer cette facture ?</p>
					</div>
					<div class="modal-footer" style="background-color:#ffffff" id="supprimer">

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

@endsection