Look: Modif esthétiques mineures
This commit is contained in:
parent
023f6b1e0a
commit
567c7b6294
@ -232,7 +232,7 @@ if ($socid > 0)
|
|||||||
|
|
||||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$societe->pays.'</td></tr>';
|
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$societe->pays.'</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.dolibarr_print_phone($societe->tel,$societe->pays_code).' </td><td>'.$langs->trans("Fax").'</td><td>'.$societe->fax.' </td></tr>';
|
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.dolibarr_print_phone($societe->tel,$societe->pays_code).' </td><td>'.$langs->trans("Fax").'</td><td>'.dolibarr_print_phone($societe->fax,$societe->pays_code).' </td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Web")."</td><td colspan=\"3\"><a href=\"http://$societe->url\">$societe->url</a> </td></tr>";
|
print '<tr><td>'.$langs->trans("Web")."</td><td colspan=\"3\"><a href=\"http://$societe->url\">$societe->url</a> </td></tr>";
|
||||||
|
|
||||||
print "<tr><td nowrap>".$langs->transcountry("ProfId1",$societe->pays_code)."</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=".$societe->siren."\">".$societe->siren."</a> </td>";
|
print "<tr><td nowrap>".$langs->transcountry("ProfId1",$societe->pays_code)."</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=".$societe->siren."\">".$societe->siren."</a> </td>";
|
||||||
|
|||||||
@ -129,7 +129,31 @@ if ($socid > 0)
|
|||||||
print '<tr><td valign="top" width="50%">';
|
print '<tr><td valign="top" width="50%">';
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
print '<tr><td width="20%">'.$langs->trans("Name").'</td><td width="80%" colspan="3">'.$societe->nom.'</td></tr>';
|
print '<tr><td width="20%">'.$langs->trans("Name").'</td><td width="80%" colspan="3">'.$societe->nom.'</td></tr>';
|
||||||
|
|
||||||
|
print '<td>'.$langs->trans("Prefix").'</td><td colspan="3">';
|
||||||
|
print ($societe->prefix_comm?$societe->prefix_comm:' ');
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
if ($societe->client) {
|
||||||
|
print '<tr>';
|
||||||
|
print '<td nowrap width="100">'.$langs->trans("CustomerCode"). '</td><td colspan="3">'. $societe->code_client . '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
print '<tr>';
|
||||||
|
print '<td nowrap>'.$langs->trans("CustomerAccountancyCode").'</td><td colspan="3">'.$societe->code_compta.'</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($societe->fournisseur) {
|
||||||
|
print '<tr>';
|
||||||
|
print '<td nowrap>'.$langs->trans("SupplierCode"). '</td><td colspan="3">'. $societe->code_fournisseur . '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
print '<tr>';
|
||||||
|
print '<td nowrap>'.$langs->trans("SupplierAccountancyCode").'</td><td colspan="3">'.$societe->code_compta_fournisseur.'</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
print '<tr><td valign="top">'.$langs->trans("Address").'</td><td colspan="3">'.nl2br($societe->adresse)."</td></tr>";
|
print '<tr><td valign="top">'.$langs->trans("Address").'</td><td colspan="3">'.nl2br($societe->adresse)."</td></tr>";
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans('Zip').'</td><td>'.$societe->cp.'</td>';
|
print '<tr><td>'.$langs->trans('Zip').'</td><td>'.$societe->cp.'</td>';
|
||||||
@ -137,21 +161,12 @@ if ($socid > 0)
|
|||||||
|
|
||||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$soc->pays.'</td>';
|
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$soc->pays.'</td>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.$societe->tel.' </td><td>Fax</td><td>'.$societe->fax.' </td></tr>';
|
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.dolibarr_print_phone($societe->tel,$societe->pays_code).' </td><td>'.$langs->trans("Fax").'</td><td>'.dolibarr_print_phone($societe->fax,$societe->pays_code).' </td></tr>';
|
||||||
|
|
||||||
print '<tr><td nowrap>'.$langs->transcountry("ProfId1",$societe->pays_code).'</td><td><a href="http://www.societe.com/cgi-bin/recherche?rncs='.$societe->siren.'">'.$societe->siren.'</a> </td>';
|
print "<tr><td nowrap>".$langs->transcountry("ProfId1",$societe->pays_code)."</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=".$societe->siren."\">".$societe->siren."</a> </td>";
|
||||||
print '<td>'.$langs->trans("Prefix").'</td><td>';
|
print '<td>'.$langs->transcountry('ProfId2',$societe->pays_code).'</td><td>'.$societe->siret.'</td></tr>';
|
||||||
if ($societe->prefix_comm)
|
|
||||||
{
|
|
||||||
print $societe->prefix_comm;
|
|
||||||
}
|
|
||||||
|
|
||||||
print "</td></tr>";
|
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("AccountancyCode").'</td><td>'.$societe->code_compta.'</td>';
|
print '<tr><td>'.$langs->transcountry('ProfId3',$societe->pays_code).'</td><td>'.$societe->ape.'</td><td colspan="2"> </td></tr>';
|
||||||
print '<td>'.$langs->trans("CustomerCode").'</td><td>';
|
|
||||||
print $societe->code_client;
|
|
||||||
print "</td></tr>";
|
|
||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
@ -159,7 +174,6 @@ if ($socid > 0)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
print "</td></tr></table>\n";
|
print "</td></tr></table>\n";
|
||||||
print '<br>';
|
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
@ -277,7 +291,9 @@ else
|
|||||||
{
|
{
|
||||||
print "Erreur";
|
print "Erreur";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -583,8 +583,7 @@ else
|
|||||||
print '<td width="50" align="right">'.$langs->trans("PriceUHT").'</td>';
|
print '<td width="50" align="right">'.$langs->trans("PriceUHT").'</td>';
|
||||||
print '<td width="30" align="center">'.$langs->trans("Qty").'</td>';
|
print '<td width="30" align="center">'.$langs->trans("Qty").'</td>';
|
||||||
print '<td width="50" align="right">'.$langs->trans("Discount").'</td>';
|
print '<td width="50" align="right">'.$langs->trans("Discount").'</td>';
|
||||||
print '<td width="16"> </td>';
|
print '<td width="30"> </td>';
|
||||||
print '<td width="16"> </td>';
|
|
||||||
print '<td width="30" align="center">'.$langs->trans("Status").'</td>';
|
print '<td width="30" align="center">'.$langs->trans("Status").'</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
@ -627,25 +626,23 @@ else
|
|||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
}
|
}
|
||||||
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
|
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
|
||||||
|
print '<td align="center" nowrap>';
|
||||||
if ($contrat->statut != 2 && $user->rights->contrat->creer)
|
if ($contrat->statut != 2 && $user->rights->contrat->creer)
|
||||||
{
|
{
|
||||||
print '<td align="right"><a href="fiche.php?id='.$id.'&action=editline&rowid='.$objp->rowid.'">';
|
print '<a href="fiche.php?id='.$id.'&action=editline&rowid='.$objp->rowid.'">';
|
||||||
print img_edit();
|
print img_edit();
|
||||||
print '</a></td>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print '<td> </td>';
|
print ' ';
|
||||||
}
|
}
|
||||||
if ($contrat->statut == 0 && $user->rights->contrat->creer)
|
if ($contrat->statut == 0 && $user->rights->contrat->creer)
|
||||||
{
|
{
|
||||||
print '<td align="right"><a href="fiche.php?id='.$id.'&action=deleteline&lineid='.$objp->rowid.'">';
|
print '<a href="fiche.php?id='.$id.'&action=deleteline&lineid='.$objp->rowid.'">';
|
||||||
print img_delete();
|
print img_delete();
|
||||||
print '</a></td>';
|
print '</a>';
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<td> </td>';
|
|
||||||
}
|
}
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
// Statut
|
// Statut
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
@ -697,7 +694,6 @@ else
|
|||||||
print dolibarr_print_date($objp->date_fin_reelle);
|
print dolibarr_print_date($objp->date_fin_reelle);
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td> </td>';
|
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -713,7 +709,7 @@ else
|
|||||||
print '<textarea name="eldesc" cols="60" rows="1">'.$objp->description.'</textarea></td>';
|
print '<textarea name="eldesc" cols="60" rows="1">'.$objp->description.'</textarea></td>';
|
||||||
print '<td align="right"><input size="6" type="text" name="elprice" value="'.price($objp->subprice).'"></td>';
|
print '<td align="right"><input size="6" type="text" name="elprice" value="'.price($objp->subprice).'"></td>';
|
||||||
print '<td align="center"><input size="3" type="text" name="elqty" value="'.$objp->qty.'"></td>';
|
print '<td align="center"><input size="3" type="text" name="elqty" value="'.$objp->qty.'"></td>';
|
||||||
print '<td align="right"><input size="3" type="text" name="elremise_percent" value="'.$objp->remise_percent.'">%</td>';
|
print '<td align="right"><input size="2" type="text" name="elremise_percent" value="'.$objp->remise_percent.'">%</td>';
|
||||||
print '<td align="center" colspan="3"><input type="submit" class="button" value="'.$langs->trans("Save").'"></td>';
|
print '<td align="center" colspan="3"><input type="submit" class="button" value="'.$langs->trans("Save").'"></td>';
|
||||||
// Ligne dates prévues
|
// Ligne dates prévues
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user