@extends('../screenwriter/screenwriter_layout.app') @section('content')

In Program

Account Balance

@if(empty($transactions)) @foreach ($transactions as $trans) @if($index == 0)
Previous Payout April 2 2022
$ 2000 Paid
Next Payout April 2 2022
$ 2000 Pending
@endif @endforeach @else
Previous Payout
$ 0
Next Payout
$ 0
@endif
Balance
$ {{$balance}}
Latest Sales Today
@foreach ($transactions as $trans) @endforeach
Date Status Payment name Payment
{{\Carbon\Carbon::parse($trans->created)->format('d-m-Y')}} {{ucfirst($trans->status)}} @if($trans->payment_name == 'treatment_purchased') Treatment Purchased @elseif($trans->payment_name == 'script_purchased') Script Purchased @elseif($trans->payment_name == 'screenplay_purchased') Script Purchased @elseif($trans->payment_name == 'transfer') Transfer @endif $ {{$trans->amount->value}}
Profile Picture
{{$fullname}}
Screenwriter
@if(!$bankSource) @endif @if($bankSource) @if($bankSource->removed) @else @endif @endif
@endsection