From 793bb08508c2b7a6f5819ba550e21a410de32225 Mon Sep 17 00:00:00 2001 From: Andrew Burks <92557438+BurksEngineering@users.noreply.github.com> Date: Sat, 18 Nov 2023 19:54:58 -0500 Subject: [PATCH] fixed linting issues whitespace around braces and if/else keywords --- htdocs/accountancy/journal/expensereportsjournal.php | 2 +- htdocs/accountancy/journal/purchasesjournal.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/accountancy/journal/expensereportsjournal.php b/htdocs/accountancy/journal/expensereportsjournal.php index a86ebd4b6e679..868c311f97d2a 100644 --- a/htdocs/accountancy/journal/expensereportsjournal.php +++ b/htdocs/accountancy/journal/expensereportsjournal.php @@ -201,7 +201,7 @@ } $tabttc[$obj->rowid][$compta_user] += $obj->total_ttc; - if($group_tax_with_lines){ //case where all taxes paid should be grouped with the same account as the main expense (best for USA) + if ($group_tax_with_lines) { //case where all taxes paid should be grouped with the same account as the main expense (best for USA) $tabht[$obj->rowid][$compta_fees] += $obj->total_ttc; } else { //case where every tax paid should be broken out into its own account for future recovery (best for VAT countries) $tabht[$obj->rowid][$compta_fees] += $obj->total_ht; diff --git a/htdocs/accountancy/journal/purchasesjournal.php b/htdocs/accountancy/journal/purchasesjournal.php index 96e707f95915f..f167d0f6d6d6e 100644 --- a/htdocs/accountancy/journal/purchasesjournal.php +++ b/htdocs/accountancy/journal/purchasesjournal.php @@ -307,9 +307,9 @@ } $tabttc[$obj->rowid][$compta_soc] += $obj->total_ttc; - if($group_tax_with_lines){ //case where all taxes paid should be grouped with the same account as the main expense (best for USA) + if ($group_tax_with_lines) { //case where all taxes paid should be grouped with the same account as the main expense (best for USA) $tabht[$obj->rowid][$compta_prod] += $obj->total_ttc; - }else{ //case where every tax paid should be broken out into its own account for future recovery (best for VAT countries) + } else { //case where every tax paid should be broken out into its own account for future recovery (best for VAT countries) $tabht[$obj->rowid][$compta_prod] += $obj->total_ht; $tabtva[$obj->rowid][$compta_tva] += $obj->total_tva; $tva_npr = (($obj->info_bits & 1 == 1) ? 1 : 0);