<table class="ti-party" width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <!-- BILL TO -->
        <td class="ti-party-box">
            <b>Bill To</b><br>
            <?= htmlspecialchars($client['name']) ?><br>
            <?= nl2br(htmlspecialchars($client['address'] ?? '')) ?><br>
            <?php if($client['gstin']): ?>
                GSTIN : <?= $client['gstin'] ?><br>
            <?php endif; ?>
            Mobile : <?= $client['phone'] ?? '' ?>
        </td>

        <!-- SHIP TO -->
        <td class="ti-party-box">
            <b>Ship To</b><br>
            <?= htmlspecialchars($client['name']) ?><br>
            <?= nl2br(htmlspecialchars($client['address'] ?? '')) ?>
        </td>
    </tr>
</table>