From 8c73a561b6274b08b635a4bbe6ec38f55767e870 Mon Sep 17 00:00:00 2001 From: roberto Date: Tue, 22 Jan 2019 15:09:00 +0000 Subject: [PATCH] =?UTF-8?q?SE=20arregla=20error=20al=20generar=20los=20rec?= =?UTF-8?q?ibos=20de=20una=20factura=20cuando=20tiene=20retenci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoDesign_FactuGES/trunk@137 93f398dd-4eb6-7a46-baf6-13f46f578da2 --- .../Controller/uFacturasClienteController.pas | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/Modulos/Facturas de cliente/Controller/uFacturasClienteController.pas b/Source/Modulos/Facturas de cliente/Controller/uFacturasClienteController.pas index 66913d9..4e77959 100644 --- a/Source/Modulos/Facturas de cliente/Controller/uFacturasClienteController.pas +++ b/Source/Modulos/Facturas de cliente/Controller/uFacturasClienteController.pas @@ -1415,7 +1415,16 @@ begin ARecibos := ARecibosClienteController.Nuevo; ARecibos.Edit; ARecibos.ID_FACTURA := AFactura.ID; + ARecibos.ID_EMPRESA := AFactura.ID_EMPRESA; + ARecibos.ID_CLIENTE := AFactura.ID_CLIENTE; + ARecibos.ID_TIENDA := AFactura.ID_TIENDA; ARecibos.REFERENCIA := AFactura.REFERENCIA + ' - ' + IntToStr(i); + ARecibos.NOMBRE := AFactura.NOMBRE; //Es la razon social de la factura + ARecibos.CALLE := AFactura.CALLE; + ARecibos.NIF_CIF := AFactura.NIF_CIF; + ARecibos.POBLACION := AFactura.POBLACION; + ARecibos.PROVINCIA := AFactura.PROVINCIA; + ARecibos.CODIGO_POSTAL := AFactura.CODIGO_POSTAL; ARecibos.FECHA_EMISION := AFactura.FECHA_FACTURA; ARecibos.FECHA_VENCIMIENTO := AFactura.FECHA_RETENCION; ARecibos.IMPORTE := AFactura.IMPORTE_RETENCION;