[-] BO : fixed bug #PSCSX-25 - carrier wizard summary design and missing infos

This commit is contained in:
Vincent Augagneur
2013-11-20 15:20:44 +01:00
parent e2aa776a64
commit 8148d5696d
2 changed files with 21 additions and 19 deletions
+2 -2
View File
@@ -175,14 +175,14 @@ function displaySummary()
$('#summary_zones').html('');
$('.input_zone').each(function(){
if ($(this).attr('checked'))
$('#summary_zones').html($('#summary_zones').html() + '<li><strong>' + $(this).closest().prev().text() + '</strong></li>');
$('#summary_zones').html($('#summary_zones').html() + '<li><strong>' + $(this).closest('tr').find('label').text() + '</strong></li>');
});
// Group restrictions
$('#summary_groups').html('');
$('input[name$="groupBox[]"]').each(function(){
if ($(this).attr('checked'))
$('#summary_groups').html($('#summary_groups').html() + '<li><strong>' + $(this).closest().next().next().text() + '</strong></li>');
$('#summary_groups').html($('#summary_groups').html() + '<li><strong>' + $(this).closest('tr').find('td:eq(2)').text() + '</strong></li>');
});
// shop restrictions