|
|
@@ -1560,24 +1560,26 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <section class="save--section d-flex justify-content-start">
|
|
|
- <div class="container">
|
|
|
- <div class="row">
|
|
|
- <div class="col-md-7 col-xl-8 d-flex gx-0">
|
|
|
- @if($add)
|
|
|
- <button class="btn--ui primary d-flex order-1 me-2" wire:click="store(false)">salva e continua</button>
|
|
|
- <button class="btn--ui primary d-flex order-3 ms-auto" onclick="store(true)">salva e chiudi</button>
|
|
|
- @endif
|
|
|
- @if($update)
|
|
|
- <button class="btn--ui primary d-flex order-1 me-2" wire:click="updateAAA(false)">salva e continua</button>
|
|
|
- <button class="btn--ui primary d-flex order-3 ms-auto" onclick="updateAAA(true)">salva e chiudi</button>
|
|
|
- @endif
|
|
|
- <button class="btn--ui lightGrey" onclick="annulla()" style="margin-right:10px">annulla</button><br><br>
|
|
|
+ @if (!$addCard && !$updateCard && !$addCourse && !$updateCourse)
|
|
|
+ <section class="save--section d-flex justify-content-start">
|
|
|
+ <div class="container">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-md-7 col-xl-8 d-flex gx-0">
|
|
|
+ @if($add)
|
|
|
+ <button class="btn--ui primary d-flex order-1 me-2" wire:click="store(false)">salva e continua</button>
|
|
|
+ <button class="btn--ui primary d-flex order-3 ms-auto" onclick="store(true)">salva e chiudi</button>
|
|
|
+ @endif
|
|
|
+ @if($update)
|
|
|
+ <button class="btn--ui primary d-flex order-1 me-2" wire:click="updateAAA(false)">salva e continua</button>
|
|
|
+ <button class="btn--ui primary d-flex order-3 ms-auto" onclick="updateAAA(true)">salva e chiudi</button>
|
|
|
+ @endif
|
|
|
+ <button class="btn--ui lightGrey" onclick="annulla()" style="margin-right:10px">annulla</button><br><br>
|
|
|
+ </div>
|
|
|
+ <div class="col-md-5 col-xl-4"></div>
|
|
|
</div>
|
|
|
- <div class="col-md-5 col-xl-4"></div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </section>
|
|
|
+ </section>
|
|
|
+ @endif
|
|
|
@endif
|
|
|
</div>
|
|
|
@endif
|