Permission and invoice fixes

better front admin menu handel and fixe to make PDF work with the
universal Joomla PDF render.