소스 검색

fix device_type array

szollosil 5 달 전
부모
커밋
6a070db247
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      custom/bbus/class/roller_handling_helper.class.php

+ 1 - 1
custom/bbus/class/roller_handling_helper.class.php

@@ -6,7 +6,7 @@ trait RollerHandligHelper
 {
     public function getAllScooterDataByCode($code)
     {
-        $deviceTypes = ['5' => 'Seev Citycoco', '6' => 'WIZTEM'];
+        $deviceTypes = ['6' => 'Seev Citycoco', '7' => 'WIZTEM', '8' => 'MONSTERROLLER', '9' => 'NEOS'];
         $rentableStatuses = [110, 115];
         $sql = "SELECT 
             i.rowid, i.entity, i.ref, i.fk_warehouse, i.status, i.title