@extends("frontend.main") @section("content")
@if($type->count())
@foreach($type->all() as $key => $item) @endforeach
@endif @if(isset($group)) @if($group->count())
@foreach($group->all() as $item)
$item->Type->id,'group' => $item->id]) }}' " class="box-form__checker {{ (int) request()->get('group') === $item->id ? "active" : "" }} shadow text-center rounded p-3">
{{ $item->Type->name }}
{{ $item->name }}
@endforeach
@endif @else @if($type->first()->Group->count())
@foreach($type->first()->Group->all() as $item)
$type->first()->id,'group' => $item->id]) }}' " class="box-form__checker {{ (int) request()->get('group') === $item->id ? "active" : "" }} shadow text-center rounded p-3">
{{ $type->first()->name }}
{{ $item->name }}
@endforeach
@endif @endif
@if(isset($product) && $product->count())
@foreach($product->all() as $item)

{{ $item->name }}


@if($item->price_sale)
{{ number_format($item->price_sale,0,',','.') }}₫ {{ number_format($item->price,0,',','.') }}₫ / 1 tháng
@else
{{ number_format($item->price,0,',','.') }}₫ / 1 tháng
@endif
    @foreach(explode("\r\n",$item->description) as $_item)
  • {{ $_item }}
  • @endforeach

@csrf
@endforeach
@endif @if(request()->get('type') == 2) {{--
--}} {{--
--}} {{-- Tìm kiếm tên miền của bạn--}} {{--
--}} {{--
--}} {{-- Để xây dựng thương hiệu của bạn trên Internet, tiếp cận nhiều khách hàng tiềm năng hơn.--}} {{--
--}} {{-- --}} {{--
--}} @endif
@endsection