Browse Source

use zero amount as trial

andre 4 years ago
parent
commit
07e29692d3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      templates/clientarea.tpl

+ 2 - 2
templates/clientarea.tpl

@@ -69,7 +69,7 @@
                         <td class="list-heading" style="font-size: 85%;">{$LANG.clientareahostingregdate}</td>
                         <td class="list-heading" style="font-size: 85%;">{$LANG.clientareahostingregdate}</td>
                         <td class="list-text" style="font-size: 85%;">{$regdate}</td>
                         <td class="list-text" style="font-size: 85%;">{$regdate}</td>
                     </tr>
                     </tr>
-                    {if ($firstpaymentamount->toNumeric() != 0.00) || ($recurringamount->toNumeric() != 0.00)}
+                    {if ($firstpaymentamount->toNumeric() != 0.00 + $recurringamount->toNumeric()) != 0.00 }
                         <tr>
                         <tr>
                             <td class="list-heading" style="font-size: 85%;">{$LANG.firstpaymentamount}</td>
                             <td class="list-heading" style="font-size: 85%;">{$LANG.firstpaymentamount}</td>
                             <td class="list-text"  style="font-size: 85%;">{$firstpaymentamount}</td>
                             <td class="list-text"  style="font-size: 85%;">{$firstpaymentamount}</td>
@@ -92,7 +92,7 @@
                         </tr>
                         </tr>
                   {else}
                   {else}
                         <tr>
                         <tr>
-                            <td class="list-heading" style="font-size: 85%;"><strong>Trial Account {$recurringamount->toNumeric()}</strong></td>
+                            <td class="list-heading" style="font-size: 85%;"><strong>Trial Account</strong></td>
                             {if 1123200 > ($smarty.now - ($regdate|@strtotime)) && ($smarty.now - ($regdate|@strtotime)) > 950400} {* wenn Heute - RegisterDatum < 13 Tage && > 11 Tage *}
                             {if 1123200 > ($smarty.now - ($regdate|@strtotime)) && ($smarty.now - ($regdate|@strtotime)) > 950400} {* wenn Heute - RegisterDatum < 13 Tage && > 11 Tage *}
                                 <td class="list-text" style="color:orange; font-size:85%">Endet in {(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)} Tagen</td>
                                 <td class="list-text" style="color:orange; font-size:85%">Endet in {(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)} Tagen</td>
                             {elseif ($smarty.now - ($regdate|@strtotime)) > 1123200} {* wenn Heute - RegisterDatum > 13 Tage *}
                             {elseif ($smarty.now - ($regdate|@strtotime)) > 1123200} {* wenn Heute - RegisterDatum > 13 Tage *}