| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2017 | |
| 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 | |
| 27 | {if $result eq true} |
| 28 | {if $task eq 'billing'} |
| 29 | {if $billingName} |
| 30 | <div class="crm-group billing_name_address-group"> |
| 31 | <div class="header-dark"> |
| 32 | {ts}Billing Name and Address{/ts} |
| 33 | </div> |
| 34 | <div class="crm-section no-label billing_name-section"> |
| 35 | <div class="content">{$billingName}</div> |
| 36 | <div class="clear"></div> |
| 37 | </div> |
| 38 | <div class="crm-section no-label billing_address-section"> |
| 39 | <div class="content">{$address|nl2br}</div> |
| 40 | <div class="clear"></div> |
| 41 | </div> |
| 42 | </div> |
| 43 | {/if} |
| 44 | |
| 45 | {if $credit_card_number} |
| 46 | <div class="crm-group credit_card-group"> |
| 47 | <div class="header-dark"> |
| 48 | {ts}Credit Card Information{/ts} |
| 49 | </div> |
| 50 | <div class="crm-section no-label credit_card_details-section"> |
| 51 | <div class="content">{$credit_card_type}</div> |
| 52 | <div class="content">{$credit_card_number}</div> |
| 53 | <div class="content">{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}</div> |
| 54 | <div class="clear"></div> |
| 55 | </div> |
| 56 | </div> |
| 57 | {/if} |
| 58 | {/if} |
| 59 | {/if} |