Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anders 2020-08-05 10:27:31 +02:00
commit eab59b8ff3
3 changed files with 6 additions and 3 deletions

View File

@ -23,7 +23,7 @@ class ContactSeeder extends Seeder
'contactname' => "Birgitte True", 'contactname' => "Birgitte True",
'email' => "bit@sde.dk", 'email' => "bit@sde.dk",
'title' => "", 'title' => "",
'phone' => "40886515", 'phone' => "63126715",
'phonetimes' => "<p><strong>Mandag-Torsdag:</strong> 8.00-15.00<br><strong>Fredag:</strong> 8.00-12.00</p>", 'phonetimes' => "<p><strong>Mandag-Torsdag:</strong> 8.00-15.00<br><strong>Fredag:</strong> 8.00-12.00</p>",
], ],
[ [

View File

@ -35,8 +35,8 @@ class UserSeeder extends Seeder
Log::debug("OPRET"); Log::debug("OPRET");
$user = new \App\User(); $user = new \App\User();
$user->name_first = "admin"; $user->name_first = "Admin";
$user->name_last = "admin"; $user->name_last = "Admin";
$user->email = "admin@admin.local"; $user->email = "admin@admin.local";
$user->setPasswordAttribute("1234"); $user->setPasswordAttribute("1234");
$user->phone = 12345678; $user->phone = 12345678;

View File

@ -29,6 +29,9 @@
<form method="post" action="{{ route("washing-reservations.store") }}" id="event-container" class="events-container"> <form method="post" action="{{ route("washing-reservations.store") }}" id="event-container" class="events-container">
@csrf @csrf
</form> </form>
@if(count(\App\WashingMachine::all()) < 1)
<p style="margin: 0 18px;">Der er ingen vaskemaskiner.</p>
@endif
</div> </div>
</main> </main>
@endsection @endsection