Просмотр исходного кода

try to disable billing cycle dropdown

andre 7 месяцев назад
Родитель
Сommit
acd0d815a2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      products.tpl

+ 1 - 1
products.tpl

@@ -259,7 +259,7 @@
 						</table>
 						{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;">
 									{$LANG.request}