[
{ contractenddate => { '>=' => \'now()' } },
{ $basket ? ( contractnumber => $basket->contractnumber ) : () }
]
],
{ order_by => 'contractname' },
);
$template->param(
-