@if(isset($lcs))
    @if(!empty($lcs))
        <table class="table table-condensed table-striped tablalcs1" width="100%">
            <thead>
                <tr>
                    @if ($lcs_mlcs == 'MLCS')
                    <th class="text-center">Sector solicitante</th> @endif
                    <th class="text-center">Fecha Solicitud</th>
                    <th class="text-center">Moneda</th>
                    <th class="text-center">Monto</th>
                    <th class="text-center">Estado</th>
                    <th class="text-center"></th>
                </tr>
            </thead>
            <!-- -->
            <tbody>
                @foreach($lcs as $lc) 
                    <tr>
                        @if ($lcs_mlcs == 'MLCS')
                        <td class="text-center">{{$lc->texto}}</th> @endif
                        <td class="text-center">{{$lc->desde_dmy}}</td>
                        <td class="text-center">{{$lc->moneda}}</td>
                        <td class="text-center">{{$lc->monto}}</td>
                        <td class="text-center">@if ($lc->visible == 0) Inactivo @else Activo @endif</td>
                        <td class="text-center">
                            <button type="button" data-producto="{{$lc->producto}}" data-cliente="{{$lc->cliente}}"
                                data-contraparte="{{$lc->contraparte}}" data-id="{{$lc->id}}" data-lcs_mlcs="{{$lcs_mlcs}}"
                                class="btn btn-fidelitas botlcsdel">@if ($lc->visible == 0) Activar @else Desactivar @endif</button>
                        </td>
                    </tr>
                @endforeach
            </tbody>
        </table>
        <!-- -->
        <script>
            $(document).ready(function () {
                eventosTablaLCS();
            });
        </script>
    @else
        <h5 class="text-center">No hay datos cargados</h5>
    @endif
@endif