Compare commits

...

2 Commits

Author SHA1 Message Date
valentina b50cc81efd Fix plugin componenti 2024-07-08 16:08:50 +02:00
valentina 2aac565bee Fix plugin listino clienti 2024-07-08 15:55:05 +02:00
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="card collapsed-card card-'.$type.'"> <div class="box collapsed-box box-'.$type.'">
<div class="card-header with-border mini"> <div class="box-heading 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="card-tools pull-right"> <div class="box-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(".box"); let card = $(button).closest(".card");
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();