<div class="accordion accordion-bordered mt-3" id="accordionOtTasks">
    <div class="card accordion-item active">
        <h2 class="accordion-header">
            <button type="button" class="accordion-button" data-bs-toggle="collapse" data-bs-target="#accordionOtTasksTip" aria-expanded="false" aria-controls="accordionOtTasksTip">

                <h4> <i class="tf-icon ti-list-check ti-xs ti">Tareas</i> </h4>
            </button>
        </h2>

        <div id="accordionOtTasksTip" class="accordion-collapse collapse show" data-bs-parent="#accordionOtTasks">
            <div class="accordion-body">
                <div class="card text-center">
                    <div class="card-header">
                        <div class="nav-align-top">
                            <ul class="nav nav-pills" role="tablist">
                                <li class="nav-item">
                                    <button type="button" class="nav-link d-flex flex-column gap-1 active" role="tab" data-bs-toggle="tab" data-bs-target="#nav-ot-task-general" aria-controls="nav-ot-task-general-active" aria-selected="true">Tareas</button>
                                </li>
                                <li class="nav-item">
                                    <button type="button" class="nav-link d-flex flex-column gap-1" role="tab" data-bs-toggle="tab" data-bs-target="#nav-ot-task-preimpresion" aria-controls="nav-ot-task-preimpresion" aria-selected="false">Preimpresion</button>
                                </li>
                                <li class="nav-item">
                                    <button type="button" class="nav-link d-flex flex-column gap-1" role="tab" data-bs-toggle="tab" data-bs-target="#nav-ot-task-ferro-envio" aria-controls="nav-ot-task-ferro-envio" aria-selected="false">Ferros y envíos</button>
                                </li>
                                <li class="nav-item">
                                    <button type="button" class="nav-link d-flex flex-column gap-1" role="tab" data-bs-toggle="tab" data-bs-target="#nav-ot-task-messages" aria-controls="nav-ot-task-messages" aria-selected="false">Mensajes</button>
                                </li>

                            </ul>
                        </div>
                    </div>
                    <!-- CARD BODY -->
                    <div class="card-body">
                        <div class="tab-content p-0">
                            <!-- TAREAS -->
                            <div class="tab-pane fade show active" id="nav-ot-task-general" role="tabpanel">
                                <div class="row text-start">
                                    <div class="col-md-12">

                                        <?= view("themes/vuexy/components/tables/ot_task_table", ["id" => "ot-task-table"]) ?>
                                    </div>
                                </div>

                                <div class="row text-end mt-2">
                                    <div class="col-md-12">
                                        <button type="button" class="btn btn-danger btn-md" id="btn-reset-tareas"><i class="ti ti-trash ti-xs"></i> Reiniciar tareas</button>
                                    </div>
                                </div>
                            </div>
                            <!-- PREIMPRESION -->
                            <div class="tab-pane fade" id="nav-ot-task-preimpresion" role="tabpanel">
                                <div class="row text-start">
                                    <?= view("themes/vuexy/form/produccion/ot/otPreimpresionReview") ?>
                                </div>
                            </div>
                            <!-- FERROS Y ENVIOS -->
                            <div class="tab-pane fade" id="nav-ot-task-ferro-envio" role="tabpanel">
                                <div class="row text-start">
                                    <?= view("themes/vuexy/form/produccion/ot/otFerrosEnvios") ?>
                                </div>
                            </div>
                            <!-- MENSAJES -->
                            <div class="tab-pane fade" id="nav-ot-task-messages" role="tabpanel">

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>