@extends('layout')

@section('contenu')
    @include('/partials/modalModifierPayement')
    @include('/partials/modalModifierNote')
    @include('/partials/modalAjouterFrais')
    @include('/partials/modalAjouterNote')
    @include('/partials/modalConfirmSuppEleve')
    @include('/partials/modalConfirmSuppNote')
    @include('/partials/modalConfirmSuppPayement')
    @include('/partials/modalConfirmSuppAbsence')
    @include('/partials/modalCommingSoon')
    @include('/partials/modalConfirmReinPassword')
    @include('/partials/modalReinscrire')
    <section
        style="background-image: url('/img/login.png'); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; min-height: 94.8vh;"
        class="section mt-0 p-0 columns mx-0 mb-0 is-centered">
        <article class="panel is-info column is-8">
            <div class="box is-flex is-justify-content-center is-justify-content-space-around is-flex-wrap-wrap">
                @if ($evaluations1->count() != 0)
                    <div class="box mb-4">
                        <canvas id="chartEleve1"></canvas>
                    </div>
                @endif
                @if ($evaluations2->count() != 0)
                    <div class="box mb-4">
                        <canvas id="chartEleve2"></canvas>
                    </div>
                @endif
                @if ($evaluations3->count() != 0)
                    <div class="box mb-4">
                        <canvas id="chartEleve3"></canvas>
                    </div>
                @endif
            </div>
            <p class="panel-heading is-flex is-justify-content-space-between">
                <span>{{ $eleve->prenom }} {{ $eleve->nom }}<br>
                    <span class="is-size-6">{{ $eleve->matricule }}</span></span>
                @if (auth()->user()->role == 'administration')
                    <button class="button is-rounded is-info is-light"
                        onclick="openForm('modalReinPassword'); get_classe_slug('{{ $classe->slug }}'); get_eleve_slug('{{ $eleve->slug }}')">
                        <span class="icon">
                            <i class="fas fa-key"></i>
                        </span>
                        <span>Restaurer accès</span>
                    </button>
                @endif
            </p>
            <p class="panel-tabs has-background-white is-flex is-justify-content-space-around">
                <a title="Informations" id="default" onclick="openContent(event, 'info')"
                    class="is-size-7-mobile tab icon-text">
                    <span class="icon">
                        <i class="fas fa-info-circle"></i>
                    </span>
                    <span class="is-hidden-touch">Informations</span>
                </a>
                <a title="Notes d'évaluation" onclick="openContent(event, 'notes')" class="is-size-7-touch tab icon-text">
                    <span class="icon">
                        <i class="fas fa-edit"></i>
                    </span>
                    <span class="is-hidden-touch">Notes d'évaluations</span>
                </a>
                <a title="Frais payés" onclick="openContent(event, 'payes')" class="is-size-7-touch tab icon-text">
                    <span class="icon">
                        <i class="fas fa-money-check-alt"></i>
                    </span>
                    <span class="is-hidden-touch">Frais payés</span>
                </a>
                <a title="Frais impayés" onclick="openContent(event, 'impayes')" class="is-size-7-touch tab icon-text">
                    <span class="icon">
                        <i class="fas fa-money-check"></i>
                    </span>
                    <span class="is-hidden-touch">Frais impayés</span>
                </a>
                <a title="Absences/Retards" onclick="openContent(event, 'retard')" class="is-size-7-touch tab icon-text">
                    <span class="icon">
                        <i class="fas fa-clock"></i>
                    </span>
                    <span class="is-hidden-touch">Absences</span>
                </a>
            </p>
            <div id="info" class="panel-block is-justify-content-center" style="background: #E4E9F2; display: none">
                <div class="content column is-10">
                    <div class="is-flex is-justify-content-center mb-5">
                        <figure class="image is-128x128">
                            @if ($eleve->photo == null)
                                <img class="is-rounded" src="https://bulma.io/assets/images/placeholders/128x128.png">
                            @else
                                <img class="is-rounded" src="{{ $eleve->photo }}">
                            @endif
                        </figure>
                    </div>
                    @if (auth()->user()->role == 'administration')
                        <div class="columns is-centered">
                            <form method="post"
                                action="/accueil/classe/{{ $classe->slug }}/eleve/{{ $eleve->id }}/ajouterProfil"
                                enctype="multipart/form-data" id="form_profil">
                                @csrf
                                <div id="input-profil" class="file has-addons">
                                    <label class="file-label">
                                        <input id="profil_id" accept="image/jpg, image/jpeg" class="file-input"
                                            type="file" name="profil" class="@error('profil') is-invalid @enderror">
                                        <span class="file-cta">
                                            <span class="file-icon">
                                                <i class="fas fa-upload"></i>
                                            </span>
                                            <span class="file-label">
                                                Changer photo
                                            </span>
                                        </span>
                                    </label>
                                    @error('profil')
                                        <div class="help is-danger error error_profil">{{ $message }}</div>
                                    @enderror
                                    <button id="btn_submit_profil" class="button is-info"
                                        onclick="get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_classe_slug('{{ $classe->slug }}');">Valider</button>
                                </div>
                                <div class="help profil_file_name">Aucun fichier choisi</div>
                            </form>
                        </div>
                    @endif
                    <form id="info_eleve">
                        @csrf
                        <div class="columns mb-0">
                            <div class="field column">
                                <label class="label title is-6" for="prenom">Prénom</label>
                                <p class="control">
                                    <input id="prenom"
                                        class="input is-info is-rounded
                                @error('prenom') is-invalid @enderror"
                                        type="text" placeholder="Papa Abdou" name="prenom" required
                                        value="{{ $eleve->prenom }}" disabled />
                                </p>
                                @error('prenom')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="nom">Nom</label>
                                <p class="control">
                                    <input id="nom"
                                        class="input is-info is-rounded
                                @error('nom') is-invalid @enderror"
                                        type="text" placeholder="Mbodji" name="nom" required
                                        value="{{ $eleve->nom }}" disabled />
                                </p>
                                @error('nom')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                        </div>
                        <div class="columns mb-0">
                            <div class="field column">
                                <label class="label title is-6" for="date_naissance">Date de naissance</label>
                                <p class="control">
                                    <input id="date_naissance"
                                        class="input is-info is-rounded
                                @error('date_naissance') is-invalid @enderror"
                                        type="date" placeholder="01/01/2000" name="date_naissance" required
                                        value="{{ $eleve->date_naissance }}" disabled />
                                </p>
                                @error('date_naissance')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="lieu_naissance">Lieu de naissance</label>
                                <p class="control">
                                    <input id="lieu_naissance"
                                        class="input is-info is-rounded
                                @error('lieu_naissance') is-invalid @enderror"
                                        type="text" placeholder="Dakar" name="lieu_naissance" required
                                        value="{{ $eleve->lieu_naissance }}" disabled />
                                </p>
                                @error('lieu_naissance')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                        </div>
                        <div class="field">
                            <label class="label title is-6" for="adresse">Adresse</label>
                            <p class="control">
                                <input id="adresse"
                                    class="input is-info is-rounded
                                @error('adresse') is-invalid @enderror"
                                    type="text" placeholder="Cambérène Quartier Deggo" name="adresse" required
                                    value="{{ $eleve->adresse }}" disabled />
                            </p>
                            @error('adresse')
                                <div class="help is-danger error">{{ $message }}</div>
                            @enderror
                        </div>
                        <div class="columns mb-0">
                            <div class="field column">
                                <label class="label title is-6" for="tuteur">Prénom et Nom du tuteur</label>
                                <p class="control">
                                    <input id="tuteur"
                                        class="input is-info is-rounded
                                @error('tuteur') is-invalid @enderror"
                                        type="text" placeholder="Abdoulaye Mbodji" name="tuteur" required
                                        value="{{ $eleve->tuteur }}" disabled />
                                </p>
                                @error('tuteur')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="tel_tuteur">Téléphone du tuteur</label>
                                <p class="control">
                                    <input id="tel_tuteur"
                                        class="input input-phone is-info is-rounded
                                @error('tel_tuteur') is-invalid @enderror"
                                        type="tel" placeholder="761412278" name="tel_tuteur" required
                                        value="{{ $eleve->tel_tuteur }}" disabled />
                                </p>
                                @error('tel_tuteur')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="autre_tel">Autre Téléphone</label>
                                <p class="control">
                                    <input id="autre_tel"
                                        class="input input-phone is-info is-rounded
                                @error('autre_tel') is-invalid @enderror"
                                        type="tel" placeholder="761412278" name="autre_tel" required
                                        value="{{ $eleve->autre_tel }}" disabled />
                                </p>
                                @error('autre_tel')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                        </div>
                        <div class="columns mb-0">
                            <div class="field column">
                                <label class="label title is-6" for="date_inscription">Date d'inscription</label>
                                <p class="control">
                                    <input id="date_inscription"
                                        class="input is-info is-rounded
                                @error('date_inscription') is-invalid @enderror"
                                        type="date" placeholder="01/01/2000" name="date_incription" required
                                        value="{{ date('Y-m-d', strtotime($eleve->created_at)) }}" disabled />
                                </p>
                                @error('date_inscription')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="classe">Classe</label>
                                <div class="control">
                                    <div class="select is-info is-rounded">
                                        <select id="classe" name="classe"
                                            class="@error('classe') is-invalid @enderror" required disabled>
                                            <option value="{{ $classe->id }}">{{ $classe->libelle }}</option>
                                            @foreach ($classes as $autreClasse)
                                                @if ($classe->id != $autreClasse->id)
                                                    <option value="{{ $autreClasse->id }}">{{ $autreClasse->libelle }}
                                                    </option>
                                                @endif
                                            @endforeach
                                        </select>
                                    </div>
                                </div>
                                @error('classe')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                        </div>
                        <div class="columns mb-0">
                            <div class="field column">
                                <label class="label title is-6" for="inscription">Montant de l'inscription</label>
                                <p class="control">
                                    <input id="inscription"
                                        class="input input-numeral is-info is-rounded
                                @error('inscription') is-invalid @enderror"
                                        type="text" placeholder="Inscription de l'élève" name="inscription" required
                                        value="{{ $eleve->inscription }}" disabled />
                                </p>
                                @error('inscription')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                            <div class="field column">
                                <label class="label title is-6" for="mensualite">Montant de la mensualité</label>
                                <p class="control">
                                    <input id="mensualite"
                                        class="input input-numeral is-info is-rounded
                                @error('mensualite') is-invalid @enderror"
                                        type="text" placeholder="Mensualité de l'élève" name="mensualite" required
                                        value="{{ $eleve->mensualite }}" disabled />
                                </p>
                                @error('mensualite')
                                    <div class="help is-danger error">{{ $message }}</div>
                                @enderror
                            </div>
                        </div>
                        @if (auth()->user()->role == 'administration')
                            <div class="buttons is-centered">
                                @if (auth()->user()->administrateur == 1)
                                    <button type="button" id="" class="button is-info is-light"
                                        onclick="openForm('modalSuppEleve')">Supprimer</button>
                                @endif
                                <button id="btn_modif" type="button" class="button is-info is-light"
                                    onclick="modifier('info_eleve')">Modifier</button>
                                <button id="btn_enr" class="button is-info is-light" disabled>Enregistrer</button>
                                <button id="btn_reinscr" type="button" class="button is-info is-light"
                                    onclick="openForm('modal_reinscrire');">Réinscrire</button>
                            </div>
                        @endif
                    </form>
                </div>
            </div>
            <div id="notes" class="panel-block is-justify-content-center" style="background: #E4E9F2">
                <div class="content column is-10">
                    @if (auth()->user()->role == 'administration')
                        <button type="button" class="button is-info is-rounded mb-3"
                            onclick="get_eleve_slug('{{ $eleve->slug }}'); get_classe_slug('{{ $classe->slug }}'); openForm('modal_ajouter_note'); getClasseLibelle('{{ $classe->libelle }}'); get_eleve_id('{{ $eleve->id }}')">Ajouter
                            une note</button>
                    @endif
                    @if (count($eleve->notes->where('promo', auth()->user()->current_year)) == 0)
                        <p class="title is-6 has-text-centered">Pas encore de note</p>
                    @else
                        @foreach ($eleve->notes->where('promo', auth()->user()->current_year)->sortByDesc('id') as $note)
                            <div class="content box has-background-light">
                                @foreach ($evaluations as $evaluation)
                                    @if ($evaluation->id == $note->evaluation_id)
                                        @foreach ($matieres as $matiere)
                                            @if ($matiere->id == $evaluation->matiere_id)
                                                <div class="title is-5 mb-0">{{ $note->type }}
                                                    {{ $matiere->libelle }}
                                                </div>
                                                @if ($classe->type == 'Secondaire')
                                                    <div><span class="has-text-weight-bold">Semestre/Trimestre:</span>
                                                        {{ $evaluation->semestre }}</div>
                                                @else
                                                    <div><span class="has-text-weight-bold">Trimestre:</span>
                                                        {{ $evaluation->semestre }}</div>
                                                @endif
                                            @endif
                                        @endforeach
                                    @endif
                                @endforeach
                                <div><span class="has-text-weight-bold">Date:</span>
                                    {{ date('d/m/Y', strtotime($note->date)) }}</div>
                                @if ($classe->type == 'Primaire')
                                    @foreach ($evaluations as $evaluation)
                                        @if ($evaluation->id == $note->evaluation_id)
                                            @foreach ($matieres as $matiere)
                                                @if ($matiere->id == $evaluation->matiere_id)
                                                    <div
                                                        class="{{ ($note->valeur * 10) / $matiere->coefficient >= 5 ? 'has-text-success' : 'has-text-danger' }}">
                                                @endif
                                            @endforeach
                                        @endif
                                    @endforeach
                                @else
                                    <div class="{{ $note->valeur >= 10 ? 'has-text-success' : 'has-text-danger' }}">
                                @endif
                                <span class="has-text-weight-bold">Note Obtenue:</span>
                                @if ($classe->type == 'Primaire')
                                    @foreach ($evaluations as $evaluation)
                                        @if ($evaluation->id == $note->evaluation_id)
                                            @foreach ($matieres as $matiere)
                                                @if ($matiere->id == $evaluation->matiere_id)
                                                    {{ $note->valeur }}/{{ $matiere->coefficient }}
                                                @endif
                                            @endforeach
                                        @endif
                                    @endforeach
                                @else
                                    {{ $note->valeur }}/20
                                @endif
                            </div>
                            @if (auth()->user()->administrateur == 1)
                                <div class="buttons">
                                    <button class="button is-info is-light"
                                        onclick="get_eleve_slug('{{ $eleve->slug }}'); get_classe_slug('{{ $classe->slug }}'); get_note_id({{ $note->id }}); getClasseLibelle('{{ $classe->libelle }}'); get_eleve_id({{ $eleve->id }}); openForm('modalSuppNote')">Supprimer</button>
                                    <button class="button is-info is-light btn_modifier_note"
                                        onclick="get_eleve_slug('{{ $eleve->slug }}'); get_classe_slug('{{ $classe->slug }}'); get_note_id({{ $note->id }}); openForm('modal_modifier_note'); get_note_value({{ $note->valeur }}); get_note_type('{{ $note->type }}'); getClasseLibelle('{{ $classe->libelle }}'); get_eleve_id({{ $eleve->id }}); '{{ $classe->type }}' == 'Primaire' ? getMax({{ $evaluations->find($note->evaluation_id) != null ?? $matieres->find($evaluations->find($note->evaluation_id)->matiere_id)->coefficient }}) : ''">Modifier</button>
                                </div>
                            @endif
                </div>
                @endforeach
                @endif
            </div>
            </div>
            <div id="payes" class="panel-block is-justify-content-center" style="background: #E4E9F2">
                <div class="content column is-10">
                    @if (auth()->user()->role == 'administration' || auth()->user()->role == 'eleve')
                        @if (auth()->user()->role == 'administration')
                            <button id="" type="button" class="button is-info is-rounded mb-3"
                                onclick="get_eleve_slug('{{ $eleve->slug }}'); openForm('modal_ajouter_frais')">Ajouter
                                frais
                                supplémentaires</button>
                        @endif
                        @if (count($payes) == 0)
                            <p class="title is-6 has-text-centered">Aucun frais payé</p>
                        @else
                            @foreach (collect($payes)->sortByDesc('updated_at') as $paye)
                                <div class="content box has-background-light">
                                    @if ($paye->type == 'Inscription')
                                        <div class="title is-4 mb-0">{{ $paye->type }}</div>
                                    @elseif($paye->type == 'Mensualité')
                                        <div class="title is-4 mb-0">Mensualité {{ $paye->mois }}</div>
                                    @else
                                        <div class="title is-4 mb-0">{{ $paye->type }}</div>
                                    @endif
                                    <div class="has-text-success">Versé le
                                        {{ date('d/m/Y', strtotime($paye->updated_at)) }}
                                    </div>
                                    <div class="somme"><span class="has-text-weight-bold">Somme versée:</span> <span
                                            class="somme_versee">{{ number_format($paye->montant, 0, ',', ' ') }}</span>F
                                        CFA</div>
                                    <div class="buttons">
                                        @if (auth()->user()->administrateur == 1)
                                            <a type="button" class="button is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_id_payement({{ $paye->id }}); get_classe_slug('{{ $classe->slug }}'); openForm('modalSuppPayement')">Supprimer</a>
                                            <a type="button" class="button is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); openForm('modal_modifier_payement'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_classe_slug('{{ $classe->slug }}'); get_id_payement({{ $paye->id }}); get_montant_payement({{ $paye->montant }}); get_type_payement('{{ $paye->type }}')">Modifier</a>
                                            <a type="button" class="button btn_impaye is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_id_payement({{ $paye->id }}); get_classe_slug('{{ $classe->slug }}');">Frais
                                                impayé</a>
                                        @endif
                                        @if (auth()->user()->role == 'administration')
                                            <a target="_blank" type="button" class="button btn_recu is-info is-light"
                                                href="/recu/{{ $classe->slug }}/{{ $eleve->slug }}/{{ $paye->id }}">Reçu</a>
                                        @endif
                                    </div>
                                </div>
                            @endforeach
                        @endif
                    @else
                        <p class="title is-6 has-text-centered">Accès interdit</p>
                    @endif
                </div>
            </div>
            <div id="impayes" class="panel-block is-justify-content-center" style="background: #E4E9F2">
                <div class="content column is-10">
                    @if (auth()->user()->role == 'administration' || auth()->user()->role == 'eleve')
                        @if (count($impayes) == 0)
                            <p class="title is-6 has-text-centered">Aucun frais impayé</p>
                        @else
                            @foreach ($impayes as $impaye)
                                <div class="content box has-background-light">
                                    @if ($impaye->type == 'Inscription')
                                        <div class="title is-4 mb-0">{{ $impaye->type }}</div>
                                    @elseif($impaye->type == 'Mensualité')
                                        <div class="title is-4 mb-0">Mensualité {{ $impaye->mois }}</div>
                                    @else
                                        <div class="title is-4 mb-0">{{ $impaye->type }}</div>
                                    @endif
                                    <div class="somme"><span class="has-text-weight-bold">Somme à verser:</span>
                                        <span
                                            class="somme_versee">{{ number_format($impaye->montant, 0, ',', ' ') }}</span>F
                                        CFA
                                    </div>
                                    <div class="buttons">
                                        @if (auth()->user()->administrateur == 1)
                                            <a type="button" class="button is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_id_payement({{ $impaye->id }}); get_classe_slug('{{ $classe->slug }}'); openForm('modalSuppPayement')">Supprimer</a>
                                            <a type="button" class="button is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); openForm('modal_modifier_payement'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_id_payement({{ $impaye->id }}); get_classe_slug('{{ $classe->slug }}'); get_montant_payement({{ $impaye->montant }}); get_type_payement('{{ addslashes($impaye->type) }}')">Modifier</a>
                                        @endif
                                        @if (auth()->user()->role == 'administration')
                                            <a type="button" class="button btn_paye is-info is-light"
                                                onclick="get_eleve_slug('{{ $eleve->slug }}'); get_id_eleve({{ $eleve->id }}); get_libelle_classe('{{ $classe->libelle }}'); get_id_payement({{ $impaye->id }}); get_classe_slug('{{ $classe->slug }}');">Frais
                                                payé</a>
                                        @endif
                                        @if (auth()->user()->role == 'eleve')
                                            <a type="button" class="button is-info is-light"
                                                href="/upschool/eleveDashboard/{{ $eleve->slug }}/{{ $impaye->id }}/pay">Payer
                                                ce frais</a>
                                        @endif
                                    </div>
                                </div>
                            @endforeach
                        @endif
                    @else
                        <p class="title is-6 has-text-centered">Accès interdit</p>
                    @endif
                </div>
            </div>
            <div id="retard" class="panel-block is-justify-content-center" style="background: #E4E9F2">
                <div class="content column is-10">
                    @if (count($eleve->absences->where('promo', auth()->user()->current_year)) == 0)
                        <p class="title is-6 has-text-centered">Aucune absence</p>
                    @else
                        @foreach ($eleve->absences->where('promo', auth()->user()->current_year)->sortByDesc('id') as $absence)
                            @foreach ($cours as $unCours)
                                @if ($unCours->id == $absence->cours_id)
                                    <div class="content box has-background-light">
                                        <div class="has-text-weight-bold has-text-danger">
                                            <span class="has-text-weight-bold">Date:</span>
                                            {{ date('d/m/Y', strtotime($unCours->created_at)) }}
                                        </div>
                                        @foreach ($matieres as $matiere)
                                            @if ($matiere->id == $unCours->matiere_id)
                                                <div><span class="has-text-weight-bold">Matière:</span>
                                                    {{ $matiere->libelle }}</div>
                                            @endif
                                        @endforeach
                                        <div><span class="has-text-weight-bold">Heure de début:</span>
                                            {{ $unCours->debut }}
                                        </div>
                                        <div><span class="has-text-weight-bold">Heure de fin:</span>
                                            {{ $unCours->fin }}
                                        </div>
                                        @if (auth()->user()->administrateur == 1)
                                            <div class="mt-2">
                                                <a type="button" class="button is-info is-light"
                                                    onclick="get_eleve_slug('{{ $eleve->slug }}'); get_classe_slug('{{ $classe->slug }}'); getClasseLibelle('{{ $classe->libelle }}'); getEleveId({{ $eleve->id }}); getAbsenceId({{ $absence->id }}); openForm('modalSuppAbsence')">Supprimer</a>
                                            </div>
                                        @endif
                                    </div>
                                @endif
                            @endforeach
                        @endforeach
                    @endif
                </div>
            </div>
        </article>
    </section>
    @include('/partials/eleveJs')
    @include('/partials/absenceJs')
    @include('/partials/notesJs')
    @include('/partials/profilJs')
@endsection
