MINI MINI MANI MO
<!DOCTYPE html>
<html>
<head>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta http-equiv="content-type" content="text-html; charset=utf-8">
<style type="text/css">
p.titulos {
font-size: 15px;
text-align: center;
margin-top: 20px;
}
p.subtitulo {
font-size: 13px;
text-align: center;
}
p.folio {
font-size: 13px;
text-align: right;
}
p.destinatario {
font-size: 13px;
text-align: left;
margin-top: 20pt;
}
.center {
text-align: center;
}
p.texto {
font-size: 11px;
text-align: justify;
}
td {
margin-top: 50px;
font-size: 11px;
/* border: 1px solid #000000; */
}
.text-center {
text-align: center;
}
.text-uppercase {
text-transform: uppercase;
}
.danger {
color: red;
}
.warning {
color: yellow;
}
.success {
color: green;
}
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
font-size: 11px;
}
.th-h {
text-align: center !important;
font-size: 11px;
}
th {
border: 1px solid #000000;
text-align: center !important;
padding: 8px;
font-size: 10px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
@page {
margin: 0cm 0cm;
}
.center-img {
text-align: center;
}
.footer-img {
width: 80%;
}
body {
margin: 80px 80px 75px 80px;
}
.firma {
background-color: transparent !important;
text-align: center;
font-size: 10px;
}
.tabla2 {
border: 1px solid #000000;
font-size: 10px;
}
.tablita2 {
font-size: 12px;
justify;
style="line-height:.5px;
padding-left: 20px;
}
@font-face {
font-family: 'Helvetica';
font-weight: normal;
font-style: normal;
font-variant: normal;
}
body {
margin-top: 3.5cm;
margin-left: 2cm;
margin-right: 2cm;
margin-bottom: 2cm;
font-size: 14px;
font-family: 'Helvetica';
font-style: normal;
font-size: 7.7px;
}
h1 {
font-size: 12px;
font-weight: bold;
}
th {
font-weight: bold;
background-color: #d2d3d5;
}
h5 {
font-size: 11px;
font-weight: bold;
text-align: justify;
}
.texta {
font-weight: bold;
text-align: justify;
color: #960048;
font-size: 8px;
}
span {
font-size: 10px;
font-weight: bold;
text-align: justify;
content: '\A' !important;
white-space: pre !important;
}
header {
position: fixed;
top: 0.1cm;
left: 0cm;
right: 0cm;
height: 5.5cm;
}
/* Define the footer rules */
footer {
position: fixed;
bottom: 0cm;
left: .5cm;
right: 0cm;
height: 2cm;
}
h1 {
font-size: 12px;
font-weight: bold;
}
th {
font-weight: bold;
background-color: #d2d3d5;
}
h5 {
font-size: 11px;
font-weight: bold;
text-align: justify;
}
.texta {
font-weight: bold;
text-align: justify;
color: #960048;
font-size: 8px;
}
span {
font-size: 10px;
font-weight: bold;
text-align: justify;
content: '\A' !important;
white-space: pre !important;
}
p {}
.page_break {
page-break-before: always;
}
</style>
</head>
<body>
<header>
<br>
<center>
<div class="row">
<img src="{{public_path('spid/images/logo/congeso.jpg')}}" alt="materialize" width="40%" height="40%" style="border-radius:15px;"/>
</div>
<br><br>
</center>
</header>
<main>
<br>
<br><br>
<table width="100%" border="0" cellpadding="4">
<tbody>
<tr>
<td align="center" style="font-size: 13px;" bgcolor="#DCD6D4"><strong>REGISTRO DE VOTACIÓN</strong></td>
</tr>
</tbody>
</table>
<br>
<p style="text-align: right; font-size: 12px;"><b>{{$temas[0]['no']}}</b></p>
<table width="100%" border="1" cellpadding="4">
<tbody>
<tr>
<td align="right" width="100%">FECHA: <strong> {{ \Carbon\Carbon::parse($randomEvento[0]->fechaEvento)->format('d-m-Y') }} </strong> </td>
</tr>
<tr>
<td align="left" width="100%">
<STRONG>EVENTO: </STRONG>{{ mb_strtoupper($randomEvento[0]->nombreEvento) }}
<br>
<br>
<STRONG>VOTO: </STRONG>{{ mb_strtoupper($temas[0]->votacion) }}
</td>
</tr>
<tr>
<td align="left" width="100%"><strong>TOTAL FAVOR: </strong>{{$favor}}</td>
</tr>
<tr>
<td align="left" width="100%"><strong>TOTAL CONTRA: </strong> {{$contra}}</td>
</tr>
<tr>
<td align="left" width="100%"><strong>TOTAL ABSTENCIÓN: </strong> {{$abstencion}}</td>
</tr>
<tr>
<td align="left" width="100%"><strong>TOTAL PENDIENTES: </strong> {{$sinregistro}}</td>
</tr>
</tbody>
</table>
<br>
<table width="100%">
<tbody>
@foreach ($votacion as $voto)
<tr>
<td align="center" width="10%">
<p style="font-size: 8px;">
{{ mb_strtoupper($voto->ap_pat) }}
{{ mb_strtoupper($voto->ap_mat) }}
{{ mb_strtoupper($voto->nombre) }}
</p>
</td>
<td align="center" width="10%">
<p style="font-size: 8px;">{{ mb_strtoupper($voto->partido) }}</p>
</td>
<td align="center" width="10%">
<p style="font-size: 8px;">{{ mb_strtoupper($voto->mensaje) }}</p>
</td>
</tr>
@endforeach
</tbody>
</table>
</main>
</body>
</html>
OHA YOOOO