|
|
@@ -1028,15 +1028,15 @@
|
|
|
@if($type == 'corsi')
|
|
|
@if($dataId > 0)
|
|
|
@if(!$addCourse && !$updateCourse)
|
|
|
- @if($active["status"] != 1 && !$hasCertificate)
|
|
|
+ @if($active["status"] != 2 && !$hasCertificate)
|
|
|
<div class="alert alert-warning" role="alert">
|
|
|
<strong>Attenzione:</strong> Per aggiungere corsi è necessario avere un tesseramento attivo o un certificato medico valido.
|
|
|
</div>
|
|
|
- @elseif($active["status"] != 1)
|
|
|
+ @elseif($active["status"] == 0)
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
<strong>Info:</strong> Il tesseramento non è attivo, ma è presente un certificato medico valido.
|
|
|
</div>
|
|
|
- @elseif(!$hasCertificate)
|
|
|
+ @elseif($active["status"] == 1 && !$hasCertificate)
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
<strong>Info:</strong> Non è presente un certificato medico valido, ma il tesseramento è attivo.
|
|
|
</div>
|