|
|
@@ -1133,9 +1133,9 @@
|
|
|
@if($dataId > 0)
|
|
|
|
|
|
@if(!$addCourse && !$updateCourse)
|
|
|
- @if($active["status"] != 2)
|
|
|
+ @if($active["status"] != 2 && $active["status"] != 1 )
|
|
|
<div class="alert alert-warning" role="alert">
|
|
|
- <strong>Attenzione:</strong> Per aggiungere corsi è necessario avere un tesseramento attivo.
|
|
|
+ <strong>Attenzione:</strong> Per aggiungere corsi è necessario avere un tesseramento.
|
|
|
</div>
|
|
|
@endif
|
|
|
<table class="table tablesaw tableHead tablesaw-stack tabella--corsi" id="tablesaw-350-2" style="min-width:800px">
|
|
|
@@ -1229,7 +1229,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@if($dataId > 0)
|
|
|
- @if ($active["status"] == 2)
|
|
|
+ @if ($active["status"] == 2 || $active["status"] == 1)
|
|
|
<button class="btn--ui primary" wire:click.prevent="addCourse()" style="max-width:200px">Aggiungi</button>
|
|
|
@else
|
|
|
<button class="btn--ui lightGrey" disabled style="max-width:200px">Aggiungi corso (non disponibile)</button>
|