@extends('backend.admin-master') @section('style') @endsection @section('site-title') {{__('All Variants')}} @endsection @section('content')

{{__('All Variants')}}

@php $b=0; @endphp @foreach($all_variant as $key => $event)
@foreach($event as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Terms')}} {{__('Action')}}
{{$data->id}} {{$data->title}}
    @php $prices = json_decode($data->price); @endphp @foreach(json_decode($data->terms) as $term)
  • {{$term}} @if(isset($prices[$loop->index]) && !empty($prices[$loop->index])) + {{amount_with_currency_symbol($prices[$loop->index])}} @endif
  • @endforeach
@php $b++; @endphp @endforeach
@endsection @section('script') @endsection