Explorar el Código

add api dealer claim

ifah
Siti Hajar Ibrahim hace 5 años
padre
commit
2bc6c4d3b1
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5
    3
      app/Http/Controllers/Api/FormController.php

+ 5
- 3
app/Http/Controllers/Api/FormController.php Ver fichero

@@ -259,9 +259,11 @@ class FormController extends BaseController
}
if(!empty($f->docket)){
$docket = Docket::find($f->docket);
$service = $docket->nature_work;
$rating = $docket->Rating1;
$docket = Docket::where('docket_id',$f->docket)->find();
foreach($docket as $d) {
$service = $d->nature_work;
$rating = $d->Rating1;
}
}
array_push($result,array(

Cargando…
Cancelar
Guardar