ccg %}
      // When viewing at CCG level, drill down to practices
      var first_column = 'presentation';
      var first_column_render = function(data, type, full, meta) {
        {% if not entity %}
          var url = '{% url "all_england_price_per_unit_by_presentation" "BNFCODE" %}'.replace(/BNFCODE/, data)
          var rendered = ' <a href="'+url+'?date='+ full['date']+ '">'+full['name']+'</a>';
        {% else %}
          var rendered = ' <a href="/sicbl/{{ entity.code }}/'+data+'/price_per_unit/?