Compare commits

..

No commits in common. "b50cc81efddd6156f6d5ebfb6b8ebc20bae6d2e4" and "2b733bd4405b0ab9194a83f00f07d05e463ac92c" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -91,8 +91,8 @@ foreach ($elenchi as $elenco) {
<hr>'; <hr>';
echo ' echo '
<div class="box collapsed-box box-'.$type.'"> <div class="card collapsed-card card-'.$type.'">
<div class="box-heading with-border mini"> <div class="card-header with-border mini">
<table class="table" style="margin:0; padding:0;"> <table class="table" style="margin:0; padding:0;">
<thead> <thead>
<tr> <tr>
@ -122,7 +122,7 @@ foreach ($elenchi as $elenco) {
<td class="text-center"> <td class="text-center">
<i class="'.$icona_allegati.' fa-lg"></i> <i class="'.$icona_allegati.' fa-lg"></i>
<div class="box-tools pull-right"> <div class="card-tools pull-right">
<button type="button" class="btn btn-tool" onclick="toggleDettagli(this)"> <button type="button" class="btn btn-tool" onclick="toggleDettagli(this)">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
</button> </button>

View File

@ -141,7 +141,7 @@ function gestionePrezzi(id_anagrafica, direzione) {
} }
function aggiungiPrezzi(button, is_uscita) { function aggiungiPrezzi(button, is_uscita) {
let card = $(button).closest(".card"); let card = $(button).closest(".box");
let direzione = is_uscita ? "uscita" : "entrata"; let direzione = is_uscita ? "uscita" : "entrata";
let id_anagrafica = card.find("select").val(); let id_anagrafica = card.find("select").val();