diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index 7279d5b055a..bb67ec46468 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -1762,7 +1762,7 @@ else
/* Already in tab Agenda/Events
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'member', $socid);
+ $somethingshown = $formactions->showactions($object, 'member', $socid, 1);
*/
print '';
diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php
index 2689a1d93be..5cd4704ae37 100644
--- a/htdocs/adherents/subscription/card.php
+++ b/htdocs/adherents/subscription/card.php
@@ -410,7 +410,7 @@ if ($rowid && $action != 'edit')
/*
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'invoice', $socid);
+ $somethingshown = $formactions->showactions($object, 'invoice', $socid, 1);
*/
print '';
diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php
index d2f7baab55a..49bab4faa71 100644
--- a/htdocs/comm/propal/card.php
+++ b/htdocs/comm/propal/card.php
@@ -2373,7 +2373,7 @@ if ($action == 'create')
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'propal', $socid);
+ $somethingshown = $formactions->showactions($object, 'propal', $socid, 1);
print '';
}
diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php
index 156b5efd526..1a9f4997ec4 100644
--- a/htdocs/commande/card.php
+++ b/htdocs/commande/card.php
@@ -2592,7 +2592,7 @@ if ($action == 'create' && $user->rights->commande->creer)
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'order', $socid);
+ $somethingshown = $formactions->showactions($object, 'order', $socid, 1);
print '';
}
diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 1955ad44276..d3e21f183a3 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -4331,7 +4331,7 @@ else if ($id > 0 || ! empty($ref))
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'invoice', $socid);
+ $somethingshown = $formactions->showactions($object, 'invoice', $socid, 1);
print '';
}
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index 787f69de4a3..26f9d0f6eae 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -2146,7 +2146,7 @@ else
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'contract', $socid);
+ $somethingshown = $formactions->showactions($object, 'contract', $socid, 1);
print '';
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index f15c091263e..3432748e81e 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -2126,7 +2126,7 @@ else if ($id || $ref)
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'shipping',$socid);
+ $somethingshown = $formactions->showactions($object,'shipping',$socid,1);
print '';
}
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index ce3f2281c5a..cc91a1e1441 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -1708,7 +1708,7 @@ else if ($id > 0 || ! empty($ref))
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'fichinter',$socid);
+ $somethingshown = $formactions->showactions($object,'fichinter',$socid,1);
print '';
}
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index a9a8255d7db..754e34e0d97 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2732,7 +2732,8 @@ elseif (! empty($object->id))
print '';
print "
";
}
-if ($action != 'makeorder')
+
+ if ($action != 'makeorder')
{
print '
';
@@ -2791,7 +2792,7 @@ if ($action != 'makeorder')
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'order_supplier',$socid,0,'listaction'.($genallowed?'largetitle':''));
+ $somethingshown = $formactions->showactions($object,'order_supplier',$socid,1,'listaction'.($genallowed?'largetitle':''));
diff --git a/htdocs/fourn/commande/info.php b/htdocs/fourn/commande/info.php
index 25dc8932049..bd92039eb1c 100644
--- a/htdocs/fourn/commande/info.php
+++ b/htdocs/fourn/commande/info.php
@@ -203,7 +203,7 @@ if (!empty($object->id))
// List of actions on element
/*include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'project',0);*/
+ $somethingshown = $formactions->showactions($object,'project',0);*/
// List of todo actions
//show_actions_todo($conf,$langs,$db,$object,null,0,$actioncode);
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index fa337bc73ca..927347eb37e 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -2815,7 +2815,7 @@ else
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'invoice_supplier',$socid,0,'listaction'.($genallowed?'largetitle':''));
+ $somethingshown = $formactions->showactions($object,'invoice_supplier',$socid,1,'listaction'.($genallowed?'largetitle':''));
print '
';
//print '';
diff --git a/htdocs/fourn/paiement/card.php b/htdocs/fourn/paiement/card.php
index ee32ddcfb05..f42cc1db110 100644
--- a/htdocs/fourn/paiement/card.php
+++ b/htdocs/fourn/paiement/card.php
@@ -202,13 +202,13 @@ if ($result > 0)
}
$linkback = '' . $langs->trans("BackToList") . '';
-
-
+
+
dol_banner_tab($object,'id',$linkback,1,'rowid','ref');
-
+
print '';
print '
';
-
+
print '
';
/*print '';
@@ -278,7 +278,7 @@ if ($result > 0)
print '
';
print '
';
-
+
print '
';
/**
@@ -315,7 +315,7 @@ if ($result > 0)
while ($i < $num)
{
$objp = $db->fetch_object($resql);
-
+
print '';
// Ref
print ''.img_object($langs->trans('ShowBill'),'bill').' ';
@@ -341,7 +341,7 @@ if ($result > 0)
$i++;
}
}
-
+
print "\n";
$db->free($resql);
@@ -386,7 +386,7 @@ if ($result > 0)
}
}
print '';
-
+
print '';
/*
@@ -409,7 +409,7 @@ if ($result > 0)
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'supplier_payment',$socid,0,'listaction'.($genallowed?'largetitle':''));
+ $somethingshown = $formactions->showactions($object,'supplier_payment',$socid,1,'listaction'.($genallowed?'largetitle':''));
print ' ';
//print ' |
';
diff --git a/htdocs/modulebuilder/template/myobject_card.php b/htdocs/modulebuilder/template/myobject_card.php
index 84ed3e28ca5..8aa6cc3ad9a 100644
--- a/htdocs/modulebuilder/template/myobject_card.php
+++ b/htdocs/modulebuilder/template/myobject_card.php
@@ -505,7 +505,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'myobject', $socid);
+ $somethingshown = $formactions->showactions($object, 'myobject', $socid, 1);
print '';
}
diff --git a/htdocs/product/inventory/card.php b/htdocs/product/inventory/card.php
index 5506bad0fbb..c5eca27b348 100644
--- a/htdocs/product/inventory/card.php
+++ b/htdocs/product/inventory/card.php
@@ -487,7 +487,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'order', $socid);
+ $somethingshown = $formactions->showactions($object, 'order', $socid, 1);
print '';
}
diff --git a/htdocs/projet/info.php b/htdocs/projet/info.php
index 8e506b5d454..3c21d9e0ced 100644
--- a/htdocs/projet/info.php
+++ b/htdocs/projet/info.php
@@ -184,7 +184,7 @@ if (!empty($object->id))
// List of actions on element
/*include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
- $somethingshown=$formactions->showactions($object,'project',0);*/
+ $somethingshown = $formactions->showactions($object,'project',0);*/
// List of todo actions
//show_actions_todo($conf,$langs,$db,$object,null,0,$actioncode);
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 336b8c64431..04d0a09a804 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -1806,7 +1806,7 @@ if ($action == 'create')
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'supplier_proposal', $socid);
+ $somethingshown = $formactions->showactions($object, 'supplier_proposal', $socid, 1);
print '';
}
diff --git a/htdocs/user/card.php b/htdocs/user/card.php
index ca60060c438..0eac875046b 100644
--- a/htdocs/user/card.php
+++ b/htdocs/user/card.php
@@ -2538,7 +2538,7 @@ else
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'user', $socid);
+ $somethingshown = $formactions->showactions($object, 'user', $socid, 1);
print '';
diff --git a/htdocs/user/group/card.php b/htdocs/user/group/card.php
index a32db37d3fb..678bd9f0ec2 100644
--- a/htdocs/user/group/card.php
+++ b/htdocs/user/group/card.php
@@ -517,7 +517,7 @@ else
// List of actions on element
include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php';
$formactions = new FormActions($db);
- $somethingshown = $formactions->showactions($object, 'usergroup', $socid);
+ $somethingshown = $formactions->showactions($object, 'usergroup', $socid, 1);
print '';