From 0ef9b47f44fd43d11804f958a4f819f75622d173 Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Thu, 20 Feb 2025 12:11:23 +0100 Subject: [PATCH] Patch level : 12.00 1382 Files correlati : 777.exe 777200a.msk 777200c.msk Bug : Commento: Certificazione Unica 2025 - Invio forfettari e minimi - invio per email --- src/m770/777200.cpp | 5 ++++- src/m770/777201.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/m770/777200.cpp b/src/m770/777200.cpp index 6a36d06cf..f3e052c1d 100755 --- a/src/m770/777200.cpp +++ b/src/m770/777200.cpp @@ -930,7 +930,10 @@ bool TTrasferimentoCU::split(const char* path) { TRecordCU rec; rec.tipo_record('A'); // Compila record di testata A - rec.set(3, "CUR24"); // Codice fornitura 2023 + TString forn("CUR"); + + forn << THIS_YEARN % 100; + rec.set(3, forn); // Codice fornitura rec.set(4, 1); // Tipo fornitore: 01=Soggetto che invia la propria dichiarazione; 10=CAF rec.set(5, _codfis_int.full() ? _codfis_int : cod_fis_dic()); // Codice fiscale del fornitore outfile << rec; // Scrive record testata diff --git a/src/m770/777201.cpp b/src/m770/777201.cpp index b79648015..5dceb25ec 100644 --- a/src/m770/777201.cpp +++ b/src/m770/777201.cpp @@ -977,7 +977,7 @@ void send_cu(TISAM_recordset& perc, int quality, bool syntetic, int anno, const message << "Spett. "; else message << "Gent.mo/a "; - message << ragsoc << '(' << email << ")\\n"; + message << ragsoc << " (" << email << ") " << '\n'; if (msg.full()) message << msg << ' '; else