mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
b565455e6f
@ -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;
|
||||
}
|
@ -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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user