'$refresh', 'transaction-saved' => '$refresh', ]; // methods }; ?>
@foreach ($holding->dividends->take(5) as $dividend) @php $owned = ($dividend->purchased - $dividend->sold); @endphp {{ Number::currency($dividend->dividend_amount, $holding->market_data->currency) }} x {{ $owned }} = {{ Number::currency($owned * $dividend->dividend_amount, $holding->market_data->currency) }} {{ $dividend->date->format('F d, Y') }} @endforeach