last from 01 2019
This commit is contained in:
parent
f9fcaac838
commit
ed80b25b85
19 changed files with 626 additions and 341 deletions
|
|
@ -150,6 +150,7 @@ class DraftController extends Controller
|
|||
$draft_type = DraftType::create([
|
||||
'name' => $data['name'],
|
||||
'active' => isset($data['active']) ? true : false,
|
||||
'color' => $data['color'],
|
||||
]);
|
||||
}else{
|
||||
$draft_type = DraftType::find($data['id']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue