|
|
@@ -1055,8 +1055,9 @@
|
|
|
@if($dataId > 0)
|
|
|
@if(!$addCourse && !$updateCourse)
|
|
|
@if($active["status"] != 1 && !$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 class="alert alert-info" role="alert">
|
|
|
+ {{-- <strong>Attenzione:</strong> Per aggiungere corsi è necessario avere un tesseramento attivo o un certificato medico valido. --}}
|
|
|
+ <strong>Info:</strong> Non sono presenti un tesseramento attivo o un certificato medico valido.
|
|
|
</div>
|
|
|
@elseif($active["status"] != 1)
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
@@ -1195,12 +1196,12 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@if($dataId > 0)
|
|
|
- @if ($active["status"] == 1 || $hasCertificate)
|
|
|
+ {{-- @if ($active["status"] == 1 || $hasCertificate) --}}
|
|
|
<button class="btn--ui primary" wire:click.prevent="addCourse()" style="max-width:200px">Aggiungi</button>
|
|
|
- @else
|
|
|
+ {{-- @else --}}
|
|
|
{{-- <button class="btn--ui lightGrey" disabled style="max-width:200px">Aggiungi corso (non disponibile)</button>
|
|
|
<small class="text-muted d-block mt-1">Completa prima il tesseramento o carica un certificato medico valido</small> --}}
|
|
|
- @endif
|
|
|
+ {{-- @endif --}}
|
|
|
@endif
|
|
|
@else
|
|
|
<div class="form--wrapper">
|