@extends('web.layout.master') @section('content')
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach @if ($errors->any())
@endif
@if(!empty($modeldata["header"]["logo_banner"]))

{{ !empty($title) ? str_replace('| PartsWarehouse','',$title) : '' }}

@endif @if($subid == '|15881' || $subid == '|15882' || $subid == '|15878' || $subid == '|15879' || $subid == '|15880' || $subid == '9292') @endif @if($subid != '|15881' && $subid != '|15882' && $subid != '|15878' && $subid != '|15879' && $subid != '|15880' && $subid != '9292')
@endif
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach {{--

{{ $cat_name }}

--}} {{-- ... --}} {{-- --}}
@if(!empty($modeldata['list'])) @foreach ($modeldata['list'] as $m) @php $subcat = str_replace('|','',$m['subcat']); $pname = preg_replace("/[^A-Za-z0-9\s]/", "", $m['Name']); $pname1 = str_replace(" ","-",$pname).'-s'; if($newURLs[$subcat] == ($subcat.'-s/'.$subcat .'.htm')){ $newURL = url('/'.$pname1.'/'.$subcat.'.htm'); }else{ if (!empty($newURLs[$subcat])) { $newURL = url($newURLs[$subcat]); }else{ $newURL = url('/'.$pname1.'/'.$subcat.'.htm'); } } @endphp @endforeach @else

No models have been added yet

@endif
@section('scripts') @endsection @endsection