@extends('layouts.app') @section('content')
{{ __('Name') }} | {{ __('Company') }} | {{ __('Email') }} | {{ __('Phone') }} | {{ __('Due') }} | {{ __('Edit') }} |
---|---|---|---|---|---|
{{ $user->name }} | {{ $user->profile->company }} | {{ $user->email }} | {{ $user->profile->phone }} | @if($user->resellerbills->sum('amount') > $user->resellerpayments->sum('amount')) {{ auth()->user()->currency . ($user->resellerbills->sum('amount') - $user->resellerpayments->sum('amount'))}} {{ __('(due)') }} @else {{ auth()->user()->currency . ($user->resellerpayments->sum('amount') - $user->resellerbills->sum('amount'))}} {{ __('(advanced)') }} @endif | {{ __('edit') }} |