[-] BO : fixed bug #PSCSX-25 - carrier wizard summary design and missing infos
This commit is contained in:
1 parent
e2aa776a64
commit
8148d5696d
2 files changed
+9
-7
No files matched your search
@@ -37,10 +37,11 @@
|
|||||||
|
|
||||||
<div class="defaultForm">
|
<div class="defaultForm">
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
{l s='Carrier name:'} <strong id="summary_name"></strong>
|
<div class="panel-heading">{l s='Carrier name:'} <strong id="summary_name"></strong></div>
|
||||||
<div id="summary_meta_informations"></div>
|
<div class="panel-body">
|
||||||
<div id="summary_shipping_cost"></div>
|
<p id="summary_meta_informations"></p>
|
||||||
<div id="summary_range"></div>
|
<p id="summary_shipping_cost"></p>
|
||||||
|
<p id="summary_range"></p>
|
||||||
<div>
|
<div>
|
||||||
{l s='This carrier will be proposed for those delivery zones:'}
|
{l s='This carrier will be proposed for those delivery zones:'}
|
||||||
<ul id="summary_zones"></ul>
|
<ul id="summary_zones"></ul>
|
||||||
@@ -55,6 +56,7 @@
|
|||||||
<ul id="summary_shops"></ul>
|
<ul id="summary_shops"></ul>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{$active_form}
|
{$active_form}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
@@ -175,14 +175,14 @@ function displaySummary()
|
|||||||
$('#summary_zones').html('');
|
$('#summary_zones').html('');
|
||||||
$('.input_zone').each(function(){
|
$('.input_zone').each(function(){
|
||||||
if ($(this).attr('checked'))
|
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
|
// Group restrictions
|
||||||
$('#summary_groups').html('');
|
$('#summary_groups').html('');
|
||||||
$('input[name$="groupBox[]"]').each(function(){
|
$('input[name$="groupBox[]"]').each(function(){
|
||||||
if ($(this).attr('checked'))
|
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
|
// shop restrictions
|
||||||
|
|||||||
Reference in new issue
Block a user