@php
    $showBank = $showBank ?? true;
    $bankFields = [
        'Account Holder Name' => $company->account_holder_name ?? '',
        'Bank Name' => $company->bank_name ?? '',
        'Account Number' => $company->bank_account ?? '',
        'Branch Name' => $company->bank_branch ?? '',
        'IFSC Code' => $company->bank_ifsc ?? '',
        'UPI ID' => $company->upi_id ?? '',
    ];
@endphp
@if($showBank)
    <div class="billing-invoice-doc__bank billing-invoice-doc__bank--side">
        <h3 class="billing-invoice-doc__bank-title">Bank Details</h3>
        <table class="billing-invoice-doc__bank-table" cellpadding="0" cellspacing="0">
            @foreach($bankFields as $label => $value)
                <tr>
                    <td class="billing-invoice-doc__bank-label">{{ $label }}:</td>
                    <td>{{ $value !== '' && $value !== null ? $value : '—' }}</td>
                </tr>
            @endforeach
        </table>
    </div>
@endif
