{{if $purchase->cancelled}} {lang="purchase_canceled"} {{elseif !$purchase->active}} {lang="purchase_expired"} {{elseif $purchase->expire}} {{if $purchase->grace_period and $purchase->expire->getTimestamp() < time()}} {lang="purchase_in_grace_period_front"} {{else}} {lang="purchase_active"} {{endif}} {{endif}} {lang="$purchase->getTypeTitle()"}