<h3>Payment Gateways <span class="float-sm-end"><button type="button" class="btn btn-sm btn-primary" onclick="edit_company()">Edit</button> </span></h3>
                <div class="table-responsive">
                    <table class="table table-sm table-striped w-100" id="perm-list">
                            <thead class="bg-dark text-white" style="font-size:12px;">
                            <tr>
                                <td>#ID</td>
                                <td>Name</td>
                                <td>Type</td>
                                <td>Merchant ID</td>
                                <td>Keys</td>
                                <td></td>
                            </tr>
                        </thead>
                        <tbody style="font-size:12px;">
                                    <?php foreach($gateways as $g):?>
                                    <tr>
                                        <td><?=$g->id; ?></td>
                                        <td><?= $g->name; ?></td>
                                        <td><?= $g->gateway_type; ?></td>
                                        <td><?= $g->merchant_id ?></td>
                                        <td><small style="font-size: 12px">
                                            <strong>Public:</strong><br/> <?= $g->public_key; ?></br>
                                            <strong>Private:</strong><br/> <?= $g->secret_key; ?> 
                                            </small>
                                        </td>
                                        <td></td>
                                    </tr>
                                    <?php endforeach;?>
                                </tbody>
                            </table>
                        </div><!-- responsive !-->
                         
            