Skip to content

Commit

Permalink
Reservations dashboard (#1)
Browse files Browse the repository at this point in the history
* create routes and controllers for each table

* implement some uri methods

* create migrations tables

* create migrations tables

* setup seeders

* Allow timestamps

* basic UI for customers using bootstrap

* more gui methods for customers

* update controllers

* Create and Update views

* set env variables

* set env variables

* update seeders and migrations

* make auth

* update auth

* update auth

* update DB

* update DB

* wrap up reservations

* some fixes with payment

* wrap up customers view

* more tweaking for the UI

* scss for font awesome

* payments views

* more to the payment ui

* more to the payment ui

* more to the payment ui
  • Loading branch information
xurror authored and bosz committed Oct 14, 2019
1 parent 3dced58 commit 6b5a8c9
Show file tree
Hide file tree
Showing 119 changed files with 84,505 additions and 296 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

APP_NAME=Laravel
APP_ENV=local
APP_KEY=
Expand Down
22 changes: 0 additions & 22 deletions app/Customer.php

This file was deleted.

28 changes: 28 additions & 0 deletions app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class AdminController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}

/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function index()
{
return view('admin.index');
}
}
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LoginController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/admin';

/**
* Create a new controller instance.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RegisterController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/admin';

/**
* Create a new controller instance.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/ResetPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ResetPasswordController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/admin';

/**
* Create a new controller instance.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/VerificationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class VerificationController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/admin';

/**
* Create a new controller instance.
Expand Down
Loading

0 comments on commit 6b5a8c9

Please sign in to comment.