Laravel-Hotel
所属分类:后台框架
开发工具:Blade
文件大小:2028KB
下载次数:0
上传日期:2023-06-06 09:27:42
上 传 者:
sh-1993
说明: 酒店应用程序,由Laravel 9构建
(Hotel App, built with Laravel 9)
文件列表:
.editorconfig (220, 2023-09-05)
.env.example (885, 2023-09-05)
.styleci.yml (181, 2023-09-05)
CONTRIBUTING.md (140, 2023-09-05)
SECURITY.md (18, 2023-09-05)
app (0, 2023-09-05)
app\Console (0, 2023-09-05)
app\Console\Kernel.php (827, 2023-09-05)
app\Events (0, 2023-09-05)
app\Events\NewReservationEvent.php (1091, 2023-09-05)
app\Events\RefreshDashboardEvent.php (960, 2023-09-05)
app\Exceptions (0, 2023-09-05)
app\Exceptions\Handler.php (781, 2023-09-05)
app\Helpers (0, 2023-09-05)
app\Helpers\helpers.php (1820, 2023-09-05)
app\Http (0, 2023-09-05)
app\Http\Controllers (0, 2023-09-05)
app\Http\Controllers\Auth (0, 2023-09-05)
app\Http\Controllers\Auth\ConfirmPasswordController.php (1024, 2023-09-05)
app\Http\Controllers\Auth\ForgotPasswordController.php (667, 2023-09-05)
app\Http\Controllers\Auth\LoginController.php (1002, 2023-09-05)
app\Http\Controllers\Auth\RegisterController.php (1964, 2023-09-05)
app\Http\Controllers\Auth\ResetPasswordController.php (844, 2023-09-05)
app\Http\Controllers\Auth\VerificationController.php (1130, 2023-09-05)
app\Http\Controllers\AuthController.php (701, 2023-09-05)
app\Http\Controllers\ChartController.php (1600, 2023-09-05)
app\Http\Controllers\Controller.php (361, 2023-09-05)
app\Http\Controllers\CustomerController.php (2351, 2023-09-05)
app\Http\Controllers\DashboardController.php (491, 2023-09-05)
app\Http\Controllers\EventController.php (677, 2023-09-05)
app\Http\Controllers\FacilityController.php (1784, 2023-09-05)
app\Http\Controllers\HomeController.php (467, 2023-09-05)
app\Http\Controllers\ImageController.php (1296, 2023-09-05)
... ...
# Laravel Hotel
Laravel Hotel is an open-source web application built with laravel 8.0, enchanced with laravel websockets features to have realtime notification experience.
Its now compatible with laravel 9
## Examples
- Reservation
![alt text](https://github.com/WailanTirajoh/laravel_hotel/blob/main/example-b.png?raw=true)
- Dashboard
![alt text](https://github.com/WailanTirajoh/laravel_hotel/blob/main/example.png?raw=true)
- And more ...
## Instalation
### Init DB
- Create DB Name: hotel_app
or via terminal
```
mysql -u root -p
```
enter your db credential
```
create database hotel_app;
exit;
```
### Init Commands:
```
cp .env.example .env // after that start filling credential at .env
composer install
npm install
npm run dev
php artisan migrate:fresh --seed
php artisan serv => Terminal 1
php artisan websockets:serv => Terminal 2 //run the websocket server for realtime notification
```
### Development build
```
npm run dev
```
### Production Build
```
// run this on your terminal to generate production build
npm run build
```
### Login:
- Email: wailantirajoh@gmail.com
- Password: wailan
## TODO:
- Customer's Room:
- Asks for room to be cleaned
- Update room status
- Auth id must be == room->customer->id
- Send realtime notification to Admin
- Order meals
- Send realtime notification to Admin, and food
- Room Facility:
- Create
- Read
- Pagination
- Search
- Update
- Delete
- User Profile
- View
- User Activity Log
- View:
- Paginate
- see all
- User Settings
- Edit Profile
- Edit Password
- Dashboard
- Guests Chart
- Get total customer / month
- Income Chart for Super only
- Get total income / month
## Modul
- Dashboard
- Guests Chart
- Guests on this day
- Transaction
- Payment
- Create & Store Payment
- Payment History
- Room Reservation
- Step:
1. Choose Customer:
- Create New Customer / Pick from existing Customer
2. Input Form:
- How many people
- Date for Check In
- Date for Check Out
3. Pick Available Room:
- Check unoccupied room between date Check in and Check out.
- Room Capacity must be > than input how many people.
4. Confirmation & Down Payment
- Down Payment: 15% of total price
- Payment must be equal or higher than Down Payment
5. If the transaction Success:
- Send Email notification to Super Role about transaction payment.
- Send push notification to Super Role.
- Update all dashboard view
- CUSTOMER Management
- Create Customer
- Read Customer
- Paginate
- Search
- Update Customer
- Delete Customer
- Cannot be deleted if the customer has transaction
- Customer Detail
- USER Management
- Create User
- Read User (Super, Admin)
- Paginate
- Search
- Read User (Customer)
- Paginate
- Search
- Update User
- Delete User
- Cannot be deleted if the User has transaction
- User Detail
- ROOM Management
- Create Room
- Read Room
- Paginate
- Search
- Update Room
- Delete Room
- Cannot be deleted if the Room already connected in transaction
- Room Detail
- CRUD ROOM TYPE
- Create Room Type
- Read Room Type
- Paginate
- Search
- Update Room Type
- Delete Room Type
- CRUD ROOM STATUS
- Create Room Status
- Read Room Status
- Paginate
- Search
- Update Room Status
- Delete Room Status
## ERD
![alt text](https://github.com/WailanTirajoh/laravel_hotel/blob/main/erd.PNG?raw=true)
## Reservation Plot
- Customer Register to Admin
- Fill in customer's identity (based on KTP)
- Fill in by the Admin
- Book a room (how much people? and when?)
- Fill in by the Admin based on customers order
- rooms are recommended by the system based on the input value.
- Choose the room
- Fill in by the Admin based on customers order
- Choose based on room type, price, and facility.
- Make a down payment
- Fill in by the Admin based on minimum down payment (15% of total price)
- Stay
- Finish (Check Out) and pay the insufficient payment
## Laravel License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
近期下载者:
相关文件:
收藏者: