1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 15:54:17 +01:00

Fix visualizzazione scadenze in fatture

This commit is contained in:
MatteoPistorello 2022-06-29 14:29:45 +02:00
parent 3f74780eb3
commit 66e5237b88

View File

@ -70,7 +70,7 @@ echo "
</tr>'; </tr>';
// Elenco scadenze // Elenco scadenze
$rs2 = $dbo->fetchArray('SELECT * FROM co_scadenziario WHERE iddocumento='.prepare($id_record).' ORDER BY `data_emissione` ASC'); $rs2 = $dbo->fetchArray('SELECT * FROM co_scadenziario WHERE iddocumento='.prepare($id_record).' ORDER BY `scadenza` ASC');
if (!empty($rs2)) { if (!empty($rs2)) {
for ($i = 0; $i < sizeof($rs2); ++$i) { for ($i = 0; $i < sizeof($rs2); ++$i) {
echo " echo "