38 $head[$h][0] = DOL_URL_ROOT.
"/stripe/admin/stripe.php";
39 $head[$h][1] = $langs->trans(
"Stripe");
40 $head[$h][2] =
'stripeaccount';
43 $object =
new stdClass();
70 if ($fromcompany->forme_juridique_code) {
74 if ($fromcompany->capital) {
75 $line1 .= ($line1 ?
" - " :
"").$langs->transnoentities(
"CapitalOf", $fromcompany->capital).
" ".$langs->transnoentities(
"Currency".$conf->currency);
81 if ($fromcompany->idprof1 && ($fromcompany->country_code !=
'FR' || !$fromcompany->idprof2)) {
82 $field = $langs->transcountrynoentities(
"ProfId1", $fromcompany->country_code);
83 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
86 $line1 .= ($line1 ?
" - " :
"").$field.
": ".$fromcompany->idprof1;
89 if ($fromcompany->idprof2) {
90 $field = $langs->transcountrynoentities(
"ProfId2", $fromcompany->country_code);
91 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
94 $line1 .= ($line1 ?
" - " :
"").$field.
": ".$fromcompany->idprof2;
100 if ($fromcompany->idprof3) {
101 $field = $langs->transcountrynoentities(
"ProfId3", $fromcompany->country_code);
102 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
105 $line2 .= ($line2 ?
" - " :
"").$field.
": ".$fromcompany->idprof3;
108 if ($fromcompany->idprof4) {
109 $field = $langs->transcountrynoentities(
"ProfId4", $fromcompany->country_code);
110 if (preg_match(
'/\((.*)\)/i', $field, $reg)) {
113 $line2 .= ($line2 ?
" - " :
"").$field.
": ".$fromcompany->idprof4;
116 if ($fromcompany->tva_intra !=
'') {
117 $line2 .= ($line2 ?
" - " :
"").$langs->transnoentities(
"VATIntraShort").
": ".$fromcompany->tva_intra;
120 print
'<br><br><hr>'.
"\n";
121 print
'<div class="center"><span style="font-size: 10px;">'.
"\n";
122 print $fromcompany->name.
'<br>';
125 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).