Skip to content

Conversation

@phpdevcommunity
Copy link

i fixed all dépraciation for a migration to Symfony 3.4.
I modified some files css for a more modern look.
I fixed some bugs like for "class LoadEstimate".

pdf:
enabled: true
# Edit this to change the location of wkhtmltopdf binary.
#binary: /usr/local/bin/wkhtmltopdf #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\"" for Windows users
Copy link
Member

Choose a reason for hiding this comment

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

Please undo these changes before i can merge the PR :)

Copy link
Author

@phpdevcommunity phpdevcommunity Jun 21, 2018

Choose a reason for hiding this comment

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

ok no problem.

# Edit this to change the location of wkhtmltopdf binary.
#binary: /usr/local/bin/wkhtmltopdf #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\"" for Windows users
options: []
binary: /usr/bin/xvfb-run /usr/bin/wkhtmltopdf
Copy link
Member

Choose a reason for hiding this comment

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

^^

protected $bundles;

public function __construct(array $bundles) {

Copy link
Member

Choose a reason for hiding this comment

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

Not needed change

protected $em;

public function __construct(EntityManager $em)
public function __construct(EntityManagerInterface $em)
Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

*/
public function __construct()
{
$this->reference = 'P'.date("Y").mt_rand(10000,99999);
Copy link
Member

Choose a reason for hiding this comment

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

Also irrelevant i think? Can we please get this in a separate PR and discuss there?

Copy link
Author

Choose a reason for hiding this comment

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

ok no problem.

private $session;

public function __construct(Session $session)
public function __construct(SessionInterface $session)
Copy link
Member

Choose a reason for hiding this comment

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

Great 👍

@ParisLiakos ParisLiakos added this to the v1.1 milestone Mar 23, 2018
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.

2 participants