@if($investments[$i]->active == 'active')
PauseEnd
@if($investments[$i]->autot == 'yes')
End Auto
@else
Start Auto
@endif
Top Up
@elseif($investments[$i]->active == 'paused')
Resume
@elseif($investments[$i]->active == 'ended')
@endif
Top Up ( {{$investments[$i]->dplan()->name}} - {{$investments[$i]->txn_id}} )