| الحالة |
@switch($document->id_statut)
@case(1)
مقبول
@break
@case(3)
مرفوض
@break
@case(4)
موافقة شريطة
@break
@case(5)
إرجاء لإبداء الرأي
@break
@case(2)
في الانتظار
@break
@case(6)
مسودّة
@break
@default
غير محدد
@endswitch
|
@if($document->id_statut == 3 && $document->commentaire_motif)
| سبب الرفض |
{{ $document->commentaire_motif }} |
@endif
@if($document->id_statut == 4 && $document->commentaire_acceptation)
| تعليق |
{{ $document->commentaire_acceptation }} |
@endif
@if($document->id_statut == 5 && $document->commentaire_avis)
| تعليق |
{{ $document->commentaire_avis }} |
@endif