if($tblStudentAgreementCategory->getName() == 'Foto des Schülers') {
                                    switch($tblStudentAgreement->getTblStudentAgreementType()->getName()){
                                        case 'in Schulschriften':
                                            $Item['Picture1'] = 'Ja';
                                        break;