Browse Source

edit getting installer_id

hajar
Siti Hajar Ibrahim 4 years ago
parent
commit
b713afdf63
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Api/DocketMobile.php

+ 1
- 1
app/Http/Controllers/Api/DocketMobile.php View File

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

Loading…
Cancel
Save