All Sub Category have also a base Category
@if(Session::has('success'))
@endif
{{---------------------------}}
{{-------------------------}}
Success ..! {{ Session::get('success') }}
@elseif(count($errors) > 0)
Error ..! You have Something Error.
-
@foreach($errors->all() as $error)
{!! $error !!}
@endforeach
Sub Category
#ID | Sub Category Name | Base Category | Price | Action |
---|---|---|---|---|
{{ $i++ }} | {{ $scat->name }} | @foreach($cats as $c) @if($c->id == $scat->base_cat) {{ $c->name }} @endif @endforeach | @if($scat->price == 0) {{ "Free" }} @else @foreach($curr as $cr) @if($scat->currency == $cr->id ) {{ $cr->name }} {{ $scat->price }} @endif @endforeach @endif | Edit Add Question View Question {!! Form::open(['route'=>['subcategory.destroy',$scat->id],'method'=>'DELETE']) !!} {!! Form::close() !!} |
{{ $subcat->links() }}