Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 8 #1

Closed
wants to merge 40 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f266b05
fix: add migration for category insertion
saber13812002 Feb 4, 2022
7518c09
fix: .env.example
saber13812002 Feb 4, 2022
d7f3a46
fix: .gitignore by adding vendor folder to it
saber13812002 Feb 4, 2022
78af387
fix: readme file add guides to it
saber13812002 Feb 4, 2022
9537e1b
fix: add images to help in readme.md file
saber13812002 Feb 4, 2022
1d98a9a
fix: add images to help in readme.md file
saber13812002 Feb 4, 2022
16e3f52
fix: bug when load avatar in admin
saber13812002 Feb 8, 2022
c81d30c
fix: user model images fields
saber13812002 Feb 8, 2022
912608c
fix: service images fields
saber13812002 Feb 8, 2022
c358f4a
fix: rates table fields
saber13812002 Feb 8, 2022
2688734
fix: upload images into uploads folders
saber13812002 Feb 8, 2022
b33191e
fix: home blade with commenting qrcode
saber13812002 Feb 8, 2022
1ca23db
fix: description list when null
saber13812002 Feb 8, 2022
89f0bd1
fix: saber todo refactor note for later
saber13812002 Feb 8, 2022
358ea58
fix: some routes
saber13812002 Feb 8, 2022
15391cb
fix: remove cancel policy id from required field
saber13812002 Feb 8, 2022
ac9a54b
fix: assets problem
saber13812002 Feb 8, 2022
8ab1cdb
Merge pull request #1 from saber13812002/assets_problem
saber13812002 Feb 8, 2022
1dee68e
fix: add user_id into customers table
saber13812002 Feb 15, 2022
41dc406
fix: remove required field from service edit page
saber13812002 Feb 15, 2022
0036991
fix: server problem to run php artisan migrate
saber13812002 Feb 17, 2022
fee10ea
fix: add username field into users and arguments table
saber13812002 Feb 18, 2022
fc90da7
fix: provider app
saber13812002 Feb 18, 2022
c697f53
fix: nullable booking fields
saber13812002 Feb 19, 2022
44304af
fix: some bugs to reserve service
saber13812002 Feb 19, 2022
ef9ee92
fix: add fields into users table our commission hotel commission
saber13812002 Feb 20, 2022
656b5a5
fix: set username in profile.blade.php
saber13812002 Feb 20, 2022
76ab8e4
fix: show morph data for booking in home page an reservation page
saber13812002 Feb 20, 2022
73d565a
fix: set username as username instead of name
saber13812002 Feb 20, 2022
80658ba
fix: add seeder for ConfigurationsTableSeeder.php
saber13812002 Feb 20, 2022
a25d729
fix: remove 2urkey.com ftp from deployment.xml
saber13812002 Feb 20, 2022
24dee92
Merge pull request #2 from saber13812002/provider_app
saber13812002 Feb 23, 2022
7b74a6b
fix bugs and upgrate to laravel 8
saber13812002 Feb 24, 2022
b3f61df
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
0f2d388
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
a32cd94
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
8e66a26
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
9071596
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
0f85c87
fix bugs and upgrate to laravel 8
saber13812002 Feb 25, 2022
f3c6db3
fix logo
saber13812002 Mar 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix bugs and upgrate to laravel 8
saber13812002 committed Feb 25, 2022
commit 0f85c878a00cc721aa0fe360d941e978adac2af4
6 changes: 4 additions & 2 deletions app/BookableBooking.php → app/CustomBookableBooking.php
Original file line number Diff line number Diff line change
@@ -2,16 +2,18 @@

declare(strict_types=1);

namespace Rinvex\Bookings\Models;
namespace App;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Rinvex\Bookings\Models\BookableBooking;
use Rinvex\Support\Traits\ValidatingTrait;
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Spatie\SchemalessAttributes\SchemalessAttributes;
use Illuminate\Support\Str;
abstract class BookableBooking extends Model

abstract class CustomBookableBooking extends BookableBooking
{
use ValidatingTrait;

4 changes: 3 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

namespace App\Providers;

use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

@@ -14,7 +15,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
//
$loader = AliasLoader::getInstance();
$loader->alias( 'App\CustomBookableBooking','Rinvex\Bookings\Models\BookableBooking');
}

/**