<div class="card">
    <div class="card-body" :class="cargando">
        <div class="row">
            <div class="col-12">
                <div class="form-row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label>Filtrar por categoria</label>
                            <select id="categoria" v-model="categoria_filtro" class="form-control custom-select">
                                <option value="0">Todos</option>
                                <option v-for="row in optionsCategorias" :value="row.id">{{row.label}}</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-sm-2 text-center">
                        <br>
                        <div class="form-group">
                            <div class="input-group-append">
                                <a class="btn btn-primary" target="_blank" :href="'<?= ruta_base() ?>productos/sticket_productos_pdf/'+categoria_filtro"><i class="fa fa-print"></i></a>
                                <a class="btn btn-warning ml-2" @click="modal_producto()">Imprimir producto individual</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-12">
                        <div class=" alert alert-warning" role="alert" v-for="row in errorForm">
                            {{ row }}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>