Documentation and minor fixes

This commit is contained in:
dann4624 2022-09-28 11:33:50 +02:00
parent 2d04a269e6
commit 81ea1f10f9
11 changed files with 33 additions and 129 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

BIN
Documentation/Udlån V3.mwb Normal file

Binary file not shown.

View File

@ -1,66 +1,54 @@
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
**Original Author / Coder** : Danny Johansson (dann4624)
<p align="center">
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
</p>
**Contact by Discord** : Semeicardia#5561
## About Laravel
**Contact by Email** : semeicardia@gmail.com (Primary), dann4624@edu.sde.dk (secondary)
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
## Special Laravel Modules
### Packages
**MailJet** : https://github.com/mailjet/laravel-mailjet
- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
**DomPDF** : https://github.com/barryvdh/laravel-dompdf
Laravel is accessible, powerful, and provides tools required for large, robust applications.
## Påkrævet Software
**SigPlus** : https://www.topazsystems.com/software/sigplus.exe
## Learning Laravel
**Topaz SigPlusExtLite** : www.topazsystems.com/software/SigPlusExtLite.exe
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
## Påkrævet Hardware
### Signature Pad
**Brand** : Topaz Systems
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
**Model** : T-L462-HSB-R Signature Pad
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
**Website**: https://www.topazsystems.com/index.html
## Laravel Sponsors
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
## Påkrævet Browser Extensions
**Til Google Chrome / Microsoft Edge**: https://chrome.google.com/webstore/detail/topaz-sigplusextlite-back/dhcpobccjkdnmibckgpejmbpmpembgco
### Premium Partners
**Til Mozilla Firefox**: https://addons.mozilla.org/en-US/firefox/addon/topaz-sigplusextlite-extension/
- **[Vehikl](https://vehikl.com/)**
- **[Tighten Co.](https://tighten.co)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.com)**
- **[Cubet Techno Labs](https://cubettech.com)**
- **[Cyber-Duck](https://cyber-duck.co.uk)**
- **[Many](https://www.many.co.uk)**
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
- **[DevSquad](https://devsquad.com)**
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
- **[OP.GG](https://op.gg)**
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
- **[Lendio](https://lendio.com)**
**Til Opera** : https://addons.opera.com/en/extensions/details/download-chrome-extension-9/?display=en
## Contributing
## Instruktioner
### På Server
1. Kopier filen .env.example og omdøb den kopieret fil til '.env' (intet fil navn, kun extension)
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
2. Opret MySQL / MariaDB database med navnet: lagerdb2
## Code of Conduct
#### Fra Repo Root Directory
3. Kør følgende kommandoer:
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
composer install
composer update
php artisan migrate --seed
## Security Vulnerabilities
2. Kopier filerne fra "DependencyFix" directory til directory \vendor\mailjet\laravel-mailjet\src
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
### På Klient
1. Installer det påkrævede software
2. Installer de relevante påkrævede browser extensions
## License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

View File

@ -16,9 +16,6 @@ class BuildingSeeder extends Seeder
public function run()
{
$items = [
['name' => 'Bygning 7'],
['name' => 'Bygning 8'],
['name' => 'Test Building'],
];
foreach ($items as $item) {
Building::create($item);

View File

@ -17,7 +17,6 @@ class ProductModelSeeder extends Seeder
public function run()
{
$items = [
['brand_id' => Brand::where('name','=','Test Brand')->first()->id,'name' => 'Test Model'],
];
foreach ($items as $item) {
ProductModel::create($item);

View File

@ -20,25 +20,6 @@ class ProductSeeder extends Seeder
public function run()
{
$items = [
[
'product_category_id' => ProductCategory::where('name','=','Laptop')->first()->id,
'product_subcategory_id' => ProductSubcategory::where('name','=','Server Rum')->first()->id,
'brand_id' => Brand::where('name','=','Test Brand')->first()->id,
'product_model_id' => ProductModel::where('name','=','Test Model')->first()->id,
'name' => 'Test Product',
'description' => "Test Description",
'total' => 100,
'barcode' => "Test.Product.0001",
],
[
'product_category_id' => ProductCategory::where('name','=','Laptop')->first()->id,
'brand_id' => Brand::where('name','=','Test Brand')->first()->id,
'product_model_id' => ProductModel::where('name','=','Test Model')->first()->id,
'name' => 'Test Product 2',
'description' => "Test Description 2",
'total' => 100,
'barcode' => "Test.Product.0002",
],
];
foreach ($items as $item) {
Product::create($item);

View File

@ -17,8 +17,6 @@ class RoomSeeder extends Seeder
public function run()
{
$items = [
['building_id' => Building::where('name','=','Bygning 7')->first()->id,'name' => '7X1'],
['building_id' => Building::where('name','=','Bygning 8')->first()->id,'name' => '8X1'],
];
foreach ($items as $item) {
Room::create($item);

View File

@ -16,62 +16,6 @@ class UserSeeder extends Seeder
*/
public function run()
{
User::firstOrCreate([
'name' => "Danny Johansson",
'username' => 'dann4624',
'guid' => '5e5417ed-d489-4376-a2d3-c263e70fe15e',
'domain' => 'default',
'password' => Hash::make('Nimai!1159'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'adUser')->id,
'role_id' => 1
]);
User::firstOrCreate([
'name' => "Ynnad Nossnahoj",
'username' => 'dann4625',
'password' => Hash::make('Nimai!1159'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 1
]);
User::firstOrCreate([
'name' => "Demo Admin",
'username' => 'demo_admin',
'password' => Hash::make('Pass1234'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 1
]);
User::firstOrCreate([
'name' => "Demo Student",
'username' => 'demo_student',
'password' => Hash::make('Pass1234'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 2
]);
User::firstOrCreate([
'name' => "Demo Teacher",
'username' => 'demo_teacher',
'password' => Hash::make('Pass1234'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 3
]);
User::firstOrCreate([
'name' => "Demo Helper",
'username' => 'demo_helper',
'password' => Hash::make('Pass1234'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 4
]);
User::firstOrCreate([
'name' => "Demo Server",
'username' => 'demo_server',
'password' => Hash::make('Pass1234'),
'loaner_type_id' => LoanerType::all()->firstWhere('name','=', 'nadUser')->id,
'role_id' => 5
]);
}
}

View File

@ -17,4 +17,3 @@
<br>
@include('Partials.Form.Signature.loaner')
@include('Partials.Form.Signature.lender')
@include('Partials.Form.Signature.fake_full')

View File

@ -21,4 +21,3 @@
<br>
@include('Partials.Form.Signature.loaner')
@include('Partials.Form.Signature.lender')
@include('Partials.Form.Signature.fake_full')

View File

@ -77,7 +77,6 @@
<form action="{{route('reservations.validate.action',['reservation' => $data])}}" method="post">
@include('Partials.Form.Signature.loaner')
@include('Partials.Form.Signature.lender')
@include('Partials.Form.Signature.fake_full')
<div class="mt-3 row">
<span class="col-2 col-form-label fw-bold"></span>
<div class="col-10">