';
// Numero demande
body += '';
body +=
'| Numéro demande | ';
body += '' + numDemande + ' | ';
body += '
';
// Date demande
body += '';
body += '| Date | ';
body +=
'' +
moment()
.lang('fr')
.format('LLLL') +
' | ';
body += '
';
// Demandeur
body += '';
body += '| Demandeur | ';
body += '' + $scope.result.eligibilite.prenom + ' ' + $scope.result.eligibilite.nom + ' | ';
body += '
';
// Email
body += '';
body += '| Email | ';
body += '' + $scope.result.eligibilite.email + ' | ';
body += '
';
// Adresse
body += '';
body += '| Adresse | ';
body += '' + computeFullAddress() + ' | ';
body += '
';
// Vous etes
var cat = _.find(catVousEtes, { id: $scope.result.eligibilite.vous_etes });
var res = cat && cat.name ? cat.name : $scope.result.eligibilite.vous_etes;
body += '';
body += '| Vous êtes | ';
body += '' + res + ' | ';
body += '
';
// Ce logement est
var cat2 = _.find(catCeLogementEst, { id: $scope.result.eligibilite.ce_logement_est });
var res2 = cat2 && cat2.name ? cat2.name : $scope.result.eligibilite.ce_logement_est;
body += '';
body += '| Ce logement est | ';
body += '' + res2 + ' | ';
body += '
';
body += '