Commit graph

104 commits

Author SHA1 Message Date
Rohan Bansal
c5464e2c5a fix: requested changes 2021-11-04 14:50:37 +05:30
Rohan Bansal
64c18a3187 feat: allow more print page size options 2021-10-26 17:04:41 +05:30
Faris Ansari
5345d4ce7b Merge branch 'develop' of https://github.com/frappe/frappe into print-format-builder-beta 2021-10-20 18:40:18 +05:30
Faris Ansari
76b5ee8b9e feat: Field Templates
- standard field templates for rendering custom templates for fields for e.g., taxes in invoice
- ability to create user defined reusable templates that show up in print format builder
2021-10-19 19:12:15 +05:30
Faris Ansari
c31bf0aadc fix: Page number
- simpler configuration
- remove arbitrary margin text configuration
2021-10-19 15:45:40 +05:30
Suraj Shetty
22ffe27217 fix: Permission check for default print format 2021-10-14 11:00:46 +05:30
Anupam
5387e48a59 fix: network printer settings permission issue 2021-10-07 12:11:29 +05:30
Faris Ansari
4bdacf7d81 feat: Better Letterhead editing
- Image resize and align
2021-10-03 14:42:45 +05:30
Anupam
f10d2251e1 fix: sider issue 2021-09-27 10:21:19 +05:30
Anupam
06667968ab fix: error message 2021-09-27 10:21:19 +05:30
Anupam
3f0df6946e fix: error message 2021-09-27 10:21:19 +05:30
Anupam
2bd2ee3655 fix: sider issues 2021-09-27 10:21:19 +05:30
Anupam
cfe4dc41c0 review changes 2021-09-27 10:21:19 +05:30
Anupam
be2abdbc56 fix: removing print statements 2021-09-27 10:21:19 +05:30
Anupam
55bd04f91b fix: sider issues 2021-09-27 10:21:19 +05:30
Anupam
ec938c960e feat: provision to add multiple network printers 2021-09-27 10:21:19 +05:30
Faris Ansari
f4bd62c010 feat: More features
- Letterhead editing
- Edit Header and Footer
- Margin Text
- PrintFormatGenerator class handles generation of HTML and PDF and repeating of Header/Footer
- Simplify /printpreview
- Separate renderer files for each fieldtype
2021-09-15 18:50:41 +05:30
Faris Ansari
432378c06f fix: misc
- show "Not Saved" when dirty
- Toggle Preview only when format is saved
- save a new format on first load
2021-09-07 10:46:52 +05:30
Faris Ansari
dd03ce8053 fix: Ability to set font via Google Font 2021-09-07 10:45:09 +05:30
leela
3594890eb2 fix: customizing print formats
Currently system managers can only customize the print formats even though
the other roles has a permissions to do so. Fixed it to show
customize button based on permissions.

(cherry picked from commit f9486fce5fb24402fce31e3d36370120c4524a9b)
2021-09-07 01:16:16 +00:00
Faris Ansari
0928c4c172 feat: Use weasyprint to generate PDF
- /printpreview route to preview HTML template
2021-09-06 16:57:37 +05:30
Faris Ansari
b8fbed0f66 feat: New Print Format Builder
- Print Format Builder Beta page
- Add margin fields in Print Format
- Using vuedraggable for drag and drop
2021-09-06 16:56:00 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Suraj Shetty
9a3d280484 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-13 14:23:20 +05:30
Suraj Shetty
3c4306c87a refactor: Fix regex to avoid deprecation warnings 2021-05-10 09:18:50 +05:30
Suraj Shetty
3a4497cd13 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-04-28 10:11:35 +05:30
Frappe Bot
d30596b15e refactor: Delete Qunit test files
Since it is no longer used
2021-04-27 21:37:15 +05:30
Suraj Shetty
f74b3916b6
Merge branch 'develop' into refactor-website 2021-03-10 11:03:14 +05:30
prssanna
297d4c668e fix: print format custom css description 2021-03-02 13:45:09 +05:30
Rushabh Mehta
e79e142061 fix(minor): fix some tests and merge old and new website tests 2021-02-15 17:43:17 +05:30
Suraj Shetty
5af5165218
Merge branch 'develop' into letter-head-disabled-and-default-validation 2021-02-09 22:15:33 +05:30
prssanna
898922f03e fix: letterhead image doesn't show up in pdf 2021-02-05 11:45:40 +05:30
Rushabh Mehta
c93368b242 fix(minor): merge develop 2021-01-08 14:35:55 +05:30
pateljannat
10f620572d fix: orm and message 2021-01-07 15:44:27 +05:30
pateljannat
f4dcf5e05e fix: letter head disabled and default validation issues 2021-01-07 15:44:27 +05:30
Rushabh Mehta
54cee87826 fix(minor): tests + routing 2020-12-24 14:48:40 +05:30
Saqib Ansari
9e4e36041a fix: toggling of show absolute values checkbox 2020-12-14 11:48:10 +05:30
Saqib Ansari
881c426296 fix: typo 2020-12-14 11:39:21 +05:30
Suraj Shetty
25dc9ee222 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-12-11 13:02:36 +05:30
Saqib Ansari
0651341bf8 feat: show absolute value checkbox if doctype has appropriate fields 2020-12-10 20:01:06 +05:30
Saqib Ansari
3296097df6 feat: show absolute value in print format 2020-11-30 15:46:29 +05:30
Suraj Shetty
b5d9c1e816 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-11-06 10:42:37 +05:30
Raffael Meyer
944d3cfbf1
fix: allow "Default Print Language" for custom Print Format (#11800) 2020-11-02 12:59:18 +05:30
prssanna
19e15bff93 fix: remove uom field from print settings 2020-10-22 16:02:27 +05:30
prssanna
285a0b5da5 feat: separate route for print view
- use sidebar layout with settings

- hook to fetch contextual print settings

- change default font to Inter
2020-10-22 15:29:37 +05:30
michellealva
9605e828b1 fix: Change link text 2020-08-29 11:45:53 +05:30
michellealva
6067751e5f fix: Typo in Print Format Help 2020-08-29 11:39:46 +05:30
Anupam K
59ab9249cc fix: print format custom button 2020-07-27 19:40:11 +05:30