FileManager
This commit is contained in:
parent
c8948338bb
commit
f1e0900a7a
131 changed files with 5844 additions and 3081 deletions
|
|
@ -5,7 +5,6 @@ namespace App\Http\Controllers;
|
|||
use App\Models\Draft;
|
||||
use App\Models\DraftItem;
|
||||
use App\Models\DraftType;
|
||||
use Input;
|
||||
|
||||
class DraftController extends Controller
|
||||
{
|
||||
|
|
@ -48,7 +47,7 @@ class DraftController extends Controller
|
|||
|
||||
public function store($id)
|
||||
{
|
||||
$data = Input::all();
|
||||
$data = Request::all();
|
||||
if($id == "new") {
|
||||
$draft = new Draft();
|
||||
}else{
|
||||
|
|
@ -145,7 +144,7 @@ class DraftController extends Controller
|
|||
*/
|
||||
public function typeUpdate(){
|
||||
|
||||
$data = Input::all();
|
||||
$data = Request::all();
|
||||
if($data['id'] == "new"){
|
||||
$draft_type = DraftType::create([
|
||||
'name' => $data['name'],
|
||||
|
|
@ -184,7 +183,7 @@ class DraftController extends Controller
|
|||
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
*/
|
||||
public function loadOldAction(){
|
||||
$data = Input::all();
|
||||
$data = Request::all();
|
||||
$template = \App\Models\Sym\ArrangementTemplate::findOrFail($data['load_old']);
|
||||
|
||||
$draft = new Draft();
|
||||
|
|
@ -259,7 +258,7 @@ class DraftController extends Controller
|
|||
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
*/
|
||||
public function loadNewAction(){
|
||||
$data = Input::all();
|
||||
$data = Request::all();
|
||||
$d = Draft::findOrFail($data['load_new']);
|
||||
$draft = new Draft();
|
||||
$draft->active = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue