Merge pull request #4220 from tsiegleauq/rec-giver-in-pdf
Add motion reco giver to motion PDF
This commit is contained in:
commit
8cbcd6a5b5
@ -180,9 +180,17 @@ export class MotionPdfService {
|
|||||||
|
|
||||||
// recommendation
|
// recommendation
|
||||||
if (motion.recommendation && (!infoToExport || infoToExport.includes('recommendation'))) {
|
if (motion.recommendation && (!infoToExport || infoToExport.includes('recommendation'))) {
|
||||||
|
let recommendationByText: string;
|
||||||
|
|
||||||
|
if (motion.isStatuteAmendment()) {
|
||||||
|
recommendationByText = this.configService.instant('motions_statute_recommendations_by');
|
||||||
|
} else {
|
||||||
|
recommendationByText = this.configService.instant('motions_recommendations_by');
|
||||||
|
}
|
||||||
|
|
||||||
metaTableBody.push([
|
metaTableBody.push([
|
||||||
{
|
{
|
||||||
text: `${this.translate.instant('Recommendation')}:`,
|
text: `${recommendationByText}:`,
|
||||||
style: 'boldText'
|
style: 'boldText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user