Fixing style errors.

This commit is contained in:
stickler-ci 2020-09-23 07:11:59 +00:00
parent a72519f353
commit e037f2e5c7
2 changed files with 2 additions and 2 deletions

View File

@ -675,7 +675,7 @@ if ($resql)
$massactionbutton = $form->selectMassAction('', $arrayofmassactions); $massactionbutton = $form->selectMassAction('', $arrayofmassactions);
// Show the new button only when this page is not opend from the Extended POS // Show the new button only when this page is not opend from the Extended POS
if($contextpage != 'poslist') if ($contextpage != 'poslist')
{ {
$url = DOL_URL_ROOT.'/compta/facture/card.php?action=create'; $url = DOL_URL_ROOT.'/compta/facture/card.php?action=create';
if (!empty($socid)) $url .= '&socid='.$socid; if (!empty($socid)) $url .= '&socid='.$socid;

View File

@ -611,7 +611,7 @@ if (!empty($type))
// Show the new button only when this page is not opend from the Extended POS (pop-up window) // Show the new button only when this page is not opend from the Extended POS (pop-up window)
// but allow it too, when a user has the rights to create a new customer // but allow it too, when a user has the rights to create a new customer
if($contextpage != 'poslist') if ($contextpage != 'poslist')
{ {
$url = DOL_URL_ROOT.'/societe/card.php?action=create'.$typefilter; $url = DOL_URL_ROOT.'/societe/card.php?action=create'.$typefilter;
if (!empty($socid)) $url .= '&socid='.$socid; if (!empty($socid)) $url .= '&socid='.$socid;