@extends('company_portal.layouts.master') @section('title','Creating the third workspace.') @section('header') @include('company_portal.partials.header') @endsection @section('content')
{{-- new cancel modal --}} @include('company_portal.payment_partials.modals._new_cancel_modal') {{-- subscription reasons modal --}} @include('company_portal.payment_partials.modals._cancel_reason_modal') @include('company_portal.payment_partials._company_details_modal') @include('company_portal.payment_partials._enter_card_modal') @include('company_portal.payment_partials._payment_confirmation_modal')
@if((Auth::user()->subscription('default') && !Auth::user()->subscription('default')->cancelled() && !Auth::user()->subscription('default')->onGracePeriod())) @if(isset($plan_subscribed) && $plan_subscribed && $plan_subscribed->can_upgrate)

Get 3 months free! Upgrade to annual today!

{{--

Upgrade

--}}

@endif @endif @if(Auth::user()->company && Auth::user()->company->companyFreelancer && count(Auth::user()->company->companyFreelancer()->where('status', 1)->get()) < 1)

No user has access on the app! Please select which one can access.

Add access to app

@endif
@if(Auth::user()->subscription('default') && Auth::user()->subscription('default')->cancelled() && Auth::user()->subscription('default')->onGracePeriod())
{{ csrf_field() }}

Resume your subscription

@if(Auth::user()->subscription('default') && Auth::user()->subscription('default')->onGracePeriod())

Your subscription will be resume and your next payment will be on {{\Carbon\Carbon::parse(Auth::user()->subscription('default')->ends_at)->format('d-m-Y')}}

@endif
@include('company_portal.payment_partials._payment_stripe')
@elseif(Auth::user()->subscription('default') && Auth::user()->subscription('default')->cancelled() && !Auth::user()->subscription('default')->onGracePeriod())

Order summary

{{ csrf_field() }}
@if(!$subscription_old_plan) @foreach ($plans as $plan) @if($plan->price == null && $plan->yearly_price == null ) @else @include('company_portal.payment_partials._payment_plans') @endif @endforeach @else @include('company_portal.payment_partials._old_subscription_payment_plan') @endif
{{-- Current Licences: {{Auth::user()->licences}} --}}
@if(!isset($plan_subscribed))
Code accepted Sorry this code is not valid.
@endif @include('company_portal.payment_partials._calculator_payment') @include('company_portal.payment_partials._payment_stripe')

What's included in your upgrade?

  • Unlimited bookings
  • Exclusive Networking
  • Access to Reef Discord channel
  • Perks + discounts
  • Invite + collaborate with colleagues

We accept

@else
@if(isset($plan_subscribed) && $plan_subscribed)

Add Users

@if(Auth::user()->onTrial() && Auth::user()->subscription('default')->trial_ends_at) @php $date = Auth::user()->subscription('default')->trial_ends_at; @endphp Free trial ends on {{\Carbon\Carbon::parse($date)->format('d-m-Y')}} @endif @else

Order summary

@endif
{{ csrf_field() }}
@if(!$subscription_old_plan) @if(isset($plan_subscribed) && $plan_subscribed) @php $plan = $plan_subscribed; @endphp @include('company_portal.payment_partials._payment_plans') @foreach ($plans as $plan) @if($plan_subscribed->id != $plan->id) @include('company_portal.payment_partials._payment_plans') @endif @endforeach @else @foreach ($plans as $plan) @if($plan->price == null && $plan->yearly_price == null ) @else @include('company_portal.payment_partials._payment_plans') @endif @endforeach @endif @elseif($subscription_old_plan) @include('company_portal.payment_partials._old_subscription_payment_plan') @endif
Current Licences: {{Auth::user()->licences}}
@if(!isset($plan_subscribed))
Code accepted Sorry this code is not valid.
@endif @if($offer_exist)
Special Discount: 20%
@endif @include('company_portal.payment_partials._calculator_payment') @include('company_portal.payment_partials._payment_stripe')
@if(!$freemium)

Click here to cancel your subscription.

@endif {{-- @if($yearlySubscribedUser && !$monthlySubscribedUser)

Click to cancel your subscription

@endif --}}
@include('company_portal.payment_partials._right_sidebar_payment_blade') @endif
@endsection @push('scripts') @if(Session::has('message')) @endif @if(Session::has('error')) @endif @if($show_info_modal) @endif @endpush