@extends('front.layout') @section('custom-style') @endsection @section('content')
Get Subscription
@if(isset($subscriptions)) @php $gridColor = ['','2195ed', 'eac035', 'e40914', 'green']; @endphp @foreach($subscriptions as $subscription)

{{$subscription->title}}


Number of days: {{$subscription->days}} days

Price: Ksh.{{ number_format($subscription->price*100, 2) }} (${{number_format($subscription->price, 2)}})

{{$subscription->description}}

Purchase Subscription
@endforeach @endif
@if(\Session::has('error'))

{!! \Session::get('error') !!}

@endif @if(\Session::has('success-payment'))

{!! \Session::get('success-payment') !!} Back to Home

@endif @if(\Session::has('mpesa-success'))

{!! \Session::get('mpesa-success') !!} If you have accepeted the payment then click on I Agreed

@endif
@endsection @section('custom-script') @endsection