Remove manual payment application button for unconfirmed receipts

Only email-confirmed payments get the apply button. Unconfirmed payments
show the failure reason and direct the user to an advisor.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro
2026-07-18 16:44:28 +00:00
co-authored by Claude Sonnet 4.6
parent 6c0396d3c0
commit 1fd9a92afa
2 changed files with 1 additions and 11 deletions
-7
View File
@@ -493,13 +493,6 @@ class PublicChat extends Component
'action' => 'pago.aplicar',
'data' => ['monto' => $monto, 'referencia' => $datosPago['referencia'] ?? null],
];
} elseif ($resultado['estado'] !== 'ya_usado') {
// No confirmado: ofrecer aplicar manualmente
$botones[] = [
'label' => 'Aplicar $' . number_format($monto) . ' (manual)',
'action' => 'pago.aplicar',
'data' => ['monto' => $monto, 'referencia' => $datosPago['referencia'] ?? null],
];
}
$botones[] = ['label' => 'Hablar con asesor', 'action' => 'asesor.solicitar', 'data' => []];