Browse Source

latest:

master
Siti Rahayu 4 years ago
parent
commit
150e6eda85
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      app/Http/Controllers/Api/CompoundResourceController.php

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

$this->dispatch(new StoreNotice($request->all(), $non, $staff->_id, $no_siri)); $this->dispatch(new StoreNotice($request->all(), $non, $staff->_id, $no_siri));


//mobile already accept 'kpd' string, so no need to change string name to 'notis'. //mobile already accept 'kpd' string, so no need to change string name to 'notis'.
array_push($data, array('kpd' => $non));
array_push($data, array(
'kpd' => $kpd,
'non' => $non
));


return $this->sendResponse($data, 'Berjaya simpan rekod notis!'); return $this->sendResponse($data, 'Berjaya simpan rekod notis!');
// } // }

Loading…
Cancel
Save