@php($x = 0)
@php($y = 0)
@php($mat = 16)
@foreach($matieres as $matiere)
{{-- @php($moymat[] =$inscrit_note['tab_moyen'][$matiere])
{{ dd($moymat) }} --}}
@if ($inscrit_note[$matiere]['moy']!=0)
@php($mat = $mat-1)
{{$matiere}} |
{{ $inscrit_note[$matiere]['coef'] }}
{{-- {{number_format($inscrit_note[$matiere]['coef'], 2,'.',' ')}} --}}
|
@if ($inscrit_note[$matiere]['moyint']==0) @else {{number_format($inscrit_note[$matiere]['moyint'], 2,'.',' ')}} @endif
|
@if ($inscrit_note[$matiere]['moydev']==0) @else{{number_format($inscrit_note[$matiere]['moydev'], 2,'.',' ')}} @endif
|
@if ($inscrit_note[$matiere]['moydili']==0) @else{{number_format($inscrit_note[$matiere]['moydili'], 2,'.',' ')}} @endif |
@if ($inscrit_note[$matiere]['moycompo']==0) @else {{number_format($inscrit_note[$matiere]['moycompo'], 2,'.',' ')}} @endif
|
@if ($inscrit_note[$matiere]['moy']==0) @else {{number_format($y=$inscrit_note[$matiere]['moy'], 2,'.',' ')}}@endif
|
@if ($inscrit_note[$matiere]['moy']==0) @else
{{number_format($inscrit_note[$matiere]['moy'] * $inscrit_note[$matiere]['coef'], 2,'.',' ')}}
@endif
|
{{-- dd($inscrits_rang[$matiere]) --}}
@if($inscrit_note[$matiere]['moy']==0) @else
@php(rsort($inscrits_rang[$matiere],SORT_NUMERIC))
@php(array_reverse($inscrits_rang[$matiere],true))
@php($rang = array_search($y ,$inscrits_rang[$matiere], true)+1)
@if ($y==0) @else
{{ $rang == 1 ? $rang. 'er' : $rang. 'eme' }}
@endif
@endif
|
@if ($inscrit_note[$matiere]['moy']==0)
@else
{{ $inscrit_note[$matiere]['text_appm'] }}
@endif |
@endif
@endforeach
Total |
{{$inscrit_note['allcoef']}} |
|
{{number_format($inscrit_note['totamoy'], 2,'.',' ')}} |
|
|
@for($i = 0; $i < ($mat-7); $i++)
|
|
|
|
|
|
|
|
|
|
@endfor
{{--
Moy. total : {{number_format($inscrit_note['totamoy'], 2,'.',' ')}}
|
Coef. total : {{$inscrit_note['allcoef']}}
| --}}
Moyenne Trimestrielle : {{number_format($x=$inscrit_note['moytrim'], 2,'.',' ')}}
|
Rang : @php(rsort($allMoy,SORT_NUMERIC))
@php(array_reverse($allMoy,true))
@php($rang = array_search($x , $allMoy, true)+1)
{{-- @if ($x==0) @else {{ $rang == 1 ? $rang. 'er' : $rang. 'eme' }} @endif --}}
@if ($x==0) @else {{ $rang == 1 ? $b= $rang. 'er' : $b= $rang. 'eme' }} @endif
|
Appréc. : @if ($x==0 ) @else {{ $inscrit_note['text_appt'] }} @endif
|
@for($i = 0; $i < ($mat-7); $i++)
|
|
|
|
|
|
|
|
|
|
@endfor
Bilan Matières
|
Rubriques |
Moyennes |
Bilan Lettre |
@if ($inscrit_note['moy2']==0) @else {{ number_format($inscrit_note['moy2'], 2,'.',' ')}} @endif
|
Bilan Science |
@if($inscrit_note['moy3']==0) @else {{$inscrit_note['moy3'] ? number_format($inscrit_note['moy3'], 2,'.',' '): " "}}@endif |
{{-- {{ dd($inscrit_note['moy1']) }} --}}
Bilan Autre |
@if ($inscrit_note['moy1'])
@if ($inscrit_note['moy1']==0) @else {{number_format($inscrit_note['moy1'], 2,'.',' ')}}@endif
@endif
|
|
Bilan Trimestres
|
Trimestres |
Moyennes |
Rangs |
1er Trimestre |
@if ($periode==1)
{{number_format($inscrit_note['moytrim'], 2,'.',' ')}} |
@if ($x==0) @else{{ $b}} @endif |
@else
{{$d = number_format($inscrit_note['moytrim1'], 2,'.',' ')}} |
@php(rsort($allMoyb,SORT_NUMERIC))
@php(array_reverse($allMoyb,true))
@php($rang1 = array_search($d , $allMoyb, true)+1)
{{-- {{ dd( $allMoyb)}} --}}
@if ($d==0) @else {{ $rang1 == 1 ? $rang1. 'er' : $rang1. 'eme' }} @endif |
@endif
2e Trimestre |
@if ($periode==2)
{{number_format($inscrit_note['moytrim'], 2,'.',' ')}} |
@if ($x==0) @else{{ $b}} @endif |
@elseif ($periode==3)
@if ($inscrit_note['moytrim2']==0) @else{{$e=number_format($inscrit_note['moytrim2'], 2,'.',' ')}} @endif |
@php(rsort($allMoyc,SORT_NUMERIC))
@php(array_reverse($allMoyc,true))
@php($rang2 = array_search($e , $allMoyc, true)+1)
@if ($e==0) @else {{ $rang2 == 1 ? $rang2. 'er' : $rang2. 'eme' }} @endif |
@else
|
|
@endif
{{-- | --}}
3e Trimestre |
@if ($periode==3)
@if ($inscrit_note['moytrim2']==0) @else{{$e=number_format($inscrit_note['moytrim'], 2,'.',' ')}} @endif |
@if ($x==0) @else{{ $b}} @endif |
@else
|
|
@endif
|
Bilan Moyennes
|
Rubriques |
Moyennes |
Moy Forte |
{{number_format(max($allMoy), 2,'.',' ')}} |
Moy Faible |
{{number_format(min($allMoy), 2,'.',' ')}} |
Moy de classe |
{{number_format(array_sum($allMoy)/count($allMoy), 2,'.',' ')}} |
|
@if ($periode==3)
{{-- @if ($allMoyanul==0) @else{{ $inscrit_note['moyanul'] $f=number_format(), 2,'.',' '}} @endif | --}}
@if ($allMoyanul==0) @else{{$f=number_format($inscrit_note['moyanul'], 2,'.',' ')}} @endif |
{{-- Rang : --}} @php(rsort($allMoyanul,SORT_NUMERIC))
@php(array_reverse($allMoyanul,true))
@php($rang = array_search($f , $allMoyanul, true)+1)
{{-- @if ($x==0) @else {{ $rang == 1 ? $rang. 'er' : $rang. 'eme' }} @endif --}}
@if ($f==0) @else {{ $rang == 1 ? $g= $rang. 'er' : $g= $rang. 'eme' }} @endif
|
{{--
Appréciation : R. @if ($x==0 ) @else {{ $inscrit_note['text_appt'] }} @endif
| --}}
|
Moy/faible |
{{number_format(min($allMoyanul), 2,'.',' ')}} |
Moy.forte |
{{number_format(max($allMoyanul), 2,'.',' ')}} |
Moy.classe |
{{number_format(array_sum($allMoyanul)/count($allMoyanul), 2,'.',' ')}} |
|
@else
@endif
{{-- @if ($periode==3)
@if ($f==0 ) @else {{ $inscrit_note['text_appanul'] }} @endif |
|
{{ $inscrit_note['decision'] }} |
|
|
@else
@endif --}}
{{-- @for($i = 0; $i < ($mat-2); $i++)
|
|
|
|
|
|
|
|
|
|
--}}
{{-- @endfor --}}
@if ($periode==3)
@if ($type=="C")
@if ($f==0 ) @else {{ $inscrit_note['text_appanul'] }} @endif |
@else
. |
@endif
|
@if ($type=="C")
{{ $inscrit_note['decision'] }} |
@else
. |
@endif
{{--
{{ $inscrit_note['decision'] }} |
--}}
|
Signature et cachet du chef d'etablissement |
{{ $directeurname }} |
|
@else
Appreciatiion du professeur Principal |
Signature et cachet du chef d'etablissement |
. |
{{ $directeurname }} |
@endif
@php($d =date('d').'/'.date('m').'/'.date('Y') )
Prenez vos dispositions pour ne pas venir en demander le duplicata * Edité le {{$d}} |