Skip to content

Commit 5ea95d0

Browse files
committed
Add info about SIRET
1 parent c7f8308 commit 5ea95d0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

myaccount/tpl/mycustomerbilling.tpl.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
* @var Conf $conf
2020
* @var DoliDB $db
2121
* @var HookManager $hookmanager
22+
* @var Societe $mysoc
2223
* @var Translate $langs
24+
*
25+
* @var Societe $mythirdpartyaccount
2326
*/
2427

2528
// Protection to avoid direct call of template
@@ -440,7 +443,8 @@
440443

441444
print '<br>';
442445
print $langs->trans("YouCanClainAmountWhen", price(getDolGlobalInt('SELLYOURSAAS_MINAMOUNT_TO_CLAIM', 100), 0, $langs, 1, -1, -1, $conf->currency)).'<br>';
443-
$labelforcompany = $mysoc->name. ' <span class="opacitymedium">('.$langs->transnoentitiesnoconv("VATIntra").': '.$mysoc->tva_intra.', '.$langs->trans("Address").': '.$mysoc->getFullAddress(1, ',').')</span>';
446+
$labelforcompany = $mysoc->name;
447+
$labelforcompany .= ' <span class="opacitymedium">('.$langs->transcountry("ProfId1", $mysoc->country_code).': '.$mysoc->idprof1.', '.$langs->transnoentitiesnoconv("VATIntra").': '.$mysoc->tva_intra.', '.$langs->trans("Address").': '.$mysoc->getFullAddress(1, ',').')</span>';
444448

445449
$emailforresellerinvoice = getDolGlobalString('SELLYOURSAAS_RESELLER_EMAIL');
446450
if (! empty($mythirdpartyaccount->array_options['options_domain_registration_page'])

myaccount/tpl/mymodulecustomerbilling.tpl.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
* @var Conf $conf
2020
* @var DoliDB $db
2121
* @var HookManager $hookmanager
22+
* @var Societe $mysoc
2223
* @var Translate $langs
24+
*
25+
* @var Societe $mythirdpartyaccount
2326
*/
2427

2528
// Protection to avoid direct call of template
@@ -457,7 +460,8 @@
457460

458461
print '<br>';
459462
print $langs->trans("YouCanClainAmountWhen", price(getDolGlobalInt('SELLYOURSAAS_MINAMOUNT_TO_CLAIM', 100), 0, $langs, 1, -1, -1, $conf->currency)).'<br>';
460-
$labelforcompany = $mysoc->name. ' <span class="opacitymedium">('.$langs->transnoentitiesnoconv("VATIntra").': '.$mysoc->tva_intra.', '.$langs->trans("Address").': '.$mysoc->getFullAddress(1, ',').')</span>';
463+
$labelforcompany = $mysoc->name;
464+
$labelforcompany .= ' <span class="opacitymedium">('.$langs->transcountry("ProfId1", $mysoc->country_code).': '.$mysoc->idprof1.', '.$langs->transnoentitiesnoconv("VATIntra").': '.$mysoc->tva_intra.', '.$langs->trans("Address").': '.$mysoc->getFullAddress(1, ',').')</span>';
461465

462466
$emailforresellerinvoice = getDolGlobalString('SELLYOURSAAS_RESELLER_EMAIL');
463467
if (! empty($mythirdpartyaccount->array_options['options_domain_registration_page'])

0 commit comments

Comments
 (0)