diff --git a/include/class_widget.php b/include/class_widget.php
index 00b70b7a3..e80525aec 100644
--- a/include/class_widget.php
+++ b/include/class_widget.php
@@ -312,7 +312,7 @@ class widget {
//file
if (strtoupper($this->type)=="FILE") {
if ( $this->readonly == false ) {
- $r='';
+ $r='';
}
if ( $this->table==1) $r="
$this->label | $r | ";
@@ -326,7 +326,7 @@ class widget {
// Do we need to filter ??
if ( $this->extra2 == null ) {
$r=sprintf('
-
+
%s |
@@ -379,7 +379,7 @@ class widget {
|
- %s
+ %s
',
$l_sessid,
$this->extra, // deb or cred
@@ -420,7 +420,8 @@ class widget {
{
$r=sprintf(' |
- %s |
+ %s |
',
$l_sessid,
$this->extra,
@@ -436,7 +437,8 @@ class widget {
{
$r=sprintf('
- %s ',
+ %s ',
$l_sessid,
$this->extra,
$this->name,
@@ -491,7 +493,8 @@ class widget {
// input type == js_tva
if ( strtolower($this->type)=="js_tva") {
$id=sprintf("",$this->label);
- $r=sprintf('%s | ',
+ $r=sprintf('%s | ',
$id,
$this->name,
$this->value,
@@ -513,7 +516,7 @@ class widget {
%s |
-
+
| ',
$l_sessid,
$this->name,
diff --git a/include/contact.inc.php b/include/contact.inc.php
index 123b3186b..0b6ae577e 100644
--- a/include/contact.inc.php
+++ b/include/contact.inc.php
@@ -86,11 +86,11 @@ if ( $sub_action == "" )
//Display a blank card
if ( $sub_action=="blank")
{
- $retour=sprintf('',
+ $retour_action=sprintf('',
"commercial.php?p_action=contact");
echo '';
- echo $retour;
+ echo $retour_action;
$c=new contact($cn);
echo '';
- echo $retour;
+ echo $retour_action;
echo '
';
}
//-----------------------------------------------------
diff --git a/include/depense.inc.php b/include/depense.inc.php
index bf6742982..07af90570 100644
--- a/include/depense.inc.php
+++ b/include/depense.inc.php
@@ -46,7 +46,7 @@ $h_url="";
if ( isset ($_REQUEST['url']))
{
- $retour=sprintf('',urldecode($_REQUEST['url']));
+ $retour=sprintf('',urldecode($_REQUEST['url']));
$h_url=sprintf('',urldecode($_REQUEST['url']));
}
@@ -133,7 +133,7 @@ if ( $sub_action == "list")
echo $w->IOValue();
echo $w->Submit('gl_submit','Rechercher');
- echo $retour;
+ echo '
'.$retour;
// Show list of sell
// Date - date of payment - Customer - amount
@@ -231,8 +231,8 @@ if ( isset($_POST['save']))
echo $form;
echo '
';
echo '';
- echo '
- ';
+ echo '
+ ';
exit();
}
//-----------------------------------------------------
diff --git a/include/facture.inc.php b/include/facture.inc.php
index 4844bf695..7db89ad08 100644
--- a/include/facture.inc.php
+++ b/include/facture.inc.php
@@ -236,6 +236,9 @@ if ( isset($_POST['record_and_print_invoice']))
echo $str_file;
}
echo '';
+ // Button return
+ printf ('',
+ $p_jrn);
exit();
}
//-----------------------------------------------------