@if(Auth::user()->hasAnyRole(['consumer', 'agent']) ) @include('partials.transaction-status-blank', [ 'totalName' => (Auth::user()->hasRole('agent') ? 'Ausgezahlt' : 'Ausgezahlt'), /* for consumer+agents the same, all becomes RECO.CASH */ 'totalAmount' => Format::currency($paidTransactionsAmount), 'openName' => 'Offen', 'openAmount' => Format::currency($pendingTransactionsAmount), 'balanceName' => 'Kontostand', 'balanceAmount' => Format::currency($allocatedTransactionsAmount) ]) @endif