@extends('../admin/admin_layout.app') @section('content')
{{ ucfirst($user->fullname) }}
@if($user->role == 'screenwriter')
@endif
@If($user->role == 'producer') @foreach ($user->scripts as $index => $script) @endforeach @elseif($user->role == 'screenwriter') @foreach ($user->scripts as $index => $script) @endforeach @endif
# Script Title Script Purchased Treatment Purchased
{{$index + 1}} {{$script->title}} Not Purchased Purchased
@csrf
# Script Title Script Status
{{ $index + 1 }} {{$script->title}}
@csrf
@endsection