@if(isset($pp))
	@if(!empty($pp))
		<table class="table table-condensed table-striped tablapp1" width="100%">
		<thead>
		<tr>
			<th class="text-center">Mes</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($pp as $lc) 
			<tr>
			<td class="text-center">{{$lc->fecha_dmy}}</td>
			<td class="text-center">{{$lc->moneda}}</td>
			<td class="text-center">{{$lc->monto}}</td>
			<td class="text-center">@if ($lc->visible==0) Eliminado @else Activo @endif</td>
			<td class="text-center">
				<button type="button" data-contraparte="{{$lc->contraparte}}" data-cliente="{{$cliente}}" data-id="{{$lc->id}}" class="btn btn-primary btn-fidelitas botppdel">@if ($lc->visible==0) Activar @else Eliminar @endif</button>
				</td>
			</tr>
		@endforeach
		</tbody>
		</table>
		<br>
	@else 
		No hay datos cargados 
	@endif 
@endif 
