fix from prod

This commit is contained in:
root 2017-12-07 15:08:30 +01:00
parent 6e962ea6f8
commit 78df0048af
2 changed files with 2 additions and 2 deletions

View File

@ -1823,7 +1823,7 @@ class AdminOrders extends AdminTab
<ul style="list-style: outside none; margin: 0; padding: 0;">';
foreach($returnable as $id_order_detail => $product) {
$html.= '
<li style="padding: 5px; background: #eee;"><input data-order-detail="'.(int) $id_order_detail.'" class="return_input" style="width: 30px; text-align: right; border: 1px solid #E0D0B1; padding: 2px 4px;" type="number" name="return_product['.(int) $id_order_detail.']" value="0" autocomplete="off" step="1" max="'.(int) $product[1].'" min="0" /> x '.$product[0]. '</li>
<li style="padding: 5px; background: #eee;"><input data-order-detail="'.(int) $id_order_detail.'" class="return_input" style="width: 35px; text-align: right; border: 1px solid #E0D0B1; padding: 2px 1px;" type="number" name="return_product['.(int) $id_order_detail.']" value="0" autocomplete="off" step="1" max="'.(int) $product[1].'" min="0" /> x '.$product[0]. '</li>
<li id="reason_'.$id_order_detail.'">';
for($i = 1; $i <= $product[1]; $i++) {
$html.= '

View File

@ -87,7 +87,7 @@ class Order extends OrderCore {
public function printAppliIcons($value, $params)
{
$name = ((int)$value?'computer':'mobile');
$name = ((int)$value?'mobile':'computer');
return '<img src="/img/'.$name.'.png" alt="" width="18px"/>';
}