chore: apply pre-commit formatting for consolidated print
This commit is contained in:
parent
59f12a1ac4
commit
3d8107ff17
2 changed files with 7 additions and 5 deletions
|
|
@ -200,7 +200,9 @@ export default class BulkOperations {
|
|||
|
||||
if (valid_docs.length > MAX_CONSOLIDATED_LIMIT) {
|
||||
frappe.msgprint(
|
||||
__("You can only consolidate up to {0} documents at a time", [MAX_CONSOLIDATED_LIMIT])
|
||||
__("You can only consolidate up to {0} documents at a time", [
|
||||
MAX_CONSOLIDATED_LIMIT,
|
||||
])
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
@ -210,7 +212,9 @@ export default class BulkOperations {
|
|||
fields: [
|
||||
{
|
||||
fieldtype: "HTML",
|
||||
options: `<p class="text-muted small">${__("All selected documents will be rendered in a single continuous layout without page breaks between them.")}</p>`,
|
||||
options: `<p class="text-muted small">${__(
|
||||
"All selected documents will be rendered in a single continuous layout without page breaks between them."
|
||||
)}</p>`,
|
||||
},
|
||||
{
|
||||
fieldtype: "Select",
|
||||
|
|
|
|||
|
|
@ -77,9 +77,7 @@ def get_context(context):
|
|||
)
|
||||
|
||||
separator = '<div class="consolidated-doc-separator print-hide"></div>'
|
||||
body = separator.join(
|
||||
f'<div class="consolidated-doc">{html}</div>' for html in all_html_parts
|
||||
)
|
||||
body = separator.join(f'<div class="consolidated-doc">{html}</div>' for html in all_html_parts)
|
||||
|
||||
if trigger_print:
|
||||
body += trigger_print_script
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue