Commit d7a8a9e9 by Hussain Mohamed

chnages

parent 3bb83cfa
......@@ -8,4 +8,6 @@
class ProductBrandModel extends Model
{
use HasFactory;
protected $table = 'brand';
protected $guarded = ['id'];
}
......@@ -8,4 +8,6 @@
class ProductIndustryModel extends Model
{
use HasFactory;
protected $table = 'industry';
protected $guarded = ['id'];
}
......@@ -8,4 +8,6 @@
class ProductTypeModel extends Model
{
use HasFactory;
protected $table = 'type';
protected $guarded = ['id'];
}
......@@ -256,6 +256,9 @@
'language', 'addLanguage',
'hair', 'addHair',
'eye', 'addEye',
'type', 'addType',
'industry', 'addIndustry',
'brand', 'addBrand',
'bodyType', 'BodyTypeDetails',
'orientation', 'orientationDetails'
])) show @endif" id="collapseLogistics">
......@@ -272,12 +275,30 @@
</li>
<li class="pe-slide-item">
<a href="<?= route('slider') ?>" class="pe-nav-link">
<a href="<?= route('slider') ?>" class="pe-nav-link @if(request()->routeIs(['slider', 'addSlider'])) active @endif">
Slider
</a>
</li>
<li class="pe-slide-item">
<a href="<?= route('brand') ?>" class="pe-nav-link @if(request()->routeIs(['brand', 'addBrand'])) active @endif">
Brand
</a>
</li>
<li class="pe-slide-item">
<a href="<?= route('type') ?>" class="pe-nav-link @if(request()->routeIs(['type', 'addType'])) active @endif">
Type
</a>
</li>
<li class="pe-slide-item">
<a href="<?= route('industry') ?>" class="pe-nav-link @if(request()->routeIs(['industry', 'addIndustry'])) active @endif">
Industry
</a>
</li>
<li class="pe-slide-item">
<a href="<?= route('language') ?>" class="pe-nav-link
@if(request()->routeIs(['language', 'addLanguage'])) active @endif">
Language
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment