projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edd3ab
)
CRM-19168: Fix membership batch update with profiles that have custom date fields.
author
Mathieu Lutfy
<mathieu@bidon.ca>
Tue, 2 Aug 2016 23:15:27 +0000
(19:15 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Tue, 2 Aug 2016 23:15:27 +0000
(19:15 -0400)
templates/CRM/Member/Form/Task/Batch.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Member/Form/Task/Batch.tpl
b/templates/CRM/Member/Form/Task/Batch.tpl
index b2a5068b63c23cc7526a4d8456a7c8db28f9bc11..52e8977dbcc9955b74076798f9f0f516dd9439db 100644
(file)
--- a/
templates/CRM/Member/Form/Task/Batch.tpl
+++ b/
templates/CRM/Member/Form/Task/Batch.tpl
@@
-51,7
+51,7
@@
{foreach from=$fields item=field key=fieldName}
{assign var=n value=$field.name}
- {if (
$fields.$n.data_type eq 'Date') or (
$n eq 'join_date') or ($n eq 'membership_start_date') or ($n eq 'membership_end_date')}
+ {if ($n eq 'join_date') or ($n eq 'membership_start_date') or ($n eq 'membership_end_date')}
<td class="compressed">{include file="CRM/common/jcalendar.tpl" elementName=$n elementIndex=$mid batchUpdate=1}</td>
{else}
<td class="compressed">{$form.field.$mid.$n.html}</td>