Skip to content

Commit 74c0fbb

Browse files
Merge pull request #73 from Zales0123/remove-knp-snappy-configuration
⚡️
2 parents 1e559a6 + bd87005 commit 74c0fbb

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@ From Administrator's point of view, every Refund request results in creating two
5858
resource: "@SyliusRefundPlugin/Resources/config/routing.yml"
5959
````
6060
61-
5. Clear cache:
61+
5. Configure `KnpSnappyBundle` (if you don't have it configured yet):
62+
63+
````yaml
64+
knp_snappy:
65+
pdf:
66+
enabled: true
67+
binary: #path to your wkhtmltopdf binary file
68+
options: []
69+
````
70+
71+
6. Clear cache:
6272
6373
```bash
6474
bin/console cache:clear

src/Resources/config/app/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ winzou_state_machine:
4747
from: [New]
4848
to: Completed
4949

50-
knp_snappy:
51-
pdf:
52-
enabled: true
53-
binary: /usr/local/bin/wkhtmltopdf
54-
options: []
55-
5650
sylius_grid:
5751
templates:
5852
filter:

0 commit comments

Comments
 (0)