Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="nav navbar-nav navbar-right">
- @auth
- <li class="hidden-sm hidden-md">
- @php
- $next = false;
- if( Auth::user()->accounts()->count()>0){
- if( Auth::user()->getTotalBalance()==0)
- echo "<a href=/deposit>".trans('menu.addmore_money0')."</a>";
- else{
- $next = Auth::user()->accounts()->first()->mapInvestorPercent( Auth::user()->getTotalBalance() );
- if( $next ){
- echo "<a href='/deposit'>".trans('menu.addmore',['amount'=> $next[0], 'percent'=>$next[1]])."</a>";
- }
- }
- }
- @endphp
- </li>
Advertisement
Add Comment
Please, Sign In to add comment