fix: Updates in process statement of Accounts (#35064)
* fix: Updates in process statement of Accounts (#35064)
(cherry picked from commit ea0b03ae9e)
# Conflicts:
# erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.json
* chore: resolve conflicts
---------
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
@@ -15,7 +15,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<h2 class="text-center">{{ _("STATEMENTS OF ACCOUNTS") }}</h2>
|
<h2 class="text-center">{{ _("STATEMENTS OF ACCOUNTS") }}</h2>
|
||||||
<div>
|
<div>
|
||||||
<h5 style="float: left;">{{ _("Customer: ") }} <b>{{filters.party_name[0] }}</b></h5>
|
{% if filters.party[0] == filters.party_name[0] %}
|
||||||
|
<h5 style="float: left;">{{ _("Customer: ") }} <b>{{ filters.party_name[0] }}</b></h5>
|
||||||
|
{% else %}
|
||||||
|
<h5 style="float: left;">{{ _("Customer: ") }} <b>{{ filters.party[0] }}</b></h5>
|
||||||
|
<h5 style="float: left; margin-left:15px">{{ _("Customer Name: ") }} <b>{{filters.party_name[0] }}</b></h5>
|
||||||
|
{% endif %}
|
||||||
<h5 style="float: right;">
|
<h5 style="float: right;">
|
||||||
{{ _("Date: ") }}
|
{{ _("Date: ") }}
|
||||||
<b>{{ frappe.format(filters.from_date, 'Date')}}
|
<b>{{ frappe.format(filters.from_date, 'Date')}}
|
||||||
|
|||||||
@@ -34,6 +34,8 @@
|
|||||||
"terms_and_conditions",
|
"terms_and_conditions",
|
||||||
"section_break_1",
|
"section_break_1",
|
||||||
"enable_auto_email",
|
"enable_auto_email",
|
||||||
|
"column_break_ocfq",
|
||||||
|
"sender",
|
||||||
"section_break_18",
|
"section_break_18",
|
||||||
"frequency",
|
"frequency",
|
||||||
"filter_duration",
|
"filter_duration",
|
||||||
@@ -284,10 +286,32 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Terms and Conditions",
|
"label": "Terms and Conditions",
|
||||||
"options": "Terms and Conditions"
|
"options": "Terms and Conditions"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "1",
|
||||||
|
"fieldname": "include_break",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Page Break After Each SoA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "0",
|
||||||
|
"fieldname": "show_net_values_in_party_account",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Show Net Values in Party Account"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "sender",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Sender",
|
||||||
|
"options": "Email Account"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "column_break_ocfq",
|
||||||
|
"fieldtype": "Column Break"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-09-06 21:00:45.732505",
|
"modified": "2023-04-26 12:46:43.645455",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Statement Of Accounts",
|
"name": "Process Statement Of Accounts",
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ def send_emails(document_name, from_scheduler=False):
|
|||||||
queue="short",
|
queue="short",
|
||||||
method=frappe.sendmail,
|
method=frappe.sendmail,
|
||||||
recipients=recipients,
|
recipients=recipients,
|
||||||
sender=frappe.session.user,
|
sender=doc.sender or frappe.session.user,
|
||||||
cc=cc,
|
cc=cc,
|
||||||
subject=subject,
|
subject=subject,
|
||||||
message=message,
|
message=message,
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "billing_email",
|
"fieldname": "billing_email",
|
||||||
"fieldtype": "Read Only",
|
"fieldtype": "Data",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Billing Email"
|
"label": "Billing Email"
|
||||||
},
|
},
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
],
|
],
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-03-13 00:12:34.508086",
|
"modified": "2023-04-26 13:02:41.964499",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Statement Of Accounts Customer",
|
"name": "Process Statement Of Accounts Customer",
|
||||||
|
|||||||
Reference in New Issue
Block a user