|
@@ -1,4 +1,3 @@
|
|
|
-{debug}
|
|
|
|
|
{include file="orderforms/{$carttpl}/common.tpl"}
|
|
{include file="orderforms/{$carttpl}/common.tpl"}
|
|
|
|
|
|
|
|
<!-- Start of Template: orderforms/thurdata/products.tpl -->
|
|
<!-- Start of Template: orderforms/thurdata/products.tpl -->
|
|
@@ -246,15 +245,15 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
- {if ($product.pricing.type eq 'free') && ((count($clientActiveFree) + count($clientCardFree)) > (1 + $clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":""))}
|
|
|
|
|
|
|
+ {if ($product.pricing.minprice.price->toNumeric() == 0.00) && ((count($clientActiveFree) + count($clientCardFree)) > (1 + $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}
|
|
|
</a>
|
|
</a>
|
|
|
- {elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientPids && !in_array($product.pid, $clientActiveFree))}
|
|
|
|
|
|
|
+ {elseif ($product.pricing.minprice.price->toNumeric() == 0.00) && in_array($product.pid, $clientPids && !in_array($product.pid, $clientActiveFree))}
|
|
|
<a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.tryagain} {$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.tryagain} {$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.tryagain}
|
|
{$LANG.tryagain}
|
|
|
</a>
|
|
</a>
|
|
|
- {elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientCardFree)}
|
|
|
|
|
|
|
+ {elseif ($product.pricing.minprice.price->toNumeric() == 0.00) && in_array($product.pid, $clientCardFree)}
|
|
|
<a class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;pointer-events:none;">
|
|
<a class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;pointer-events:none;">
|
|
|
{$LANG.alreadyincard}
|
|
{$LANG.alreadyincard}
|
|
|
</a>
|
|
</a>
|