Skip to content

Commit e7ebd39

Browse files
committed
Fix warning on free service
1 parent b3de55c commit e7ebd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myaccount/tpl/support.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
121121
<div class="portlet-title">
122122
<div class="caption">';
123-
if ((!empty($mythirdpartyaccount->tva_assuj) && empty($mythirdpartyaccount->tva_intra))
123+
if ((!empty($mythirdpartyaccount->tva_assuj) && empty($mythirdpartyaccount->tva_intra) && !getDolGlobalString('SELLYOURSAAS_ENABLE_FREE_PAYMENT_MODE'))
124124
|| empty($mythirdpartyaccount->array_options['options_firstname'])
125125
|| empty($mythirdpartyaccount->array_options['options_lastname'])) {
126126
print '<br>';

0 commit comments

Comments
 (0)