mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
[minor][fix] memberships listview date format fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
import datetime
|
||||
from frappe.utils import fmt_money
|
||||
|
||||
def get_context(context):
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
{{ doc.membership_type }}
|
||||
</div>
|
||||
<div class="col-sm-3 col-xs-6">
|
||||
{{ doc.to_date }}
|
||||
{{ frappe.utils.global_date_format(doc.to_date) }}
|
||||
</div>
|
||||
<div class="col-sm-3 hidden-xs">
|
||||
{{ doc.amount }}
|
||||
|
||||
@@ -61,7 +61,7 @@ def get_context(context):
|
||||
introduction='Become an invidual member to list here',
|
||||
route='/members'
|
||||
)]
|
||||
|
||||
|
||||
context.service_providers = [d for d in frappe.get_all('Service Provider', 'name, title, introduction, `image`, route',
|
||||
dict(country=frappe.form_dict.country, show_in_website=1), order_by='name') if d.name not in individual_members]
|
||||
|
||||
@@ -76,4 +76,4 @@ def get_context(context):
|
||||
group by
|
||||
country
|
||||
order by
|
||||
country''')
|
||||
country''')
|
||||
|
||||
Reference in New Issue
Block a user