fix pre selection
This commit is contained in:
parent
cc725c4d89
commit
fc38b7d684
@ -210,7 +210,7 @@ class BlockOrderSummary extends Module {
|
||||
<div style="margin:10px auto;" class="styled-select semi-square bg-purple-light">
|
||||
<select name="summary_id_order" id="summary_id_order" class="">';
|
||||
foreach ($orders as $key => $order) {
|
||||
echo '<option value="'.$order['id_order'].' '.((int)$order['id_order'] == (int)$params['order']->id ? 'selected="selected"' : '').'">Commande #'.$order['id_order'].'</option>';
|
||||
echo '<option value="'.$order['id_order'].'" '.((int)$order['id_order'] == (int)$params['order']->id ? 'selected="selected"' : '').'">Commande #'.$order['id_order'].'</option>';
|
||||
}
|
||||
echo '</select>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user