Nascondo dettaglio costi sessioni ai tecnici

This commit is contained in:
Beppe 2021-05-26 09:48:41 +02:00
parent 7ec7e53759
commit 01afab3236
1 changed files with 11 additions and 6 deletions

View File

@ -385,12 +385,17 @@ echo '
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="pull-right"> <?php
<a class='btn btn-default btn-details' onclick="$('.extra').removeClass('hide'); $(this).addClass('hide'); $('#dontshowall_dettagli').removeClass('hide');" id='showall_dettagli'><i class='fa fa-square-o'></i> <?php echo tr('Visualizza dettaglio costi'); ?></a> if($show_prezzi){
<a class='btn btn-info btn-details hide' onclick="$('.extra').addClass('hide'); $(this).addClass('hide'); $('#showall_dettagli').removeClass('hide');" id='dontshowall_dettagli'><i class='fa fa-check-square-o'></i> <?php echo tr('Visualizza dettaglio costi'); ?></a> echo "
</div> <div class=\"pull-right\">
<div class="clearfix"></div> <a class='btn btn-default btn-details' onclick=\"$('.extra').removeClass('hide'); $(this).addClass('hide'); $('#dontshowall_dettagli').removeClass('hide');\" id='showall_dettagli'><i class='fa fa-square-o'></i> <?php echo tr('Visualizza dettaglio costi'); ?></a>
<br> <a class='btn btn-info btn-details hide' onclick=\"$('.extra').addClass('hide'); $(this).addClass('hide'); $('#showall_dettagli').removeClass('hide');\" id='dontshowall_dettagli'><i class='fa fa-check-square-o'></i> <?php echo tr('Visualizza dettaglio costi'); ?></a>
</div>
<div class=\"clearfix\"></div>
<br>";
}
?>
<div class="row"> <div class="row">
<div class="col-md-12" id="tecnici"></div> <div class="col-md-12" id="tecnici"></div>