@extends('app') @section('title', 'Evaluation par matière') @section('link') @endsection @section('content')
@include('includes._alert')

Détail Sanctions

{{strtoupper($inscris->student->first_name).' '.ucwords(limitCaracts($inscris->student->last_name,25))}} - {{$inscris->classe->libelle}}
@foreach ($data as $item)
@php $i = 1; @endphp @foreach ($item['data'] as $val) @endforeach
Libelle Sanction Points Actions
{{$i <= 9 ? '0'.$i++:$i++}} {{ucwords($val['motif'])}} {{$val['nbres'] <= 9 ? '0'.$val['nbres']:$val['nbres']}} {{'0'.($val['total']-($val['nbres'] * $val['valeur'])).'/0'.$val['total']}}
@php $val = $item['total'] - $item['val']; @endphp Aperçu conduite : {{$val <= 9 ? '0'.$val:$val}} / {{$item['total'] <= 9 ? '0'.$item['total']:$item['total']}}
@endforeach
@endsection @section('script') @endsection