 <table class="table table-bordered table-hover">
     <tr>
        <th>{{ __('ticket_number') }}</th>
        <th>{{ __('account_number') }}</th>
        <th>{{ __('amount') }}</th>
        <th>{{ __('balance') }}</th>
        <th>{{ __('Office') }}</th>
        <th>{{ __('Status') }}</th>
        <th>{{ __('created_at') }}</th>
    
     </tr>
   
         @foreach ($transactions as $transaction)
                <tr>
                    <td>{{ optional($transaction->ticket)->ticket_number }}</td>
                    <td>{{$transaction->account->number }}</td>
                   <td>{{ formatPrice($transaction->amount) }}</td>
                   <td>{{ formatPrice($transaction->balance) }}</td>
                    <td>{{ $transaction->account->office->name }}</td>
                    <td>{{ $transaction->status}}</td>
                    <td>{{ $transaction->created_at->format('Y/m/d') }}</td>
                   
                </tr>   
          @endforeach
 </table>
