';
print '';
print '| ';
@@ -1266,6 +1261,25 @@ if ($id > 0 || ! empty($ref))
print ' | ';
print ' ';
+ // Payment term
+ print '| ';
+ print '';
+ print ' | ';
+ if ($action == 'editconditions')
+ {
+ $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id,$object->cond_reglement_id,'cond_reglement_id');
+ }
+ else
+ {
+ $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id,$object->cond_reglement_id,'none');
+ }
+ print ' | ';
+ print ' ';
+
// Delivery date
$langs->load('deliveries');
print '| ';
@@ -1314,7 +1328,7 @@ if ($id > 0 || ! empty($ref))
print ' | ';
}
- // Availability
+ // Delivery delay
print '';
print '| ';
print $langs->trans('AvailabilityPeriod');
@@ -1325,11 +1339,11 @@ if ($id > 0 || ! empty($ref))
print ' | ';
if ($action == 'editavailability')
{
- $html->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id,$object->availability_id,'availability_id');
+ $html->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id,$object->availability_id,'availability_id',1);
}
else
{
- $html->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id,$object->availability_id,'none');
+ $html->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id,$object->availability_id,'none',1);
}
print ' | ';
@@ -1356,25 +1370,6 @@ if ($id > 0 || ! empty($ref))
print '';
print ' ';
- // Payment term
- print '| ';
- print '';
- print ' | ';
- if ($action == 'editconditions')
- {
- $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id,$object->cond_reglement_id,'cond_reglement_id');
- }
- else
- {
- $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id,$object->cond_reglement_id,'none');
- }
- print ' | ';
- print ' ';
-
// Payment mode
print '';
print '| ';
@@ -1975,6 +1970,6 @@ else
}
$db->close();
-llxFooter('$Date: 2011/07/10 20:03:41 $ - $Revision: 1.610 $');
+llxFooter('$Date: 2011/07/17 19:01:28 $ - $Revision: 1.611 $');
?>
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 5c7dbb3a456..0b45de0569c 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -31,7 +31,7 @@
* \file htdocs/core/class/html.form.class.php
* \ingroup core
* \brief File of class with all html predefined components
- * \version $Id: html.form.class.php,v 1.189 2011/07/13 14:03:15 eldy Exp $
+ * \version $Id: html.form.class.php,v 1.190 2011/07/17 19:01:26 eldy Exp $
*/
@@ -1497,8 +1497,8 @@ class Form
* Retourne la liste des types de delais de livraison possibles
* @param selected Id du type de delais pre-selectionne
* @param htmlname Nom de la zone select
- * @param filtertype Pour filtre
- * @param addempty Ajoute entree vide
+ * @param filtertype To add a filter
+ * @param addempty Add empty entry
*/
function select_availability($selected='',$htmlname='availid',$filtertype='',$addempty=0)
{
diff --git a/htdocs/langs/fr_FR/deliveries.lang b/htdocs/langs/fr_FR/deliveries.lang
index 562ae3d2602..d903a380c95 100644
--- a/htdocs/langs/fr_FR/deliveries.lang
+++ b/htdocs/langs/fr_FR/deliveries.lang
@@ -5,7 +5,7 @@ Deliveries=Livraisons
DeliveryCard=Fiche réception
DeliveryOrder=Bon de réception
DeliveryOrders=Bons de réception
-DeliveryDate=Date de réception
+DeliveryDate=Date de livraison
DeliveryDateShort=Date réc.
CreateDeliveryOrder=Générer bon de réception
QtyDelivered=Qté livrée
|
|
|