Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
4 | +--------------------------------------------------------------------+ | |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
6 | +--------------------------------------------------------------------+ | |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {if $softCreditRows} | |
27 | {strip} | |
28 | <table class="form-layout-compressed"> | |
29 | <tr> | |
30 | <th class="contriTotalLeft">{ts}Total Soft Credits{/ts} - {$softCreditTotals.amount|crmMoney:$softCreditTotals.currency}</th> | |
31 | <th class="right" width="10px"> </th> | |
32 | <th class="right contriTotalRight"> {ts}Avg Soft Credits{/ts} - {$softCreditTotals.avg|crmMoney:$softCreditTotals.currency}</th> | |
33 | </tr> | |
34 | </table> | |
35 | <p></p> | |
36 | ||
37 | <table class="selector"> | |
38 | <tr class="columnheader"> | |
39 | <th scope="col">{ts}Contributor{/ts}</th> | |
40 | <th scope="col">{ts}Amount{/ts}</th> | |
41 | <th scope="col">{ts}Type{/ts}</th> | |
42 | <th scope="col" class="sorting_desc">{ts}Received{/ts}</th> | |
43 | <th scope="col">{ts}Status{/ts}</th> | |
44 | <th scope="col">{ts}Personal Campaign Page?{/ts}</th> | |
45 | <th></th> | |
46 | </tr> | |
47 | {foreach from=$softCreditRows item=row} | |
48 | <tr id='rowid{$row.id}' class="{cycle values="odd-row,even-row"}"> | |
49 | <td><a href="{crmURL p="civicrm/contact/view" q="reset=1&cid=`$row.contributor_id`"}" id="view_contact" title="{ts}View contributor contact record{/ts}">{$row.contributor_name}</a></td> | |
50 | <td>{$row.amount|crmMoney:$row.currency}</td> | |
51 | <td>{$row.financial_type}</td> | |
52 | <td>{$row.receive_date|truncate:10:''|crmDate}</td> | |
53 | <td>{$row.contribution_status}</td> | |
54 | <td>{if $row.pcp_id}<a href="{crmURL p="civicrm/pcp/info" q="reset=1&id=`$row.pcp_id`"}" title="{ts}View Personal Campaign Page{/ts}">{$row.pcp_title}</a>{else}{ts}(n/a){/ts}{/if}</td> | |
55 | <td><a href="{crmURL p="civicrm/contact/view/contribution" q="reset=1&id=`$row.contribution_id`&cid=`$contactId`&action=view&context=contribution&selectedChild=contribute"}" title="{ts}View related contribution{/ts}">{ts}View{/ts}</a></td> | |
56 | </tr> | |
57 | {/foreach} | |
58 | </table> | |
59 | {/strip} | |
60 | {/if} |