fix: Updates in process statement of Accounts (#35064)
This commit is contained in:
parent
64be694087
commit
ea0b03ae9e
@ -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')}}
|
||||||
|
@ -36,6 +36,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",
|
||||||
@ -298,10 +300,20 @@
|
|||||||
"fieldname": "show_net_values_in_party_account",
|
"fieldname": "show_net_values_in_party_account",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Show Net Values in Party Account"
|
"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": "2022-11-10 17:44:17.165991",
|
"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",
|
||||||
|
@ -334,7 +334,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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user