refactor branch view to use ting_agency_view_agency_branch() function