feat(payments): filter candidates by DNI distance

This commit is contained in:
2026-08-27 16:04:12 -03:00
parent 5601285369
commit 9bca41bfa5
7 changed files with 251 additions and 21 deletions

View File

@@ -10,6 +10,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
'telepagos_payment_id',
'compra_id',
'dni_matches',
'dni_distance',
'payment_dni',
'purchase_dni',
'amount_matches',
'payment_amount',
'purchase_amount',
@@ -27,6 +30,7 @@ class TelepagosPaymentCandidate extends Model
'telepagos_payment_id' => 'integer',
'compra_id' => 'integer',
'dni_matches' => 'boolean',
'dni_distance' => 'integer',
'amount_matches' => 'boolean',
'payment_amount' => 'decimal:2',
'purchase_amount' => 'decimal:2',