Tul xxx Tul
User / IP
:
216.73.216.191
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
/
gimnasiofitnes
/
app
/
Views
/
admin
/
boxes
/
Viewing: cuadre_pdf.php
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Cierre de caja</title> <style> @page { size: 80mm auto; margin: 4mm; } * { box-sizing: border-box; } body { margin: 0; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 10px; } .ticket { width: 100%; } .center { text-align: center; } .logo { max-width: 48px; max-height: 36px; margin-bottom: 2px; } .company-name { font-size: 12px; font-weight: 700; text-transform: uppercase; } .muted { color: #444; font-size: 8.5px; line-height: 1.25; } .title-box { border: 1px solid #111; margin: 8px 0 6px; padding: 5px 4px; text-align: center; } .title-box h1 { margin: 0; font-size: 13px; text-transform: uppercase; } .title-box p { margin: 2px 0 0; font-size: 8.5px; } .meta { width: 100%; border-collapse: collapse; margin-bottom: 5px; } .meta td { padding: 1px 0; vertical-align: top; } .meta .right { text-align: right; } .dash { border-top: 1px dashed #111; height: 1px; margin: 5px 0 7px; } .section-label { margin: 8px 0 2px; font-weight: 700; text-transform: uppercase; } .rows { width: 100%; border-collapse: collapse; } .rows td { padding: 2px 0; vertical-align: top; } .rows .label { width: 56%; } .rows .currency { width: 10%; text-align: right; font-weight: 700; } .rows .amount { width: 34%; text-align: right; } .strong td { font-weight: 700; } .final-row td { border-top: 1px solid #111; border-bottom: 1px solid #111; font-weight: 700; padding-top: 3px; padding-bottom: 3px; } .detail { margin-top: 8px; } .detail .section-label { margin-top: 0; } .detail table { width: 100%; border-collapse: collapse; } .detail td { padding: 2px 0; } .detail .label { width: 58%; font-weight: 700; } .detail .currency { width: 10%; text-align: right; font-weight: 700; } .detail .amount { width: 32%; text-align: right; font-weight: 700; } .detail-total-row td { border-top: 1px solid #111; font-weight: 700; padding-top: 3px; } .petty-cash { margin-top: 10px; border: 1px solid #111; color: #d11313; font-size: 13px; font-weight: 700; text-transform: uppercase; } .petty-cash td { padding: 4px 3px; } .petty-cash .amount { text-align: right; white-space: nowrap; } .footer { margin-top: 8px; border-top: 1px dashed #111; padding-top: 4px; text-align: center; font-size: 8.5px; } </style> </head> <body> <?php $currency = get_currency(); $company = $company ?? []; $boxUser = $boxUser ?? ['name' => 'N/D', 'role' => 'N/D']; $closeDate = !empty($box['closing_date']) ? $box['closing_date'] : date('Y-m-d'); $formatMoney = static fn ($value) => number_format((float) $value, 2); ?> <div class="ticket"> <div class="center"> <?php if (!empty($logoDataUri)): ?> <img class="logo" src="<?= esc($logoDataUri) ?>" alt="Logo"> <?php endif; ?> <div class="company-name"><?= esc($company['name'] ?? 'Empresa') ?></div> <?php if (!empty($company['ruc'])): ?> <div class="muted">RUC/RNC: <?= esc($company['ruc']) ?></div> <?php endif; ?> <?php if (!empty($company['address'])): ?> <div class="muted"><?= esc($company['address']) ?></div> <?php endif; ?> <?php if (!empty($company['phone'])): ?> <div class="muted">Tel: <?= esc($company['phone']) ?></div> <?php endif; ?> <?php if (!empty($company['email'])): ?> <div class="muted"><?= esc($company['email']) ?></div> <?php endif; ?> </div> <div class="title-box"> <h1>Cierre de caja</h1> <p>Ticket termico de caja historica</p> </div> <table class="meta"> <tr> <td><strong>Caja:</strong> <?= esc($box['name'] ?? ('#' . ($box['id'] ?? ''))) ?></td> <td class="right"><strong>Usuario:</strong> <?= esc($boxUser['name']) ?></td> </tr> <tr> <td><strong>Apertura:</strong><br><?= !empty($box['opening_date']) ? date('d/m/Y', strtotime($box['opening_date'])) : 'N/D' ?></td> <td class="right"><strong>Cierre:</strong><br><?= date('d/m/Y', strtotime($closeDate)) ?></td> </tr> <tr> <td><strong>Estado:</strong> <?= esc(strtoupper(translate_status($box['status'] ?? 'open'))) ?></td> <td class="right"><strong>Moneda:</strong> <?= esc($company['currency_code'] ?? get_currency_code()) ?> (<?= esc($currency) ?>)</td> </tr> <tr> <td><strong>Administrador:</strong> <?= esc($boxUser['role']) ?></td> <td class="right"><strong>Fecha:</strong> <?= date('d/m/Y h:i A') ?></td> </tr> </table> <div class="dash"></div> <table class="rows"> <tr> <td class="label">Saldo Inicial</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['monto_inicial'] ?? 0) ?></td> </tr> </table> <div class="section-label">Ingresos</div> <table class="rows"> <tr> <td class="label">Membresias</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['membresias_total'] ?? $summary['membresias_iniciales'] ?? 0) ?></td> </tr> <tr> <td class="label">Pagos (abonos)</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['abonos_total'] ?? 0) ?></td> </tr> <tr> <td class="label">Venta de Productos</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['ventas_productos'] ?? $summary['ventas_contado'] ?? 0) ?></td> </tr> <tr> <td class="label">Venta de Crédito</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['ventas_credito'] ?? 0) ?></td> </tr> <tr class="strong"> <td class="label">Total Ingresos</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['ingresos_totales'] ?? 0) ?></td> </tr> </table> <div class="section-label">Egresos</div> <table class="rows"> <tr> <td class="label">Gastos</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['gastos'] ?? 0) ?></td> </tr> <tr class="strong"> <td class="label">Total Egresos</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['egresos_totales'] ?? 0) ?></td> </tr> </table> <table class="rows"> <tr class="final-row"> <td class="label">Saldo Final de caja</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['saldo_final'] ?? 0) ?></td> </tr> </table> <div class="detail"> <div class="section-label">Detalle del cierre</div> <table> <tr> <td class="label">Ventas de credito</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['ventas_credito_neto'] ?? $summary['ventas_credito'] ?? 0) ?></td> </tr> <tr> <td class="label">Descuentos</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['descuentos'] ?? 0) ?></td> </tr> <?php foreach (($closureMethodRows ?? []) as $row): ?> <tr> <td class="label"><?= esc($row['metodo_pago']) ?></td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($row['total_por_metodo'] ?? 0) ?></td> </tr> <?php endforeach; ?> <tr class="detail-total-row"> <td class="label">Total</td> <td class="currency"><?= esc($currency) ?></td> <td class="amount"><?= $formatMoney($summary['detalle_total'] ?? $summary['saldo_final'] ?? 0) ?></td> </tr> </table> </div> <table class="petty-cash"> <tr> <td>Caja chica a entregar</td> <td class="amount"><?= esc($currency) ?> <?= $formatMoney($summary['caja_chica'] ?? 0) ?></td> </tr> </table> <div class="footer"> <?= esc($company['ticket_message'] ?? 'Gracias por su preferencia') ?> </div> </div> </body> </html>
Coded With 💗 by
0x6ick