Moved cod_surcharge variable to pass into the template correctly.