fix(PdfService): change parse pattern

change parse pattern date YYYY -> yyyy
refactor(class): clean code

clean code unesed variable, wrong init,...