bebeboutik/modules/paymentinfo/paymentinfo.tpl
Thibault UBUNTU f15662e826 paypal suite
2016-05-02 15:30:12 +02:00

32 lines
995 B
Smarty

<h1>{l s='Manage payment info' mod='paymentinfo'}</h1>
<h3>{l s='My paypal account' mod='paymentinfo'}</h3>
{if $paypal_accounts}
<table class="std">
<thead>
<th class="item">{l s='Name' mod='paymentinfo'}</th>
<th class="item">{l s='Email' mod='paymentinfo'}</th>
<th class="item">{l s='City' mod='paymentinfo'}</th>
<th class="item">{l s='Date add' mod='paymentinfo'}</th>
<th class="item">{l s='Action' mod='paymentinfo'}</th>
</thead>
<tbody>
{foreach from=$paypal_accounts item=paypal}
<tr>
<td>{$paypal.name}</td>
<td>{$paypal.email}</td>
<td>{$paypal.city}</td>
<td>{$paypal.date_add}</td>
<td><a onclick="return(confirm('Êtes-vous sur ?'));" href="?delete_agreement={$paypal.id_paypal_agreement}">{l s='Delete' mod='paymentinfo'}</a></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<div id="block-history" class="block-center">
<p class="warning">{l s='No account register' mod='paymentinfo'}</p>
</div>
{/if}