FIX: Add hidden option MAIN_PDF_HIDE_SITUATION to hide situation (quick

hack to fix output pb).
This commit is contained in:
Laurent Destailleur 2019-05-09 12:38:00 +02:00
parent af8d2e0e1a
commit 677b333d0a
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ FIX: Total per day in timespent per week
FIX: Total per day shows 00:00 if the total time spent is equal to 12:00
FIX: Update/delete currency on same languages
FIX: Wrong variable name make contact of supplier order not used on PDF.
FIX: Add hidden option MAIN_PDF_HIDE_SITUATION to hide situation (quick hack to fix output pb).
***** ChangeLog for 9.0.2 compared to 9.0.1 *****
FIX: #10822

View File

@ -378,7 +378,7 @@ class pdf_crabe extends ModelePDFFactures
$progress_width = 0;
// Situation invoice handling
if ($object->situation_cycle_ref)
if ($object->situation_cycle_ref && empty($conf->global->MAIN_PDF_HIDE_SITUATION))
{
$this->situationinvoice = true;
$progress_width = 10;