Fix: Bad link

This commit is contained in:
Laurent Destailleur 2010-05-23 01:30:04 +00:00
parent d06e26a043
commit d2540c7bf4
2 changed files with 6 additions and 6 deletions

View File

@ -817,7 +817,7 @@ else
// Weight // Weight
print '<tr><td>'.$html->editfieldkey("TotalWeight",'trueWeight',$expedition->trueWeight,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">'; print '<tr><td>'.$html->editfieldkey("TotalWeight",'trueWeight',$expedition->trueWeight,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">';
print $html->editfieldval("TotalWeight",'trueWeight',$expedition->trueWeight,'id',$expedition->id,$user->rights->expedition->creer); print $html->editfieldval("TotalWeight",'trueWeight',$expedition->trueWeight,'id',$expedition->id,$user->rights->expedition->creer);
print measuring_units_string($expedition->weight_units,"weight"); print $expedition->weight_units?measuring_units_string($expedition->weight_units,"weight"):'';
print '</td></tr>'; print '</td></tr>';
// Volume Total // Volume Total
@ -841,19 +841,19 @@ else
// Width // Width
print '<tr><td>'.$html->editfieldkey("Width",'trueWidth',$expedition->trueWidth,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">'; print '<tr><td>'.$html->editfieldkey("Width",'trueWidth',$expedition->trueWidth,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">';
print $html->editfieldval("Width",'trueWidth',$expedition->trueWidth,'id',$expedition->id,$user->rights->expedition->creer); print $html->editfieldval("Width",'trueWidth',$expedition->trueWidth,'id',$expedition->id,$user->rights->expedition->creer);
print measuring_units_string($expedition->width_units,"size"); print $expedition->trueWidth?measuring_units_string($expedition->width_units,"size"):'';
print '</td></tr>'; print '</td></tr>';
// Height // Height
print '<tr><td>'.$html->editfieldkey("Height",'trueHeight',$expedition->trueHeight,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">'; print '<tr><td>'.$html->editfieldkey("Height",'trueHeight',$expedition->trueHeight,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">';
print $html->editfieldval("Height",'trueHeight',$expedition->trueHeight,'id',$expedition->id,$user->rights->expedition->creer); print $html->editfieldval("Height",'trueHeight',$expedition->trueHeight,'id',$expedition->id,$user->rights->expedition->creer);
print measuring_units_string($expedition->height_units,"size"); print $expedition->trueHeight?measuring_units_string($expedition->height_units,"size"):'';
print '</td></tr>'; print '</td></tr>';
// Depth // Depth
print '<tr><td>'.$html->editfieldkey("Depth",'trueDepth',$expedition->trueDepth,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">'; print '<tr><td>'.$html->editfieldkey("Depth",'trueDepth',$expedition->trueDepth,'id',$expedition->id,$user->rights->expedition->creer).'</td><td colspan="3">';
print $html->editfieldval("Depth",'trueDepth',$expedition->trueDepth,'id',$expedition->id,$user->rights->expedition->creer); print $html->editfieldval("Depth",'trueDepth',$expedition->trueDepth,'id',$expedition->id,$user->rights->expedition->creer);
print measuring_units_string($expedition->depth_units,"size"); print $expedition->trueDepth?measuring_units_string($expedition->depth_units,"size"):'';
print '</td></tr>'; print '</td></tr>';
// Status // Status

View File

@ -115,8 +115,8 @@ if ($resql)
print "<a href=\"fiche.php?id=".$objp->rowid."\">".$objp->ref."</a></td>\n"; print "<a href=\"fiche.php?id=".$objp->rowid."\">".$objp->ref."</a></td>\n";
// Third party // Third party
print '<td>'; print '<td>';
$companystatic->id=$objp->id; $companystatic->id=$objp->socid;
$companystatic->ref=$objp->id; $companystatic->ref=$objp->socname;
$companystatic->nom=$objp->socname; $companystatic->nom=$objp->socname;
print $companystatic->getNomUrl(1); print $companystatic->getNomUrl(1);
print '</td>'; print '</td>';