diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index faaf0e358ae..7aee0d84803 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1649,7 +1649,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print ''; @@ -1722,7 +1724,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 83549b117d5..708dca8e467 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1665,7 +1665,7 @@ else } else print ' '; print ''; - + //Remise percent (negative or positive) if (!empty($objp->remise_percent)) { @@ -1675,7 +1675,7 @@ else { print ' '; } - + // Montant total HT print ''.price($objp->total_ht).''; @@ -1858,7 +1858,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print ''; @@ -1936,7 +1938,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index d302439139b..275a109fe21 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -572,7 +572,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) $facture->type = 2; $facid = $facture->create($user); - + // Add predefined lines for ($i = 1; $i <= $NBLINES; $i++) { @@ -2879,7 +2879,7 @@ else } else print ' '; print ''; - + // Remise percent (negative or positive) if (!empty($objp->remise_percent)) { @@ -2889,7 +2889,7 @@ else { print ' '; } - + // Montant total HT print ''.price($objp->total_ht)."\n"; @@ -3076,7 +3076,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print ''; @@ -3152,7 +3154,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; @@ -3456,7 +3460,7 @@ else $sql.= " AND el.sourcetype = 'commande'"; $sql.= " AND el.fk_target = ".$fac->id; $sql.= " AND el.targettype = '".$fac->element."'"; - + $resql = $db->query($sql); if ($resql) { diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 6ef5487a5cf..bfbf2b150fc 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -879,7 +879,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print ''; @@ -937,7 +939,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index b66994b0f95..2a9ac2a7683 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1076,7 +1076,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print '';