Patch level : nopatch
Files correlati : Commento : Implementazione FP
This commit is contained in:
parent
7aa37d7e5a
commit
ce5e1e80f4
@ -128,7 +128,7 @@ void TPAR_mask::fill()
|
||||
TString query;
|
||||
const bool definitivo = get_bool(F_DEFINITIVO);
|
||||
|
||||
enable(DLG_OK, filter_selected.empty() || filter_selected == "E");
|
||||
enable(DLG_OK, filter_selected.empty() || filter_selected == "E" || filter_selected == "X");
|
||||
enable(DLG_SAVEREC, (is_f8() && filter_selected == "X") || filter_selected == "D");
|
||||
enable(DLG_FINDREC, filter_selected == "D");
|
||||
enable(DLG_PRINT, _enable_chiave_fixer && filter_selected.empty());
|
||||
|
@ -556,7 +556,7 @@ protected:
|
||||
bool get_bank_appoggio(const TDocumento& doc, TString& iban, TString& abi, TString& cab, TString& istituto) const;
|
||||
const TString& descrizione(const TRiga_documento& rdoc);
|
||||
const TRectype& cco(const TRectype& doc) const; // Contratto/Convenzione/Offerta
|
||||
const char * stato_paf() const { return _provvisorio ? " " : "D"; }
|
||||
const char * stato_paf() const { return _provvisorio ? "X" : "D"; }
|
||||
|
||||
|
||||
const TString & natura(const char* codiva) const;
|
||||
@ -685,7 +685,7 @@ protected:
|
||||
void set_qta_prezzo(TPaf_record& paf1800f, const TMovimento_contabile& mov, int n_row) const;
|
||||
void add_ritenuta(const TMovimento_contabile & mov, int n_row, TPaf_record& paf0700f) const;
|
||||
bool add_riepilogo_iva(const TMovimento_contabile mov, int n_riga);
|
||||
const char * stato_paf() const { return _definitivo ? "D" : " "; }
|
||||
const char * stato_paf() const { return _definitivo ? "D" : "X"; }
|
||||
|
||||
const TFirm& TReg_fp::get_firm(){return prefix().firm();}
|
||||
|
||||
|
@ -1800,6 +1800,7 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
||||
if ((doc.is_nota_credito() || get_send_all_rifs()) && doc.get(DOC_NUMDOCRIF).full())
|
||||
{
|
||||
TPaf_record& paf1400f = _paf_container.get_paf("PAF1400F");
|
||||
|
||||
reset(paf1400f);
|
||||
paf1400f.set("PD_IDDOC", doc.get(DOC_NUMDOCRIF));
|
||||
paf1400f.set("PD_DATADOC", doc.get_date(DOC_DATADOCRIF));
|
||||
@ -3232,7 +3233,7 @@ bool TReg_fp::reg_to_paf(const TMovimento_contabile& mov)
|
||||
paf1800f.set("PI_QUANTITA", 1l);
|
||||
paf1800f.set("PI_PREZZOUNIT", rec_iva.get(RMI_IMPONIBILE));
|
||||
paf1800f.set("PI_PRZTOTALE", rec_iva.get(RMI_IMPONIBILE));
|
||||
paf1800f.set("PI_ALIQUOTA", aliquota);
|
||||
paf1800f.set("PI_ALIQUOTAIVA", aliquota);
|
||||
if (aliquota.is_zero())
|
||||
paf1800f.set("PI_NATURA", natura(cod_aliquota));
|
||||
paf1800f.set("PI_GESTIONE", stato_paf());
|
||||
|
Loading…
x
Reference in New Issue
Block a user