// add payment information on Payment table

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11391 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2011-12-19 19:03:27 +00:00
parent 8af781e449
commit d3a3a76421
3 changed files with 64 additions and 12 deletions
+42 -1
View File
@@ -236,7 +236,48 @@
{l s='No invoice'}
{/if}
</td>
<td></td>
<td class="right">
<a href="#" class="open_payment_information"><img src="../img/admin/details.gif" title="{l s='See payment informations'}" alt="{l s='See payment informations'}" /></a>
</td>
</tr>
<tr class="payment_information" style="display: none;">
<td colspan="6">
<p>
<b>{l s='Card Number:'}</b>&nbsp;
{if $payment->card_number}
{$payment->card_number}
{else}
<i>{l s='Not defined'}</i>
{/if}
</p>
<p>
<b>{l s='Card Brand:'}</b>&nbsp;
{if $payment->card_brand}
{$payment->card_brand}
{else}
<i>{l s='Not defined'}</i>
{/if}
</p>
<p>
<b>{l s='Card Expiration:'}</b>&nbsp;
{if $payment->card_expiration}
{$payment->card_expiration}
{else}
<i>{l s='Not defined'}</i>
{/if}
</p>
<p>
<b>{l s='Card Holder:'}</b>&nbsp;
{if $payment->card_holder}
{$payment->card_holder}
{else}
<i>{l s='Not defined'}</i>
{/if}
</p>
</td>
</tr>
{foreachelse}
<tr>