Jelajahi Sumber

fix device_type array

szollosil 5 bulan lalu
induk
melakukan
6a070db247
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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