Available Pods

#set($classlist = $testbench.getClassesForProduct($product)) #if ($classlist.size()==0) No pods available at this time. #else #if($lg.capped == "true") #end #foreach($lg in $classlist) #set($quantity = $testbench.getRemainingCap($lg)) #if(!$quantity) #set($quantity = 0) #end #if($cancheckout) #if(!$user) #set($link = "$apphome/shop/views/modules/userprofile/registration/index.html?productid=${product.id}&lg=$lg.id") #else #set($link = "$apphome/shop/views/cart/checkout/selectcourse.html?productid=${product.id}&lg=$lg.id") #end #else #if(!$user) #set($link = "$apphome/shop/views/modules/userprofile/registration/index.html?productid=${product.id}&lg=$lg.id") #else #set($link = "$apphome/shop/views/cart/notpossibletopurchase.html") ## This is the case where they are already logged in, just are not allowed to purchase courses. #end #end #if($product.ecommercedisabled == "true") #set($link = "$apphome/shop/register.html") ## need to be able to disable some courses. #end #if($lg.capped == "true") #end #end
Class Scheduled Dates Registration DeadlineTotal Spaces Remaining
$lg $!DateStorageUtil.formatDate($!lg.startdate, "dd-MMM-yyyy") - $!DateStorageUtil.formatDate($!lg.enddate, "dd-MMM-yyyy")
($!lg.classstarttime - $!lg.classendtime)
$!DateStorageUtil.formatDate($!lg.registrationdeadline, "dd-MMM-yyyy") $quantity Remaining #if($lg.capped != "true" || $quantity > 0) #if($canpurchase) Register Now #end #else Sold Out #end
#end