@extends('layouts.app')
@section('styles')
@endsection
@section('content')
@canany(['subscription-package-list'])
View Packages
@php
$color_array=['primary','danger','success','secondary'];
$i=0;
@endphp
@foreach($data['packages'] as $package)
@if (array_key_exists($i,$color_array)==false)
@php
$i=0;
@endphp
@endif
@php
$color=$color_array[$i];
@endphp
{{$package['subscription_type_name']}}
@switch($i)
@case(0)
@break
@case(1)
@break
@case(2)
@break
@case(3)
@break
@default
@endswitch
QAR {{sprintf('%.2f', $package['subscription_type_price'])}}
- {{$package['subscription_type_days']}} Days Validity.
- {{$package['subscription_type_description']}}
- 24/7 support
- Help center access
@php
$i++;
@endphp
@endforeach
@endcanany
@endsection
@section('scripts')
@endsection
@if (\Session::has('success'))
@endif
@if($errors->any())
@endif