From 994dde91da981247a91f8fcf8c07b227c0dccc34 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 19 Feb 2021 22:22:09 +0100 Subject: [PATCH] Responsive --- htdocs/comm/card.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index f7081f9aa26..2f5cb064a5e 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -1213,7 +1213,7 @@ if ($object->id > 0) $sql .= ', f.total as total_ht'; $sql .= ', f.tva as total_tva'; $sql .= ', f.total_ttc'; - $sql .= ', f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as statut'; + $sql .= ', f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as status'; $sql .= ', s.nom, s.rowid as socid'; $sql .= ', SUM(pf.amount) as am'; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture as f"; @@ -1254,9 +1254,10 @@ if ($object->id > 0) $facturestatic->total_ht = $objp->total_ht; $facturestatic->total_tva = $objp->total_tva; $facturestatic->total_ttc = $objp->total_ttc; + $facturestatic->statut = $objp->status; print ''; - print ''; + print ''; print $facturestatic->getNomUrl(1); print ''; if ($objp->df > 0) @@ -1276,7 +1277,7 @@ if ($object->id > 0) print ''; } - print ''.($facturestatic->LibStatut($objp->paye, $objp->statut, 5, $objp->am)).''; + print ''.($facturestatic->LibStatut($objp->paye, $objp->status, 5, $objp->am)).''; print "\n"; $i++; }