';
print '| '.img_object($langs->trans('ShowPropal'),'propal').' '.$objp->ref." | \n";
+
if ($objp->client == 1)
{
$url = DOL_URL_ROOT.'/comm/fiche.php?socid='.$objp->idp;
@@ -1086,28 +1090,29 @@ else
{
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$objp->idp;
}
-
print ''.img_object($langs->trans('ShowCompany'),'company').' '.$objp->nom.' | ';
- if ( $now > $objp->dfv && $objp->dfv > 0 )
- {
- print ''.dolibarr_print_date($objp->dfv).' | ';
- }
- else
- {
- print ' | ';
- }
-
- print '';
+ // Date propale
+ print ' | ';
$y = strftime('%Y',$objp->dp);
$m = strftime('%m',$objp->dp);
print strftime('%d',$objp->dp)."\n";
print ' ';
- print strftime('%B',$objp->dp)."\n";
+ print dolibarr_print_date($objp->dp,'%b')."\n";
print ' ';
print strftime('%Y',$objp->dp)." | \n";
+ // Date fin validite
+ if ( $now > $objp->dfv && $objp->dfv > 0 )
+ {
+ print ''.dolibarr_print_date($objp->dfv).' | ';
+ }
+ else
+ {
+ print ' | ';
+ }
+
print ''.price($objp->price)." | \n";
$propal=New Propal($db);
print ''.$propal->LibStatut($objp->statutid,0)." | \n";