Commit graph

110 commits

Author SHA1 Message Date
Suraj Shetty
1fd84f6b09 fix: Remove field_id from URL
- scroll to field is not yet supported
2023-05-31 15:42:50 +05:30
Suraj Shetty
a13592a66a fix: Warn users if "Repeat Header and Footer" is disabled
- and if the user still sets Letterhead

Also, add label to the print options
2023-05-31 08:55:59 +05:30
Suraj Shetty
e429101370 fix(print): Language set in document should have higher precedence 2023-03-14 15:13:35 +05:30
Devin Slauenwhite
2223f97f88
fix: print preview when no letterhead is selected (#20286) 2023-03-10 12:10:22 +05:30
Shariq Ansari
efd82c464e fix: checkbox is getting squeezed if label is long 2023-02-14 15:57:11 +05:30
barredterra
0d87870ca3 refactor: better, consistent names 2022-12-08 17:01:35 +01:00
barredterra
6069cde624 fix: remove seemingly useless code 2022-12-08 17:00:46 +01:00
barredterra
c8a196f768 fix: use standard format if none is selected 2022-12-08 16:59:29 +01:00
barredterra
0c3c4bf197 fix: add missing translations (de) 2022-12-08 16:57:32 +01:00
Ankush Menat
08aa17e5a3
Merge branch 'develop' into select-print-language 2022-11-24 13:04:27 +05:30
Ankush Menat
e594c35a3a fix: show fields without labels in print format builder (#18939)
* fix: show fields without labels in print format builder

* refactor: dont hardcode layout fields

[skip ci]

Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>

Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-11-21 14:52:31 +05:30
barredterra
5843aae5f6 fix: set default print format 2022-11-13 23:28:05 +01:00
barredterra
42608ac0c1 fix: set default letterhead 2022-11-13 22:57:26 +01:00
barredterra
aefba91139 refactor: use link for Letter Head 2022-11-09 18:06:50 +01:00
barredterra
75299abec8 fix: add placeholder for language 2022-11-09 18:06:26 +01:00
barredterra
9782f937fd refactor: use link for print format 2022-11-09 18:05:44 +01:00
barredterra
354279d690 fix: use link field to select print language 2022-11-09 15:06:28 +01:00
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Gavin D'souza
a15411d1e1 fix: Skip invalid field in get_print_settings_to_show 2022-06-29 12:53:49 +05:30
Samuel Danieli
19a1393152 feat: make field label translatable 2022-06-27 23:32:55 +02:00
Suraj Shetty
64cc07227e refactor: Replace usage of deprecated attribute 2022-06-21 08:00:49 +05:30
Vishal Dhayagude
b04af618f2
fix: fix ux for print preview page (#17087)
Co-authored-by: Shariq Ansari <sharique.rik@gmail.com>
2022-06-08 14:58:06 +05:30
Maharshi Patel
a79a572f65
fix: print & breadcrumbs for forward slash (#17095) 2022-06-08 13:59:52 +05:30
HENRY Florian
1826c9e9af
fix: translation context for print format align values (#17026) 2022-05-31 14:15:21 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
ChillarAnand
5ca48ae3f6 fix: Fetch only active letter heads 2022-04-04 16:57:25 +05:30
HENRY Florian
7eb5274283
fix: bad closure on double quote print js (#16420) 2022-03-28 17:39:05 +05:30
karthikeyan5
a1c9282368 fix: update refresh lable in print view 2021-12-24 20:35:17 +05:30
karthikeyan5
dd731903bd fix(print page): addtional menu in mobile view 2021-12-24 10:04:42 +05:30
Faris Ansari
c679c08675 fix: lru_cache decorator usage 2021-10-22 12:04:27 +05:30
Suraj Shetty
d88bd035d0
refactor: Use LRU cache instead of redis cache 2021-10-22 09:29:15 +05:30
Faris Ansari
239ec49612 style: formatting 2021-10-20 19:06:16 +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
18b3651b46 feat: Google font selection
google_fonts.json with a decent selection of fonts
2021-10-20 17:20:59 +05:30
Faris Ansari
a90937c865 fix: customize button in print 2021-10-19 19:12:54 +05:30
Suraj Shetty
d47f23dd3a fix(Print): Select button alignment issue 2021-10-19 18:43:44 +05:30
Anupam
f6e83dbcaf fix: Customize is not listed in menu item [Print] 2021-10-12 12:35:40 +05:30
Anupam
5387e48a59 fix: network printer settings permission issue 2021-10-07 12:11:29 +05:30
Anupam
34ba19a131 fix: browser printing broken 2021-10-07 10:27:47 +05:30
Faris Ansari
d8457a3c71 fix: Show print preview on print page 2021-10-05 14:21:57 +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
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
Suraj Shetty
1cd20c04a7 Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-09-16 13:00:07 +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
7db68a1878 fix: Handle on_page_show 2021-09-06 16:57:39 +05:30
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
f536a1ff91 fix: More features
- Show selection dialog if Print Format not selected
- Field component
- Common store
- Edit Field label inline
- Configure table columns
- Edit Custom HTML
- Preview
2021-09-06 16:57:16 +05:30