Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brochure pdf #75

Merged
merged 4 commits into from
Mar 5, 2019
Merged

Brochure pdf #75

merged 4 commits into from
Mar 5, 2019

Conversation

ayumiesan
Copy link

resolves #37

Generate the brochure Pdf with :

  • pages
  • sponsorship level benefit table
  • special sponsorships

src/Controller/GeneratePdf.php Outdated Show resolved Hide resolved
src/Controller/GeneratePdf.php Outdated Show resolved Hide resolved
src/Controller/GeneratePdf.php Outdated Show resolved Hide resolved
src/Repository/Page/PageManagerInterface.php Outdated Show resolved Hide resolved
src/Service/FileUploader.php Outdated Show resolved Hide resolved
src/Service/PdfCreator.php Outdated Show resolved Hide resolved
src/Service/PdfCreator.php Outdated Show resolved Hide resolved
lbassin
lbassin previously approved these changes Dec 24, 2018
@lbassin
Copy link
Contributor

lbassin commented Dec 24, 2018

Looks good for me
While testing i thought about something, don't you think the url /pdf isn't clear enough ? I mean it could be any pdf
If you have time to change it to /sponsorships/pdf or something like that it would be great

@tdutrion tdutrion changed the base branch from develop to master January 8, 2019 17:37
@tdutrion tdutrion changed the base branch from master to develop January 8, 2019 17:37
src/Service/FileUploader.php Show resolved Hide resolved
public function create(): void
{
$this->pdf = new Html2Pdf($this->orientation, $this->format, $this->lang, $this->unicode, $this->encoding, $this->margin);
$this->pdf->setTestIsImage(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that necessary? I remember it's needed in some cases but can't remember exactly when... Sounds like it can allow problems though...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this, it doesn't work

@cgrandval cgrandval merged commit 1179697 into DarkmiraTour:develop Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate the PDF of the sponsorship brochure
4 participants