\n";
}
/*
diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php
index 7957803a5d5..5baa7b7c30f 100644
--- a/htdocs/commande/index.php
+++ b/htdocs/commande/index.php
@@ -62,15 +62,15 @@ print '
';
// Search customer orders
$var=false;
-print '
\n";
/*
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index b854503f084..00755959ab9 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -158,7 +158,6 @@ if ($result)
$db->free($result);
}
-print "";
/*
* Line to add category
@@ -172,9 +171,7 @@ if ($action != 'edit')
print '';
}
-print "";
-
-print "";
+print '';
llxFooter();
diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php
index e69e2dce2e7..4186dae5561 100644
--- a/htdocs/compta/bank/ligne.php
+++ b/htdocs/compta/bank/ligne.php
@@ -596,8 +596,7 @@ if ($result)
}
print '';
- print "";
- print '';
+ print '';
}
}
@@ -610,22 +609,21 @@ print '
';
// List of bank categories
-
print '
';
-print '
';
llxFooter();
diff --git a/htdocs/contrat/services.php b/htdocs/contrat/services.php
index eedb0183759..cd07db385aa 100644
--- a/htdocs/contrat/services.php
+++ b/htdocs/contrat/services.php
@@ -153,7 +153,9 @@ if ($resql)
if ($mode == "4" && $filter == "expired") $title=$langs->trans("ListOfExpiredServices");
if ($mode == "5") $title=$langs->trans("ListOfClosedServices");
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num,$totalnboflines,'title_commercial.png');
-
+
+ print '
';
}
else
diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index f924922cb87..89d658fa01a 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -1023,14 +1023,13 @@ function print_projecttasks_array($db, $form, $socid, $projectsListId, $mytasks=
if (!empty($conf->global->PROJECT_LIMIT_YEAR_RANGE))
{
//Add the year filter input
+ print '
';
}
}
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index ffc453d395c..e72af4de601 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -888,11 +888,11 @@ if ($action == 'create')
}
else
{
- print '
| ';
+ print ' |
| ';
print ' ';
- print ' | ';
-
- print '';
+ print ' | ';
+
+ print '';
print img_warning().' '.$langs->trans("NoProductToShipFoundIntoStock", $staticwarehouse->libelle);
}
}
diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php
index 5863161a995..b6ba93fe91e 100644
--- a/htdocs/expedition/class/expedition.class.php
+++ b/htdocs/expedition/class/expedition.class.php
@@ -654,11 +654,11 @@ class Expedition extends CommonObject
{
// line without batch detail
- // We decrement stock of product (and sub-products) -> update table llx_product_stock (key of this table is fk_product+fk_entrepot) and add a movement record
- $result=$mouvS->livraison($user, $obj->fk_product, $obj->fk_entrepot, $obj->qty, $obj->subprice, $langs->trans("ShipmentValidatedInDolibarr",$numref));
- if ($result < 0) {
- $error++; break;
- }
+ // We decrement stock of product (and sub-products) -> update table llx_product_stock (key of this table is fk_product+fk_entrepot) and add a movement record
+ $result=$mouvS->livraison($user, $obj->fk_product, $obj->fk_entrepot, $obj->qty, $obj->subprice, $langs->trans("ShipmentValidatedInDolibarr",$numref));
+ if ($result < 0) {
+ $error++; break;
+ }
}
else
{
@@ -859,7 +859,7 @@ class Expedition extends CommonObject
{
// $value['q']=qty to move
// $value['id_batch']=id into llx_product_batch of record to move
- //var_dump($value);
+ //var_dump($value);
$linebatch = new ExpeditionLineBatch($this->db);
$ret=$linebatch->fetchFromStock($value['id_batch']); // load serial, sellby, eatby
diff --git a/htdocs/expedition/index.php b/htdocs/expedition/index.php
index 2d5d0e207c6..dbfece18381 100644
--- a/htdocs/expedition/index.php
+++ b/htdocs/expedition/index.php
@@ -48,13 +48,13 @@ print '';
$var=false;
-print ' ';
print ' \n";
/*
* Shipments to validate
diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php
index 60b9b65e8e8..c877589851d 100644
--- a/htdocs/fourn/commande/index.php
+++ b/htdocs/fourn/commande/index.php
@@ -58,15 +58,15 @@ print ' ';
* Search form
*/
$var=false;
-print '';
print ' \n";
/*
diff --git a/htdocs/fourn/commande/orderstoinvoice.php b/htdocs/fourn/commande/orderstoinvoice.php
index 49c16d38bc8..a1fa57f97f4 100644
--- a/htdocs/fourn/commande/orderstoinvoice.php
+++ b/htdocs/fourn/commande/orderstoinvoice.php
@@ -453,7 +453,9 @@ if (($action != 'create' && $action != 'add') && !$error) {
$companystatic->nom = $soc->nom;
print '' . $companystatic->getNomUrl(1, 'customer') . '';
}
-
+
+ print ' | |