Skip to content

Commit

Permalink
Merge pull request #158 from CanalTP/bugfix-bot-125-send-page-size
Browse files Browse the repository at this point in the history
Send page size for pdf generator
  • Loading branch information
Vincent Lepot authored Jun 2, 2017
2 parents 9f6110f + 98a580f commit 6354dd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Services/Amqp/PdfPayloadsGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ private function getPayload($perimeter, $season, $lineConfig, $externalRouteId,
$payload['pdfHash'] = isset($stopPoint->pdfHash) ? $stopPoint->pdfHash : '';
$payload['layoutParams'] = array(
'orientation' => $lineConfig->getLayoutConfig()->getLayout()->getOrientationAsString(),
'pageSize' => $lineConfig->getLayoutConfig()->getLayout()->getPageSize(),
);
$payload['cssVersion'] = $lineConfig->getLayoutConfig()->getLayout()->getCssVersion();
$payload['url'] = $this->generatePayloadUrl();
Expand Down

0 comments on commit 6354dd4

Please sign in to comment.