No payment information on a supplier proposal by default.
This commit is contained in:
parent
0bffac6dc4
commit
d60e98a797
@ -635,16 +635,6 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
||||
|
||||
$pdf->SetFont('','', $default_font_size - 1);
|
||||
|
||||
// If France, show VAT mention if not applicable
|
||||
if ($this->emetteur->country_code == 'FR' && $this->franchise == 1)
|
||||
{
|
||||
$pdf->SetFont('','B', $default_font_size - 2);
|
||||
$pdf->SetXY($this->marge_gauche, $posy);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("VATIsNotUsedForInvoice"), 0, 'L', 0);
|
||||
|
||||
$posy=$pdf->GetY()+4;
|
||||
}
|
||||
|
||||
$posxval=52;
|
||||
|
||||
// Show shipping date
|
||||
@ -723,7 +713,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
||||
$posy=$pdf->GetY()+3;
|
||||
}
|
||||
|
||||
if (empty($conf->global->SUPPLIER_PROPOSAL_PDF_HIDE_PAYMENTTERMCOND))
|
||||
if (! empty($conf->global->SUPPLIER_PROPOSAL_PDF_SHOW_PAYMENTTERMCOND))
|
||||
{
|
||||
// Show payment mode
|
||||
if ($object->mode_reglement_code
|
||||
@ -1037,7 +1027,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
||||
$resteapayer = $object->total_ttc - $deja_regle;
|
||||
if (! empty($object->paye)) $resteapayer=0;
|
||||
*/
|
||||
|
||||
|
||||
if ($deja_regle > 0)
|
||||
{
|
||||
$index++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user