Added missing trad on shipment + display calculated weight after true weight
This commit is contained in:
parent
9d8438ecdd
commit
fc8805f2ca
@ -1115,6 +1115,12 @@ else
|
||||
print '<tr><td>'.$form->editfieldkey("Weight",'trueWeight',$object->trueWeight,$object,$user->rights->expedition->creer).'</td><td colspan="3">';
|
||||
print $form->editfieldval("Weight",'trueWeight',$object->trueWeight,$object,$user->rights->expedition->creer);
|
||||
print ($object->trueWeight && $object->weight_units!='')?' '.measuring_units_string($object->weight_units,"weight"):'';
|
||||
if ($totalWeight > 0)
|
||||
{
|
||||
if (!empty($object->trueWeight)) print ' ('.$langs->trans("SumOfProductWeights").': ';
|
||||
print $totalWeight.' '.measuring_units_string(0,"weight");
|
||||
if (!empty($object->trueWeight)) print ')';
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
// Width
|
||||
@ -1152,7 +1158,7 @@ else
|
||||
if ($totalVolume > 0)
|
||||
{
|
||||
if ($calculatedVolume) print ' ('.$langs->trans("SumOfProductVolumes").': ';
|
||||
print $totalVolume;
|
||||
print $totalVolume.' '.measuring_units_string(0,"volume");
|
||||
if ($calculatedVolume) print ')';
|
||||
}
|
||||
print "</td>\n";
|
||||
|
||||
@ -71,3 +71,5 @@ DocumentModelSirocco=Simple document model for delivery receipts
|
||||
DocumentModelTyphon=More complete document model for delivery receipts (logo...)
|
||||
|
||||
Error_EXPEDITION_ADDON_NUMBER_NotDefined=Constant EXPEDITION_ADDON_NUMBER not defined
|
||||
SumOfProductVolumes=Sum of product volumes
|
||||
SumOfProductWeights=Sum of product weights
|
||||
@ -71,3 +71,5 @@ DocumentModelSirocco=Modèle de bon de réception/livraison simple
|
||||
DocumentModelTyphon=Modèle de bon de réception/livraison complet (logo…)
|
||||
|
||||
Error_EXPEDITION_ADDON_NUMBER_NotDefined=Constante EXPEDITION_ADDON_NUMBER non définie
|
||||
SumOfProductVolumes=Somme des volumes des produits
|
||||
SumOfProductWeights=Somme des poids des produits
|
||||
Loading…
Reference in New Issue
Block a user