diff --git a/Source/Informes/3/AlbaranProveedor.rdx b/Source/Informes/3/AlbaranProveedor.rdx new file mode 100644 index 00000000..4806b5f7 Binary files /dev/null and b/Source/Informes/3/AlbaranProveedor.rdx differ diff --git a/Source/Informes/3/FacturaCliente.rdx b/Source/Informes/3/FacturaCliente.rdx new file mode 100644 index 00000000..52c2febe Binary files /dev/null and b/Source/Informes/3/FacturaCliente.rdx differ diff --git a/Source/Informes/3/InformeIVAClientes.fr3 b/Source/Informes/3/InformeIVAClientes.fr3 new file mode 100644 index 00000000..76290e10 --- /dev/null +++ b/Source/Informes/3/InformeIVAClientes.fr3 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeIVAClientesDesglosado.fr3 b/Source/Informes/3/InformeIVAClientesDesglosado.fr3 new file mode 100644 index 00000000..d74c73e8 --- /dev/null +++ b/Source/Informes/3/InformeIVAClientesDesglosado.fr3 @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeIVAProveedores.fr3 b/Source/Informes/3/InformeIVAProveedores.fr3 new file mode 100644 index 00000000..80b46f5a --- /dev/null +++ b/Source/Informes/3/InformeIVAProveedores.fr3 @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeIVAProveedoresDesglosado.fr3 b/Source/Informes/3/InformeIVAProveedoresDesglosado.fr3 new file mode 100644 index 00000000..0653e58c --- /dev/null +++ b/Source/Informes/3/InformeIVAProveedoresDesglosado.fr3 @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasCliente.fr3 b/Source/Informes/3/InformeListadoFacturasCliente.fr3 new file mode 100644 index 00000000..72d8d6f3 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasCliente.fr3 @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasClienteDesglosado.fr3 b/Source/Informes/3/InformeListadoFacturasClienteDesglosado.fr3 new file mode 100644 index 00000000..720aafc2 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasClienteDesglosado.fr3 @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasClientePendientes.fr3 b/Source/Informes/3/InformeListadoFacturasClientePendientes.fr3 new file mode 100644 index 00000000..34eb16ac --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasClientePendientes.fr3 @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasClientePendientesDesglosado.fr3 b/Source/Informes/3/InformeListadoFacturasClientePendientesDesglosado.fr3 new file mode 100644 index 00000000..8a976ac0 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasClientePendientesDesglosado.fr3 @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasProveedor.fr3 b/Source/Informes/3/InformeListadoFacturasProveedor.fr3 new file mode 100644 index 00000000..3c3e1707 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasProveedor.fr3 @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasProveedorDesglosado.fr3 b/Source/Informes/3/InformeListadoFacturasProveedorDesglosado.fr3 new file mode 100644 index 00000000..b7ed90e3 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasProveedorDesglosado.fr3 @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasProveedorPendientes.fr3 b/Source/Informes/3/InformeListadoFacturasProveedorPendientes.fr3 new file mode 100644 index 00000000..e166d481 --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasProveedorPendientes.fr3 @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoFacturasProveedorPendientesDesglosado.fr3 b/Source/Informes/3/InformeListadoFacturasProveedorPendientesDesglosado.fr3 new file mode 100644 index 00000000..41ef55de --- /dev/null +++ b/Source/Informes/3/InformeListadoFacturasProveedorPendientesDesglosado.fr3 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosCliPendientes.fr3 b/Source/Informes/3/InformeListadoRecibosCliPendientes.fr3 new file mode 100644 index 00000000..f7e58e49 --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosCliPendientes.fr3 @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosCliPendientesDesglosado.fr3 b/Source/Informes/3/InformeListadoRecibosCliPendientesDesglosado.fr3 new file mode 100644 index 00000000..73e114ec --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosCliPendientesDesglosado.fr3 @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosCliente.fr3 b/Source/Informes/3/InformeListadoRecibosCliente.fr3 new file mode 100644 index 00000000..472c9e73 --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosCliente.fr3 @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosClienteDesglosado.fr3 b/Source/Informes/3/InformeListadoRecibosClienteDesglosado.fr3 new file mode 100644 index 00000000..6b76da25 --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosClienteDesglosado.fr3 @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosProvPendientes.fr3 b/Source/Informes/3/InformeListadoRecibosProvPendientes.fr3 new file mode 100644 index 00000000..e8cee91b --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosProvPendientes.fr3 @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosProvPendientesDesglosado.fr3 b/Source/Informes/3/InformeListadoRecibosProvPendientesDesglosado.fr3 new file mode 100644 index 00000000..908993ca --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosProvPendientesDesglosado.fr3 @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosProveedor.fr3 b/Source/Informes/3/InformeListadoRecibosProveedor.fr3 new file mode 100644 index 00000000..6abc64b5 --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosProveedor.fr3 @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/InformeListadoRecibosProveedorDesglosado.fr3 b/Source/Informes/3/InformeListadoRecibosProveedorDesglosado.fr3 new file mode 100644 index 00000000..e55153da --- /dev/null +++ b/Source/Informes/3/InformeListadoRecibosProveedorDesglosado.fr3 @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Informes/3/PedidoProveedor.rdx b/Source/Informes/3/PedidoProveedor.rdx new file mode 100644 index 00000000..4169cc30 Binary files /dev/null and b/Source/Informes/3/PedidoProveedor.rdx differ diff --git a/Source/Modulos/Albaranes de proveedor/Reports/uRptWordAlbaranProveedor.pas b/Source/Modulos/Albaranes de proveedor/Reports/uRptWordAlbaranProveedor.pas index d195179a..f6d077e2 100644 --- a/Source/Modulos/Albaranes de proveedor/Reports/uRptWordAlbaranProveedor.pas +++ b/Source/Modulos/Albaranes de proveedor/Reports/uRptWordAlbaranProveedor.pas @@ -247,15 +247,18 @@ begin ReplaceBookmark('NotasAlbaran', FieldByName('OBSERVACIONES').AsString); - ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); - ReplaceBookmark('NombreEmpresa2', tbl_Empresa.FieldByName('NOMBRE').AsString); - ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); - ReplaceBookmark('DireccionEmpresa', - Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, - tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); - ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); - ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); - ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); + if (tbl_Cabecera.FieldByName('ID_EMPRESA').AsInteger <> 3) then + begin + ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); + ReplaceBookmark('NombreEmpresa2', tbl_Empresa.FieldByName('NOMBRE').AsString); + ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); + ReplaceBookmark('DireccionEmpresa', + Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, + tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); + ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); + ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); + ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); + end; end; Result := True; end; diff --git a/Source/Modulos/Facturas de cliente/Reports/uRptWordFacturaCliente.pas b/Source/Modulos/Facturas de cliente/Reports/uRptWordFacturaCliente.pas index b4d2e6a5..e53fb7cd 100644 --- a/Source/Modulos/Facturas de cliente/Reports/uRptWordFacturaCliente.pas +++ b/Source/Modulos/Facturas de cliente/Reports/uRptWordFacturaCliente.pas @@ -299,16 +299,18 @@ begin SysUtils.DeleteFile(NombreFichero); end; - ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); - ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); - ReplaceBookmark('DireccionEmpresa', - Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, - tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); - ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); - ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); - ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); - - ReplaceBookmark('DatosRegistroMercantil', tbl_Empresa.FieldByName('REGISTRO_MERCANTIL').AsString); + if (tbl_Cabecera.FieldByName('ID_EMPRESA').AsInteger <> 3) then + begin + ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); + ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); + ReplaceBookmark('DireccionEmpresa', + Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, + tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); + ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); + ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); + ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); + ReplaceBookmark('DatosRegistroMercantil', tbl_Empresa.FieldByName('REGISTRO_MERCANTIL').AsString); + end; if not FVerSello then ReplaceBookmark('Sello', ''); diff --git a/Source/Modulos/Pedidos a proveedor/Reports/uRptWordPedidoProveedor.pas b/Source/Modulos/Pedidos a proveedor/Reports/uRptWordPedidoProveedor.pas index a0639e4c..61fa9b57 100644 --- a/Source/Modulos/Pedidos a proveedor/Reports/uRptWordPedidoProveedor.pas +++ b/Source/Modulos/Pedidos a proveedor/Reports/uRptWordPedidoProveedor.pas @@ -241,15 +241,18 @@ begin ReplaceBookmark('NotasPedido', FieldByName('OBSERVACIONES').AsString); - ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); - ReplaceBookmark('NombreEmpresa2', tbl_Empresa.FieldByName('NOMBRE').AsString); - ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); - ReplaceBookmark('DireccionEmpresa', - Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, - tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); - ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); - ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); - ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); + if (tbl_Cabecera.FieldByName('ID_EMPRESA').AsInteger <> 3) then + begin + ReplaceBookmark('NombreEmpresa', tbl_Empresa.FieldByName('NOMBRE').AsString); + ReplaceBookmark('NombreEmpresa2', tbl_Empresa.FieldByName('NOMBRE').AsString); + ReplaceBookmark('CifEmpresa', tbl_Empresa.FieldByName('NIF_CIF').AsString); + ReplaceBookmark('DireccionEmpresa', + Format('%s. %s %s', [tbl_Empresa.FieldByName('CALLE').AsString, + tbl_Empresa.FieldByName('CODIGO_POSTAL').AsString, tbl_Empresa.FieldByName('POBLACION').AsString])); + ReplaceBookmark('TelefonoEmpresa', tbl_Empresa.FieldByName('TELEFONO_1').AsString); + ReplaceBookmark('FaxEmpresa', tbl_Empresa.FieldByName('FAX').AsString); + ReplaceBookmark('CorreoEmpresa', tbl_Empresa.FieldByName('EMAIL_1').AsString); + end; end; Result := True; end;