72 if ($fromcompany->forme_juridique_code) {
76 if ($fromcompany->capital) {
77 $line1 .= ($line1 ?
" - " :
"").$langs->transnoentities(
"CapitalOf", $fromcompany->capital).
" ".$langs->transnoentities(
"Currency".$conf->currency);
83 if ($fromcompany->idprof1 && ($fromcompany->country_code !=
'FR' || !$fromcompany->idprof2)) {
84 $field = $langs->transcountrynoentities(
"ProfId1", $fromcompany->country_code);
85 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
88 $line1 .= ($line1 ?
" - " :
"").$field.
": ".$fromcompany->idprof1;
91 if ($fromcompany->idprof2) {
92 $field = $langs->transcountrynoentities(
"ProfId2", $fromcompany->country_code);
93 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
96 $line1 .= ($line1 ?
" - " :
"").$field.
": ".$fromcompany->idprof2;
102 if ($fromcompany->idprof3) {
103 $field = $langs->transcountrynoentities(
"ProfId3", $fromcompany->country_code);
104 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
107 $line2 .= ($line2 ?
" - " :
"").$field.
": ".$fromcompany->idprof3;
110 if ($fromcompany->idprof4) {
111 $field = $langs->transcountrynoentities(
"ProfId4", $fromcompany->country_code);
112 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
115 $line2 .= ($line2 ?
" - " :
"").$field.
": ".$fromcompany->idprof4;
118 if ($fromcompany->tva_intra !=
'') {
119 $line2 .= ($line2 ?
" - " :
"").$langs->transnoentities(
"VATIntraShort").
": ".$fromcompany->tva_intra;
122 print
'<br><br><hr>'.
"\n";
123 print
'<div class="center"><span style="font-size: 10px;">'.
"\n";
124 print $fromcompany->name.
'<br>';
127 print
'</span></div>'.
"\n";
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode='add', $filterorigmodule='')
Complete or removed entries into a head array (used to build tabs).