Fixing style errors.
This commit is contained in:
parent
a72519f353
commit
e037f2e5c7
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user