-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Invoice enhancements #16569
Invoice enhancements #16569
Conversation
(Standard links)
|
a8d8697
to
69d0973
Compare
1463751
to
ef97170
Compare
@magnolia61 This needs to be handled for upgrade as well right? |
yep, i will add the upgrade files later today, but I will also create a gitlab issue for this one, as I hope some people will test the pdf creation of the invoice and comment on it. Are you able to test this invoice template? |
ef97170
to
08828da
Compare
@magnolia61 i did similar changes for formatting the invoice template Key improvement was : I would like to add these changes.. may be after this PR get merged. |
Nice Sunil, Great plan I think. I am finalizing my first layout cleanup part. After that I want to take a look more at the logic of the invoice. I tried to add the country for billing contact but {$country} did not work for me. What did you use? |
@magnolia61
then assign it to template |
I think this PR fixes the country token? #15964 @magnolia61 @sunilpawar If that's the case then I think we should get that merged and then build on that for invoice improvements. |
Hi Matt, I can confirm that patch enables {$country} as a token in the template. |
08828da
to
ff2751e
Compare
Hello Sunil, I opened up https://lab.civicrm.org/dev/core/issues/1617 |
Logo nitpick: I think it was meant as an example of what an invoice could look like, but otherwise it gives the impression that the invoice is from an organization called CiviCRM, which is misleading. It might be best to remove the logo completely? Otherwise we are just encouraging people to disable the display of the CiviCRM logo on their frontend forms. edit: to clarify, overall this is a really nice improvement. We/Symbiotic use invoicing a lot, it's a really nice & undervalued feature of CiviCRM. We always replaced the default template, but it's a nice feature and we should provide a sane default invoice that everyone can use. |
@magnolia61 can you rebase - the upgrade script is hitting conflicts. Regarding the logo - good points by @mlutfy but I think it's probably better not to remove the logo in this PR as I this PR doesn't add it & it feels like scope creep - also as a follow up it might attract discussion which might be appropriate in it's own issue |
ff2751e
to
72afd77
Compare
67694ba
to
6df1469
Compare
@magnolia61 how about removing the upgrade from this PR & putting it up separately once this is merged? |
7c99cc2
to
4937a52
Compare
I removed the upgrader and test.
Did the test not properly re-run? |
jenkins, test this please |
I feel like there is a weird github caching issue:
yet when we view the changes, the |
I think it's the way git apply works when there's multiple commits in the patch across time and other changes in between. If you squash the commits it will probably fix it. |
@magnolia61 try squashing to one commit |
777f7ea
to
572f54f
Compare
2bd7057
to
8c20952
Compare
268963c
to
ea7a4b9
Compare
:-) maybe better to start a new pr to bypass the mess? |
Git is fun yeah? What's kept me from taking a hammer to the nearest thing I can find is usually:
But if you have actual file conflicts during the first command then I find it's easier to make a new branch based on a fresh master and copy/paste your changes over. If you go the hammer route, aim for something that isn't yours in a way that makes it look like you were aiming for something else. |
b3e770b
to
a2cb3ec
Compare
c2e3c26
to
2bef0ef
Compare
I gave up on this one. Next attempt at #16680 :-) |
Overview
The Contribution Invoice workflow template needed some quick fixes:
Before
Bit of a messy Invoice Layout
After
Clean professional layout
WITHOUT CIVICRM LOGO
WITH CIVICRM LOGO
Technical Details
Just the template file for now, upgrade files will follow
Comments
Ideally the Contribution Invoice would use a configurable logo.
I have been thinking to use the Profile picture from the system user, but I will open a gitlab to discuss the best option for this.