@extends('pro.bills.view')
@section('content-inner')

    <div class="mr-3 pb-3">

        <h4 class='my-3 d-flex'>
            <div>Transactions</div>
            <div class="ml-auto">
                <!-- _ADD_NEW_LINK_ -->
            </div>
        </h4>

        <div class="table-responsive p-0 bg-white border">
            <table class="table table-hover text-nowrap">
                <thead>
                <tr>
                    <th>Id</th>
<th>Amount</th>
<th>Custom Memo</th>
<th>Plus Or Minus</th>
<th>Reason Type</th>
<th>Resulting Balance</th>
<th>System Memo</th>
<th>Bill Id</th>
<th>Client Id</th>
<th>Pro Id</th>
<th>Created At</th>
<th>Uid</th>
<th>Created By Session Id</th>
<th>Type</th>
                </tr>
                </thead>
                <tbody>
                @foreach($subRecords as $subRecord)
                    <tr>
                        <td><?= $subRecord->id ?></td>
<td><?= $subRecord->amount ?></td>
<td><?= $subRecord->custom_memo ?></td>
<td><?= $subRecord->plus_or_minus ?></td>
<td><?= $subRecord->reason_type ?></td>
<td><?= $subRecord->resulting_balance ?></td>
<td><?= $subRecord->system_memo ?></td>
<td><?= $subRecord->bill_id ?></td>
<td><?= $subRecord->client_id ?></td>
<td><?= $subRecord->pro_id ?></td>
<td><?= $subRecord->created_at ?></td>
<td><?= $subRecord->uid ?></td>
<td><?= $subRecord->created_by_session_id ?></td>
<td><?= $subRecord->type ?></td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>

@endsection
