solar system seeder and flex structure views

This commit is contained in:
2019-12-06 21:33:16 -06:00
parent b78675718d
commit 3c43289e98
8 changed files with 79 additions and 7 deletions
@@ -91,6 +91,14 @@ class FlexAdminController extends Controller
'system' => 'required',
'structure_type' => 'required',
]);
FlexStructure::where([
'requestor_name' => $request->requestor_name,
'system' => $request->system,
'structure_type' => $request->structure_type,
])->delete();
return redirect('/flex/display')->with('success', 'Flex Structure Entry Removed.');
}
}