@php $brand = $dataConfigs['brand'] ?? 'default'; @endphp @extends('student.layouts.app') @push("styles") @endpush @section('titlePage', 'Market Place') @section('content')
@include('common.alert')
@foreach ($data as $item) @php $company_tags='
  • '; $type=$item->model; if($type=="test"){ $type="Test"; }elseif($type=="courses"){ $type="Course"; }elseif($type=="test-series"){ $type="Test Series"; }elseif($type=="study-guide"){ $type="Study Guide"; } @endphp
    {{$item->title}}
      {{round((($item->price - $item->selling_price)/$item->price)*100,2)}}% off
    • {{$item->title}}
    • {{$type}}
    • @if($type!="Study Guide")
    • Price: INR {{$item->price}} {{$item->selling_price}}
    • Validity : {{$item->validity}} Days
    • Description : {{words_limit($item->description, 10)}}

      @endif {{-- @if($item->att!="" && $item->model!="study-guide")
    • Skill: {{preg_replace('/,/', ', ', $item->att)}}
    • @endif @if($item->c_att!="")
    • Company: {{preg_replace('/,/', ', ', $item->c_att)}}
    • @endif --}} {{--

      {{words_limit($item->description, 30)}}

      --}}
    @if($item->model=="study-guide") Read More @else Read More @endif
    {{--
    {{$item->price}} {{$item->selling_price}}

    {{$item->title}}
    • {{$item->title}}
    • {{$type}}
    • @if($type!="Study Guide")
    • Validity :
    • Description: {{words_limit($item->description, 10)}}

      @endif
    --}}
    @endforeach
  • @if($data instanceof \Illuminate\Pagination\LengthAwarePaginator ) {!! $data->links() !!} @endif
    @endsection @section('script') @endsection