| @@ -58,7 +58,11 @@ class StoreCompoundEPBT implements ShouldQueue | |||
| // $compound = Compound::with('Department','DeedLaw','Faulty')->where('kpd', 'KP43932')->first(); | |||
| $now = Carbon::now()->toDateTimeString(); | |||
| $coordinate = explode(" , ",$compound->latlong); | |||
| $coordinate = []; | |||
| if (!empty($compound->latlong)) { | |||
| $coordinate = explode(",",$compound->latlong); | |||
| } | |||
| //get ePBT MBIP faulty lists | |||
| $client = new \GuzzleHttp\Client(); | |||