$dao->id
);
$paymentProcessor[$dao->id]['financialAccount'] = CRM_Contribute_PseudoConstant::getRelationalFinancialAccount($dao->id, NULL, 'civicrm_payment_processor', 'financial_account_id.name');
+ $paymentProcessor[$dao->id]['test_id'] = CRM_Financial_BAO_PaymentProcessor::getTestProcessorId($dao->id);
}
$this->assign('rows', $paymentProcessor);
{include file="CRM/common/enableDisableApi.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
- <th >{ts}Name{/ts}</th>
- <th >{ts}Processor Type{/ts}</th>
- <th >{ts}Description{/ts}</th>
- <th >{ts}Financial Account{/ts}</th>
- <th >{ts}Enabled?{/ts}</th>
- <th >{ts}Default?{/ts}</th>
- <th ></th>
+ <th>{ts}ID{/ts}</th>
+ <th>{ts}Test ID{/ts}</th>
+ <th>{ts}Name{/ts}</th>
+ <th>{ts}Processor Type{/ts}</th>
+ <th>{ts}Description{/ts}</th>
+ <th>{ts}Financial Account{/ts}</th>
+ <th>{ts}Enabled?{/ts}</th>
+ <th>{ts}Default?{/ts}</th>
+ <th></th>
</tr>
{foreach from=$rows item=row}
<tr id="payment_processor-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+ <td class="crmf-id center">{$row.id}</td>
+ <td class="crmf-test_id center">{$row.test_id}</td>
<td class="crmf-name">{$row.name}</td>
<td class="crmf-payment_processor_type">{$row.payment_processor_type}</td>
<td class="crmf-description">{$row.description}</td>
<td class="crmf-financial_account_id">{$row.financialAccount}</td>
- <td class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
- <td class="crmf-is_default">
+ <td class="crmf-is_active center">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
+ <td class="crmf-is_default center">
{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}"/>{/if}
</td>
<td>{$row.action|replace:'xx':$row.id}</td>