Skip to content

Commit

Permalink
No payment information on a supplier proposal by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 5, 2017
1 parent 0bffac6 commit d60e98a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php
Expand Up @@ -635,16 +635,6 @@ function _tableau_info(&$pdf, $object, $posy, $outputlangs)

$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
Expand Down Expand Up @@ -723,7 +713,7 @@ function _tableau_info(&$pdf, $object, $posy, $outputlangs)
$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
Expand Down Expand Up @@ -1037,7 +1027,7 @@ function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
$resteapayer = $object->total_ttc - $deja_regle;
if (! empty($object->paye)) $resteapayer=0;
*/

if ($deja_regle > 0)
{
$index++;
Expand Down

0 comments on commit d60e98a

Please sign in to comment.