Ver código fonte

latlong

master
Siti Rahayu 5 anos atrás
pai
commit
296155477a
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5
    1
      app/Jobs/StoreCompoundEPBT.php

+ 5
- 1
app/Jobs/StoreCompoundEPBT.php Ver arquivo

@@ -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();

Carregando…
Cancelar
Salvar