Enotice fix
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 5 Oct 2021 19:18:16 +0000 (08:18 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 5 Oct 2021 19:18:16 +0000 (08:18 +1300)
templates/CRM/Contribute/Form/Contribution.tpl

index ec494e72d94fc1b06c6b6af3dcea22d4c6b1012a..3be6ebb19aec93e104c5ad5d4bc1fc178e86b457 100644 (file)
         {if $contributionMode && $processorSupportsFutureStartDate}
           <tr id='start_date' class="crm-contribution-form-block-receive_date">
             <td class="label">{ts}Start Date{/ts}</td>
-            <td {$valueStyle}>{if $hideCalender neq true}{$form.receive_date.html}{/if}<br />
+            <td {$valueStyle}>{$form.receive_date.html}<br />
               <span class="description">{ts}You can set a start date for recurring contributions and the first payment will be on that date. For a single post-dated contribution you must select recurring and choose one installment{/ts}</span>
             </td>
           </tr>
                   <tr id="cancelDate" class="crm-contribution-form-block-cancel_date">
                     <td class="label">{$form.cancel_date.label}</td>
                     <td>
-                      {if $hideCalendar neq true}
-                        {$form.cancel_date.html}
-                      {else}
-                        {$form.cancel_date.value|crmDate}
-                      {/if}
+                      {$form.cancel_date.html}
                     </td>
                   </tr>
                   <tr id="cancelDescription" class="crm-contribution-form-block-cancel_reason">