Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
commit
2f22ae275e
skolehjem
app/Http/Controllers
database/migrations
resources/views/admin/menuplans
|
@ -44,10 +44,7 @@ class MenuPlanController extends Controller
|
|||
"monday" => "required|max:255",
|
||||
"tuesday" => "required|max:255",
|
||||
"wednesday" => "required|max:255",
|
||||
"thursday" => "required|max:255",
|
||||
"friday" => "required|max:255",
|
||||
"saturday" => "required|max:255",
|
||||
"sunday" => "required|max:255"
|
||||
"thursday" => "required|max:255"
|
||||
]);
|
||||
|
||||
$menuPlans = new MenuPlan($requestMenuPlanCreate);
|
||||
|
|
|
@ -19,9 +19,6 @@ class CreateMenuPlans extends Migration
|
|||
$table->string('tuesday', 255);
|
||||
$table->string('wednesday', 255);
|
||||
$table->string('thursday', 255);
|
||||
$table->string('friday', 255);
|
||||
$table->string('saturday', 255);
|
||||
$table->string('sunday', 255);
|
||||
$table->timestamps();
|
||||
//$table->text('description');
|
||||
});
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Vaskemaskiner - Opret
|
||||
Menuplan - Opret
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Vaskemaskiner</a> /
|
||||
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
Vaskemaskinen blev (ikke) oprettet.
|
||||
Menuplanen blev (ikke) oprettet.
|
||||
@endsection
|
||||
|
|
Loading…
Reference in New Issue