// 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:
@@ -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>
|
||||
{if $payment->card_number}
|
||||
{$payment->card_number}
|
||||
{else}
|
||||
<i>{l s='Not defined'}</i>
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>{l s='Card Brand:'}</b>
|
||||
{if $payment->card_brand}
|
||||
{$payment->card_brand}
|
||||
{else}
|
||||
<i>{l s='Not defined'}</i>
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>{l s='Card Expiration:'}</b>
|
||||
{if $payment->card_expiration}
|
||||
{$payment->card_expiration}
|
||||
{else}
|
||||
<i>{l s='Not defined'}</i>
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>{l s='Card Holder:'}</b>
|
||||
{if $payment->card_holder}
|
||||
{$payment->card_holder}
|
||||
{else}
|
||||
<i>{l s='Not defined'}</i>
|
||||
{/if}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
|
||||
+13
-11
@@ -529,7 +529,7 @@ select optgroup option {
|
||||
color:#4F8A10;
|
||||
padding: 5px 5px 5px 40px;
|
||||
border-radius:3px;
|
||||
min-height:32px;
|
||||
min-height:32px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1022,25 +1022,25 @@ table.permissions td {
|
||||
#header_shoplist select.shopList option{
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
||||
#header_shoplist select.shopList .first{
|
||||
font-weight: bold;
|
||||
background-color: #408BD5;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
#header_shoplist select.shopList .group{
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
padding-left: 10px;
|
||||
background-color: #C6DEFC;
|
||||
}
|
||||
|
||||
|
||||
#header_shoplist select.shopList .shop{
|
||||
padding-left: 20px;
|
||||
background-color: #EAF2FC;
|
||||
}
|
||||
|
||||
|
||||
.multishop_info{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 10px;
|
||||
@@ -1236,7 +1236,7 @@ html[xmlns] .clearfix {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.table_info{
|
||||
.table_info{
|
||||
width: 283px;
|
||||
float: left;
|
||||
padding: 0;
|
||||
@@ -1252,7 +1252,7 @@ html[xmlns] .clearfix {
|
||||
color:000;
|
||||
margin:0;
|
||||
padding:6px;
|
||||
text-shadow:0 1px 0 #fff;
|
||||
text-shadow:0 1px 0 #fff;
|
||||
display:block;
|
||||
background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC);
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#ECECEC)) repeat scroll 0 0 transparent;}
|
||||
@@ -1381,7 +1381,7 @@ html[xmlns] .clearfix {
|
||||
padding-left: 15px;
|
||||
font-size: 12pt;
|
||||
font-weight:normal;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.admin-box2{
|
||||
@@ -1855,7 +1855,7 @@ div.progressBarImage
|
||||
font-weight:bold;
|
||||
color:green;
|
||||
}
|
||||
#products_part #products_found {
|
||||
#products_part #products_found {
|
||||
display:none;
|
||||
}
|
||||
#vouchers_part #voucher_list {
|
||||
@@ -1884,7 +1884,7 @@ div.progressBarImage
|
||||
}
|
||||
ul.connectedSortable
|
||||
{
|
||||
padding-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
ul.connectedSortable li.module_list {
|
||||
margin: 0 5px 5px 5px;
|
||||
@@ -2019,4 +2019,6 @@ div#scrollTop a:hover{
|
||||
|
||||
.current-edit { background-color: rgb(232, 237, 194); }
|
||||
|
||||
.edit-note { width: 98%; height: 100px; }
|
||||
.edit-note { width: 98%; height: 100px; }
|
||||
|
||||
.payment_information { background-color: #BDE5F8 }
|
||||
@@ -736,6 +736,15 @@ function init()
|
||||
else
|
||||
$('select[name=discount_invoice]').attr('disabled', false);
|
||||
});
|
||||
|
||||
$('.open_payment_information').click(function() {
|
||||
if ($(this).parent().parent().next('tr').is(':visible'))
|
||||
$(this).parent().parent().next('tr').hide();
|
||||
else
|
||||
$(this).parent().parent().next('tr').show();
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user