<div class="card" id="appDivisasMetodos" v-cloak>
    <div class="card-header">
        <div class="card-head-row">
            <div class="card-title">Divisas / Métodos</div>
            <div class="card-tools">
                <a href="#" class="btn btn-light" style="box-shadow: 2px 6px 15px 0px #ddd;" @click.prevent="modalGuardar"><span class="btn-label"><i class="fa fa-plus"></i></span>
                    Agregar
                </a>
            </div>
        </div>
    </div>
    <div class="card-body">
        <div class="table-responsive table-hover table-sales">
            <table class="table table-sm table-hover">
                <thead>
                    <tr>
                        <th>Divisa</th>
                        <th>Método</th>
                        <th class="text-center">Acciones</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="row in divmet">
                        <td>{{ row.div_nombre }}</td>
                        <td>{{ row.mp_nombre }}</td>
                        <td class="text-center">
                            <div class="form-button-action">
                                <button type="button" title="Eliminar" class="btn btn-link text-dark" @click="eliminar(row)">
                                    <i class="fa fa-trash"></i>
                                </button>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <?php include 'modaleditarguardar.php'; ?>
</div>
<script src="<?php asset('assetsvuejs/divisas_metodos/dm.js'); ?>"></script>
