Explorar el Código

edit getting installer_id

hajar
Siti Hajar Ibrahim hace 4 años
padre
commit
b713afdf63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/Api/DocketMobile.php

+ 1
- 1
app/Http/Controllers/Api/DocketMobile.php Ver fichero

@@ -85,7 +85,7 @@ class DocketMobile extends BaseController
} while (Docket::where("docket_id", "=", $do)->first() instanceof Docket);

$signature = '/'.$destinationPath.'/signature_docket.png';
$this->dispatch(new StoreDocket($request->all(), $do, $wo->nature_work, $loginUser->_id, $signature));
$this->dispatch(new StoreDocket($request->all(), $do, $wo->nature_work, $wo->installer_id, $signature));

// $docket = new Docket();
// $docket->work_order_id = $request->wo;

Cargando…
Cancelar
Guardar