barredterra
da1e8750c8
refactor: replace in_list(array, member) with array.includes(member)
2024-03-10 16:09:09 +01:00
Maharshi Patel
0e12cf4281
chore: replace PFB Beta link with Print Designer ( #25032 )
...
Replaced Print Format Builder Beta link in print-view to Print Designer.
if App is installed it opens Print Designer, if not it opens Frappe Cloud Marketplace Link.
2024-02-23 20:19:08 +05:30
Raffael Meyer
fc64e8a0fb
feat: pass doctype as context when translating label ( #24903 )
2024-02-18 19:42:15 +05:30
Corentin Flr
b474e17f89
fix(print-preview): Fix stale ref to iframe's document
2024-01-24 17:18:07 +01:00
Ankush Menat
c7e5afee6a
refactor: Use arr.includes(item) instead of in_list(arr, item)
2023-12-27 19:33:13 +05:30
Maharshi Patel
6590d24151
fix: dark mode, timeline, logo colors
...
* changed variables from gray-* to dark mode compatible ones.
* timeline style fixes
* change logo with new black colors.
2023-09-15 12:04:17 +05:30
Maharshi Patel
399ce7eb3b
fix: typography added letter-spacing
...
* added function to calculate letterspacing based on espresso
* added mixin to add font-size, font-weight and letter-spacing
* letter spacing is based on size and weight
* changed letter spacing on major places
* misc: minor kanban style fixes and changed border radius for .page-card
2023-09-04 16:03:40 +05:30
Maharshi Patel
0307dd4cca
Merge branch 'develop' into feat-desk-refresh
2023-08-24 23:55:42 +05:30
Maharshi Patel
f6ebdc24f4
fix: update icons to espresso for different pages
...
updated icons on various parts of the page to espresso
2023-08-24 10:21:37 +05:30
barredterra
b553ed98d8
refactor: inline immediately returned variable
...
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
Ankush Menat
58cf770760
fix: All ESLint errors
2023-07-14 15:25:48 +05:30
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