added hooks for pdf template
added missing translation for front office hooks
added tests for Hook action