Kaynağa Gözat

try to disable billing cycle dropdown

andre 7 ay önce
ebeveyn
işleme
acd0d815a2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      products.tpl

+ 1 - 1
products.tpl

@@ -259,7 +259,7 @@
 						</table>
 						</table>
 						{if $product.pricing.type eq 'free'}
 						{if $product.pricing.type eq 'free'}
 
 
-							{if (count($clientActiveFree) + count($clientCardFree)) > ((int)$clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":"")}
+							{if (count($clientActiveFree) + count($clientCardFree)) > (1 + (int)$clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":"")}
 
 
 								<a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.moretrials} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
 								<a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.moretrials} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
 									{$LANG.request}
 									{$LANG.request}