$scope.user.registration_type == 'symposium' ||
$scope.user.registration_type == 'round'
) {
+ if ( angular.isUndefined( $scope.registration.work ) ) {
+ $log.info('create empty work');
+ $scope.registration.work = { persons: [ $scope.user ] };
+ if ( angular.isUndefined( $scope.work ) )
+ $scope.work = $scope.registration.work;
+ }
+
+
$scope.work.type = $scope.user.registration_type;
$scope.has_work = true;
$log.info( $scope.user.registration_type, " type updated");