last from 01 2019

This commit is contained in:
Kevin Adametz 2019-02-07 16:25:02 +01:00
parent f9fcaac838
commit ed80b25b85
19 changed files with 626 additions and 341 deletions

View file

@ -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']);