bug fix view-barcode.ftl

There was an issue which led to a working version in the new ViewType but not with the old .