diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php
index 02889d1d7bb..3cc29a7bc6c 100644
--- a/htdocs/comm/propal/apercu.php
+++ b/htdocs/comm/propal/apercu.php
@@ -109,7 +109,7 @@ if ($_GET["id"] > 0)
// ligne
// partie Gauche
print '
| '.$langs->trans('Date').' | ';
- print dol_print_date($propal->date,'daytext');
+ print dol_print_date($object->date,'daytext');
print ' | ';
// partie Droite sur $rowspan lignes
@@ -118,7 +118,7 @@ if ($_GET["id"] > 0)
/*
* Documents
*/
- $propalref = dol_sanitizeFileName($propal->ref);
+ $propalref = dol_sanitizeFileName($object->ref);
$dir_output = $conf->propale->dir_output . "/";
$filepath = $dir_output . $propalref . "/";
$file = $filepath . $propalref . ".pdf";
@@ -142,7 +142,7 @@ if ($_GET["id"] > 0)
print "
| ".$langs->trans("Propal")." PDF | ";
- print ''.$propal->ref.'.pdf | ';
+ print ''.$object->ref.'.pdf | ';
print ''.dol_print_size(dol_filesize($file)).' | ';
print ''.dol_print_date(dol_filemtime($file),'dayhour').' | ';
@@ -154,7 +154,7 @@ if ($_GET["id"] > 0)
{
print "
| Propal detaillee | ";
- print ''.$propal->ref.'-detail.pdf | ';
+ print ''.$object->ref.'-detail.pdf | ';
print ''.dol_print_size(dol_filesize($filedetail)).' | ';
print ''.dol_print_date(dol_filemtime($filedetail),'dayhour').' | ';
print '
';
@@ -205,7 +205,7 @@ if ($_GET["id"] > 0)
print '';
print '| '.$langs->trans('AmountHT').' | ';
- print ''.price($propal->price).' | ';
+ print ''.price($object->price).' | ';
print ''.$langs->trans("Currency".$conf->monnaie).' |
';
print '';
}