Fix style ultimi prezzi

This commit is contained in:
Luca 2021-10-26 10:29:30 +02:00
parent c724505853
commit 736065dbee
2 changed files with 4 additions and 5 deletions

View File

@ -1097,12 +1097,11 @@ div.tip {
user-select: none;
}
.table-extra-condensed > thead > tr > th,
.table-extra-condensed > tbody > tr > th,
.table-extra-condensed > tfoot > tr > th,
.table-extra-condensed > thead > tr > td,
.table-extra-condensed > tbody > tr > td,
.table-extra-condensed > tfoot > tr > td {
padding: 2px;
padding: 2px;
}

View File

@ -35,7 +35,7 @@ switch ($resource) {
SELECT idddt AS id, "Ddt" AS tipo, "Ddt di vendita" AS modulo, (subtotale-sconto)/qta AS costo_unitario, (SELECT numero FROM dt_ddt WHERE id=idddt) AS n_documento, (SELECT numero_esterno FROM dt_ddt WHERE id=idddt) AS n2_documento, (SELECT data FROM dt_ddt WHERE id=idddt) AS data_documento FROM dt_righe_ddt WHERE idarticolo='.$idarticolo.' AND idddt IN(SELECT id FROM dt_ddt WHERE idtipoddt IN(SELECT id FROM dt_tipiddt WHERE dir="entrata") AND idanagrafica='.prepare($idanagrafica).') LIMIT 0,5');
if (sizeof($documenti) > 0) {
echo "<br/><table cellspacing='0' class='table-striped table-bordered' >\n";
echo "<br/><table class='table table-striped table-bordered table-extra-condensed' >\n";
echo "<tr><th width='180'>Documento</th>\n";
echo "<th width='100' class='text-right' >Totale</th></tr>\n";
@ -64,7 +64,7 @@ switch ($resource) {
SELECT idddt AS id, "Ddt" AS tipo, "Ddt di vendita" AS modulo, (subtotale-sconto)/qta AS costo_unitario, (SELECT numero FROM dt_ddt WHERE id=idddt) AS n_documento, (SELECT numero_esterno FROM dt_ddt WHERE id=idddt) AS n2_documento, (SELECT data FROM dt_ddt WHERE id=idddt) AS data_documento FROM dt_righe_ddt WHERE idarticolo='.prepare($idarticolo).' AND idddt IN(SELECT id FROM dt_ddt WHERE idtipoddt IN(SELECT id FROM dt_tipiddt WHERE dir="entrata")) LIMIT 0,5');
if (sizeof($documenti) > 0) {
echo "<br/><table cellspacing='0' class='table-striped table-bordered' >\n";
echo "<br/><table class='table table-striped table-bordered table-extra-condensed' >\n";
echo "<tr><th width='180'>Documento</th>\n";
echo "<th width='100' class='text-right' >Totale</th></tr>\n";
@ -92,7 +92,7 @@ switch ($resource) {
SELECT idddt AS id, "Ddt" AS tipo, "Ddt di acquisto" AS modulo, (subtotale-sconto)/qta AS costo_unitario, (SELECT numero FROM dt_ddt WHERE id=idddt) AS n_documento, (SELECT numero_esterno FROM dt_ddt WHERE id=idddt) AS n2_documento, (SELECT data FROM dt_ddt WHERE id=idddt) AS data_documento FROM dt_righe_ddt WHERE idarticolo='.prepare($idarticolo).' AND idddt IN(SELECT id FROM dt_ddt WHERE idtipoddt IN(SELECT id FROM dt_tipiddt WHERE dir="uscita")) LIMIT 0,5');
if (sizeof($documenti) > 0) {
echo "<br/><table cellspacing='0' class='table-striped table-bordered' >\n";
echo "<br/><table class='table table-striped table-bordered table-extra-condensed' >\n";
echo "<tr><th width='180'>Documento</th>\n";
echo "<th width='100' class='text-right' >Totale</th></tr>\n";