@extends('screenwriter.screenwriter_layout.app') @section('content')
@if(request()->query('subtype') == 'payment')
Payment Done

{{ ucfirst(request()->query('type')) }} Membership has been purchased successfully

@else
My Current Scripts
@if(!$scripts->isEmpty()) See All @endif
@if(!$scripts->isEmpty()) @endif
@if(!$scripts->isEmpty()) @foreach ($scripts as $script)
Profile Picture
{{($script->publish_status == 'accepted') ? 'Live' : ucwords(preg_replace('/_/i',' ',$script->publish_status))}}
@if(!$script->scriptRatings->isEmpty())
2
@endif
{{$script->title}}.pdf

{{$script->updated_at->diffForHumans()}}

@endforeach @else @endif
My Current Status
Draft
{{auth()->user()->scripts->where('publish_status','draft')->count()}}/{{auth()->user()->scripts->count()}}
Submitted
{{auth()->user()->scripts->where('publish_status','submitted')->count()}}/{{auth()->user()->scripts->count()}}
In Review
{{auth()->user()->scripts->where('publish_status','inreview')->count()}}/{{auth()->user()->scripts->count()}}
My Marketplace Status
Marketplace Submissions
{{0}}
Script in Marketplace
{{$scripts->where('publish_status','accepted')->count()}}
@if(!$scripts->isEmpty()) @endif
Profile Picture
{{$fullname}}
{{auth()->user()->scripts->count()}}
Total Scripts
Edit Profile
Dwolla Setup @if(auth()->user()->dwolla_customer_id) @else @endif
Draft Script @if($checklist->first_script) @else @endif
Monthly Fee @if($checklist->first_fee) @else @endif
Contract Sign @if($checklist->first_contract) @else @endif
@endif
@isset($checklist) @if($checklist->first_experience) @endif @endisset @endsection