{{$t('title')}}
- Recibo de {{client.socialName}}, la cantidad de - {{receipt.amountPaid}} € en concepto de 'entrega a cuenta', quedando pendiente en - la cuenta del cliente un saldo de {{receipt.amountUnpaid}} €. + Recibo de {{client.socialName}}, + la cantidad de {{receipt.amountPaid}} € + en concepto de 'entrega a cuenta'.
diff --git a/print/templates/reports/receipt/sql/receipt.sql b/print/templates/reports/receipt/sql/receipt.sql
index b8f5a4112..4094d25b3 100644
--- a/print/templates/reports/receipt/sql/receipt.sql
+++ b/print/templates/reports/receipt/sql/receipt.sql
@@ -1,11 +1,10 @@
-SELECT
- r.id,
- r.amountPaid,
- cr.amount AS amountUnpaid,
- r.payed,
+SELECT
+ r.id,
+ r.amountPaid,
+ r.payed,
r.companyFk
FROM receipt r
JOIN client c ON c.id = r.clientFk
JOIN vn.clientRisk cr ON cr.clientFk = c.id
AND cr.companyFk = r.companyFk
-WHERE r.id = ?
\ No newline at end of file
+WHERE r.id = ?