读取正确的保险公司字段

dev
曾超新 5 years ago
parent 281a4ba229
commit 594f5db11d
  1. 2
      frontend/views/insurer/office-mng-edit.php

@ -237,7 +237,7 @@ use common\models\PriceT;
<?php
foreach($insurer_company2_items as $item) {
echo '<option value="'.$item->id.'"';
if($item->id == $order_info->company_id)
if($item->id == $order_info->company2_id)
echo ' selected ';
echo '>'.$item->name.'</option>';
}

Loading…
Cancel
Save