Balance</th>
                                                <th  style="border: 1px solid #ddd;" class="text-end">Agent Payment Value</th>
                                                <th  style="border: 1px solid #ddd;" class="text-end">Ending Agent Payment Balance</th>

                                                <!-- Patient Deposit -->
                                                <th  style="border: 1px solid #ddd;" class="text-end">Starting Patient Deposit Balance</th>
                      