Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-03-10 20:40:34 +01:00
parent 8bdc80918b
commit 3007141b2b
2 changed files with 8 additions and 10 deletions

View File

@ -1557,8 +1557,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
'border-left' => true, // add left line separator 'border-left' => true, // add left line separator
); );
if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_UNIT_PRICE)) if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_UNIT_PRICE)) {
{
$this->cols['subprice']['status'] = true; $this->cols['subprice']['status'] = true;
} }
@ -1612,8 +1611,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
'border-left' => true, // add left line separator 'border-left' => true, // add left line separator
); );
if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_TOTAL_COLUMN)) if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_TOTAL_COLUMN)) {
{
$this->cols['totalexcltax']['status'] = true; $this->cols['totalexcltax']['status'] = true;
} }