diff --git a/app/Helpers/MPCMS.php b/app/Helpers/MPCMS.php index 9501c19..dfa3e34 100644 --- a/app/Helpers/MPCMS.php +++ b/app/Helpers/MPCMS.php @@ -510,6 +510,10 @@ DB::statement("CREATE TABLE IF NOT EXISTS tbl_partners ( if (!Schema::hasColumn('franchises', 'for')) { $table->text('for')->nullable()->after('franchise_id'); } + + if (!Schema::hasColumn('franchises', 'link')) { + $table->string('link')->nullable()->after('banners'); + } }); Schema::table('settings', function (Blueprint $table) { if (!Schema::hasColumn('settings', 'address')) { diff --git a/app/Models/Franchises.php b/app/Models/Franchises.php index 7bb723e..dc9fdb2 100644 --- a/app/Models/Franchises.php +++ b/app/Models/Franchises.php @@ -22,6 +22,7 @@ class Franchises extends Model 'text', 'thumb', 'banners', + 'link', 'display_order', 'status', 'created_at', diff --git a/public/topCargo/assets/images/.DS_Store b/public/topCargo/assets/images/.DS_Store new file mode 100644 index 0000000..7e0954f Binary files /dev/null and b/public/topCargo/assets/images/.DS_Store differ diff --git a/public/topCargo/assets/images/chinasouthern.png b/public/topCargo/assets/images/chinasouthern.png new file mode 100644 index 0000000..b50f38d Binary files /dev/null and b/public/topCargo/assets/images/chinasouthern.png differ diff --git a/public/topCargo/assets/images/fit-cargo.png b/public/topCargo/assets/images/fit-cargo.png new file mode 100644 index 0000000..ea3da7f Binary files /dev/null and b/public/topCargo/assets/images/fit-cargo.png differ diff --git a/public/topCargo/assets/images/pegasus.png b/public/topCargo/assets/images/pegasus.png index d3f08dd..a748d2a 100644 Binary files a/public/topCargo/assets/images/pegasus.png and b/public/topCargo/assets/images/pegasus.png differ diff --git a/public/topCargo/assets/images/salamair.png b/public/topCargo/assets/images/salamair.png new file mode 100644 index 0000000..bab5db8 Binary files /dev/null and b/public/topCargo/assets/images/salamair.png differ diff --git a/resources/views/client/topCargo/layouts/layout.blade.php b/resources/views/client/topCargo/layouts/layout.blade.php index c8b71ef..6f2549f 100644 --- a/resources/views/client/topCargo/layouts/layout.blade.php +++ b/resources/views/client/topCargo/layouts/layout.blade.php @@ -43,7 +43,7 @@ - + @stack('css') +
+
Current CSA
-

Jaz/Fit

+
+
+

Jaz/Fit

+
+
+
+
+
+

GSSA

+
+
+
+

Jalzeera Airways

+ +
+
+
+
+
+

CSA

+
+
+

Fits Cargo

+ +
+
+
-
+
-
Ex
CSA
-

Salam Air

+
Ex CSA
+
+
+

Salam Air

+
+
+
+
+
+

GSSA

+
+
+
+

Pegasus airlines

+ +
+
+
+
+
+

Exclusive CSA

+
+
+

China Soutthern Airlines

+ +
+
+
+
+

GSSA

+
+
+

Salam air

+ +
+
+
diff --git a/resources/views/crud/generated/franchises/create.blade.php b/resources/views/crud/generated/franchises/create.blade.php index a627d28..ed0b0f6 100644 --- a/resources/views/crud/generated/franchises/create.blade.php +++ b/resources/views/crud/generated/franchises/create.blade.php @@ -2,7 +2,7 @@ @section('content')
-

{{ label('Add Franchises') }}

+

{{ label('Add Franchise') }}

@@ -12,9 +12,11 @@
{{ createText('title', 'title', 'Title') }}
+
{{ createText('link', 'link', 'Link') }} +
{{ createTextarea('text', 'text ckeditor-classic', 'Text') }}
-
{{ createImageInput('thumb', 'Thumb') }} +
{{ createImageInput('thumb', 'Thumb') }}
{{ createImageInput('banners', 'banners', 'Banners') }}

diff --git a/resources/views/crud/generated/franchises/edit.blade.php b/resources/views/crud/generated/franchises/edit.blade.php index 881f589..8884990 100644 --- a/resources/views/crud/generated/franchises/edit.blade.php +++ b/resources/views/crud/generated/franchises/edit.blade.php @@ -2,7 +2,7 @@ @section('content')
-

{{ label('Edit Franchises') }}

+

{{ label('Edit Franchise') }}

@@ -12,9 +12,11 @@
{{ createText('title', 'title', 'Title', '', $data->title) }}
+
{{ createText('link', 'link', 'link', '', $data->link) }} +
{{ createTextarea('text', 'text ckeditor-classic', 'Text', $data->text) }}
-
{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }} +
{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
{{ createImageInput('banners', 'Banners', '', $data->banners) }}