123 |
dolibarr_fiche_head($head, $hselected, $soc->nom); |
dolibarr_fiche_head($head, $hselected, $soc->nom); |
124 |
|
|
125 |
/* |
/* |
126 |
* Fiche société en mode visu |
* Fiche société en mode visu |
127 |
*/ |
*/ |
128 |
|
|
129 |
print '<table class="border" width="100%">'; |
print '<table class="border" width="100%">'; |
130 |
print '<tr><td width="20%">'.$langs->trans('Name').'</td><td colspan="3">'.$soc->nom.'</td></tr>'; |
print '<tr><td width="20%">'.$langs->trans('Name').'</td><td colspan="3">'.$soc->nom.'</td></tr>'; |
131 |
|
|
132 |
print '<tr><td>'; |
print '<tr><td>'; |
133 |
print $langs->trans('CustomerCode').'</td><td width="20%">'; |
print $langs->trans('CustomerCode').'</td><td width="20%">'; |
134 |
print $soc->code_client; |
print $soc->code_client; |
135 |
if ($soc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode"); |
if ($soc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode"); |
136 |
print '</td><td>'.$langs->trans('Prefix').'</td><td>'.$soc->prefix_comm.'</td></tr>'; |
print '</td><td>'.$langs->trans('Prefix').'</td><td>'.$soc->prefix_comm.'</td></tr>'; |
137 |
|
|
138 |
print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".nl2br($soc->adresse)."</td></tr>"; |
print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".nl2br($soc->adresse)."</td></tr>"; |
139 |
|
|