Skip to content
Snippets Groups Projects
Commit e52f7008 authored by Andie Hunt's avatar Andie Hunt
Browse files

financial#139 prep: standardize markup, closing spans on bulk payment form

parent 39052b78
No related branches found
No related tags found
No related merge requests found
......@@ -8,50 +8,54 @@
+--------------------------------------------------------------------+
*}
<div class="form-item crm-block crm-form-block crm-contribution-form-block">
<div class="help">
<h3>{ts}Update Contribution Status{/ts}</h3>
<div class="help">
{ts}Use this form to record received payments for 'pay later' online contributions, membership signups and event registrations. You can use the Transaction ID field to record account+check number, bank transfer identifier, or other unique payment identifier.{/ts}
</div>
<fieldset>
<legend>{ts}Update Contribution Status{/ts}</legend>
<table class="form-layout-compressed">
<tr class="crm-contribution-form-block-contribution_status_id"><td class="label">{$form.contribution_status_id.label}</td><td class="html-adjust">{$form.contribution_status_id.html}<br />
<span class="description">{ts}Assign the selected status to all contributions listed below.{/ts}</td></tr>
<tr class="crm-contribution-form-block-is_email_receipt"><td class="label">{$form.is_email_receipt.label}</td>
<td class="html-adjust">{$form.is_email_receipt.html}<br />
<span class="description">{ts}When checked CiviCRM will send an e-mail receipt to the donor. Leave unchecked when you don't want to send an e-mail.{/ts}
</td>
</tr>
</table>
<table>
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th class="right">{ts}Amount{/ts}&nbsp;&nbsp;</th>
<th>{ts}Source{/ts}</th>
<th>{ts}Fee Amount{/ts}</th>
<th>{ts}Payment Method{/ts}</th>
<th>{ts}Check{/ts} #</th>
<th>{ts}Transaction ID{/ts}</th>
<th>{ts}Transaction Date{/ts}</th>
</tr>
</div>
<table class="form-layout-compressed">
<tr class="crm-contribution-form-block-contribution_status_id">
<td class="label">{$form.contribution_status_id.label}</td>
<td class="html-adjust">{$form.contribution_status_id.html}<br />
<span class="description">{ts}Assign the selected status to all contributions listed below.{/ts}</span>
</td>
</tr>
<tr class="crm-contribution-form-block-is_email_receipt">
<td class="label">{$form.is_email_receipt.label}</td>
<td class="html-adjust">{$form.is_email_receipt.html}<br />
<span class="description">{ts}When checked CiviCRM will send an e-mail receipt to the donor. Leave unchecked when you don't want to send an e-mail.{/ts}</span>
</td>
</tr>
</table>
<table>
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th class="right">{ts}Amount{/ts}&nbsp;&nbsp;</th>
<th>{ts}Source{/ts}</th>
<th>{ts}Fee Amount{/ts}</th>
<th>{ts}Payment Method{/ts}</th>
<th>{ts}Check{/ts} #</th>
<th>{ts}Transaction ID{/ts}</th>
<th>{ts}Transaction Date{/ts}</th>
</tr>
{foreach from=$rows item=row}
<tr class="{cycle values="odd-row,even-row"}">
<td>{$row.display_name}</td>
<td class="right nowrap">{$row.amount|crmMoney}&nbsp;&nbsp;</td>
<td>{$row.source}</td>
{assign var="element_name" value="fee_amount_"|cat:$row.contribution_id}
<td>{$form.$element_name.html}</td>
{assign var="element_name" value="payment_instrument_id_"|cat:$row.contribution_id}
<td class="form-text four">{$form.$element_name.html}</td>
{assign var="element_name" value="check_number_"|cat:$row.contribution_id}
<td class="form-text four">{$form.$element_name.html|crmAddClass:four}</td>
{assign var="element_name" value="trxn_id_"|cat:$row.contribution_id}
<td>{$form.$element_name.html|crmAddClass:eight}</td>
{assign var="element_name" value="trxn_date_"|cat:$row.contribution_id}
<td>{$form.$element_name.html}</td>
</tr>
{/foreach}
</table>
{foreach from=$rows item=row}
<tr class="{cycle values="odd-row,even-row"}">
<td>{$row.display_name}</td>
<td class="right nowrap">{$row.amount|crmMoney}&nbsp;&nbsp;</td>
<td>{$row.source}</td>
{assign var="element_name" value="fee_amount_"|cat:$row.contribution_id}
<td>{$form.$element_name.html}</td>
{assign var="element_name" value="payment_instrument_id_"|cat:$row.contribution_id}
<td class="form-text four">{$form.$element_name.html}</td>
{assign var="element_name" value="check_number_"|cat:$row.contribution_id}
<td class="form-text four">{$form.$element_name.html|crmAddClass:four}</td>
{assign var="element_name" value="trxn_id_"|cat:$row.contribution_id}
<td>{$form.$element_name.html|crmAddClass:eight}</td>
{assign var="element_name" value="trxn_date_"|cat:$row.contribution_id}
<td>{$form.$element_name.html}</td>
</tr>
{/foreach}
</table>
<div class="crm-submit-buttons">{$form.buttons.html}</div>
</fieldset>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment