*** empty log message ***

This commit is contained in:
Laurent Destailleur 2006-05-05 18:55:03 +00:00
parent 4a1fd59f4a
commit 14f90115a1

View File

@ -338,7 +338,7 @@ class pdf_propale_azur extends ModelePDFPropales
/*
* Mode de règlement
*/
if ((! defined("FACTURE_CHQ_NUMBER") || ! FACTURE_CHQ_NUMBER) && (! defined("FACTURE_RIB_NUMBER") || ! FACTURE_RIB_NUMBER))
if ($conf->banque->enable && (! $conf->global->FACTURE_CHQ_NUMBER && ! $conf->global->FACTURE_RIB_NUMBER))
{
$pdf->SetXY ($this->marge_gauche, 228);
$pdf->SetTextColor(200,0,0);
@ -352,9 +352,9 @@ class pdf_propale_azur extends ModelePDFPropales
* Propose mode règlement par CHQ
*/
/*
if (defined("FACTURE_CHQ_NUMBER"))
if ($conf->global->FACTURE_CHQ_NUMBER)
{
if (FACTURE_CHQ_NUMBER > 0)
if ($conf->global->FACTURE_CHQ_NUMBER > 0)
{
$account = new Account($this->db);
$account->fetch(FACTURE_CHQ_NUMBER);
@ -373,15 +373,15 @@ class pdf_propale_azur extends ModelePDFPropales
* Propose mode règlement par RIB
*/
/*
if (defined("FACTURE_RIB_NUMBER"))
if ($conf->global->FACTURE_RIB_NUMBER)
{
if (FACTURE_RIB_NUMBER > 0)
if ($conf->global->FACTURE_RIB_NUMBER > 0)
{
$account = new Account($this->db);
$account->fetch(FACTURE_RIB_NUMBER);
$this->marges['g']=$this->marge_gauche;
$cury=242;
$pdf->SetXY ($this->marges['g'], $cury);
$pdf->SetFont('Arial','B',8);