Revert "Patch level : 12.0 752"
This reverts commit 48ef7a18e55e486696ad4414f54d0c2399300980
This commit is contained in:
parent
48ef7a18e5
commit
bae2110307
BIN
exe/Cb6.dll
BIN
exe/Cb6.dll
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
[Main]
|
[Main]
|
||||||
Donglehw =4
|
Donglehw =4
|
||||||
Firm =00010a
|
Firm =00001a
|
||||||
MaxHandles = 32
|
MaxHandles = 32
|
||||||
Study =K:\Campo_Clienti\studio_marchi\
|
Study =h:\e\dati\crpa\
|
||||||
Type = 1
|
Type = 1
|
||||||
User = ADMIN
|
User = ADMIN
|
||||||
|
|
||||||
|
BIN
exe/gfm.dll
BIN
exe/gfm.dll
Binary file not shown.
BIN
exe/pdflib.dll
BIN
exe/pdflib.dll
Binary file not shown.
BIN
exe/xi.dll
BIN
exe/xi.dll
Binary file not shown.
BIN
exe/xvaga.dll
BIN
exe/xvaga.dll
Binary file not shown.
BIN
lib/AgaLib.lib
BIN
lib/AgaLib.lib
Binary file not shown.
BIN
lib/cb6.exp
BIN
lib/cb6.exp
Binary file not shown.
BIN
lib/cb6.lib
BIN
lib/cb6.lib
Binary file not shown.
BIN
lib/gfm.exp
BIN
lib/gfm.exp
Binary file not shown.
BIN
lib/gfm.lib
BIN
lib/gfm.lib
Binary file not shown.
BIN
lib/pdflib.exp
BIN
lib/pdflib.exp
Binary file not shown.
BIN
lib/pdflib.lib
BIN
lib/pdflib.lib
Binary file not shown.
Binary file not shown.
BIN
lib/xi.exp
BIN
lib/xi.exp
Binary file not shown.
BIN
lib/xi.lib
BIN
lib/xi.lib
Binary file not shown.
BIN
lib/xvaga.exp
BIN
lib/xvaga.exp
Binary file not shown.
BIN
lib/xvaga.lib
BIN
lib/xvaga.lib
Binary file not shown.
@ -1,37 +0,0 @@
|
|||||||
#include "fplib.h"
|
|
||||||
|
|
||||||
TFP_righe_custom& fp_righe_custom()
|
|
||||||
{
|
|
||||||
static TFP_righe_custom* fidel_custom = nullptr;
|
|
||||||
if(fidel_custom == nullptr)
|
|
||||||
{
|
|
||||||
fidel_custom = new TFP_righe_custom;
|
|
||||||
}
|
|
||||||
return *fidel_custom;
|
|
||||||
}
|
|
||||||
|
|
||||||
real TFPRiga_documento::prezzo(const bool scontato, const bool lordo, const int ndec) const
|
|
||||||
{
|
|
||||||
const TString& field_prezzo = fp_righe_custom().get_prezzo(tipo().codice(), doc().tipo().codice());
|
|
||||||
return field_prezzo.full() ? get_real(field_prezzo) : TRiga_documento::prezzo(scontato, lordo, ndec);
|
|
||||||
}
|
|
||||||
|
|
||||||
real TFPRiga_documento::importo(const bool scontato, const bool lordo, const int ndec) const
|
|
||||||
{
|
|
||||||
const TString& field_importo = fp_righe_custom().get_imponibile(tipo().codice(), doc().tipo().codice());
|
|
||||||
return field_importo.full() ? get_real(field_importo) : TRiga_documento::importo(scontato, lordo, ndec);
|
|
||||||
}
|
|
||||||
|
|
||||||
real TFPRiga_documento::quantita() const
|
|
||||||
{
|
|
||||||
const TString& field_qta = fp_righe_custom().get_qta(tipo().codice(), doc().tipo().codice());
|
|
||||||
real qta = field_qta.full() ? get_real(field_qta) : TRiga_documento::quantita();
|
|
||||||
return qta.is_zero() ? UNO : qta;
|
|
||||||
}
|
|
||||||
|
|
||||||
TString& TFPRiga_documento::quantita_string() const
|
|
||||||
{
|
|
||||||
static TString qta_string;
|
|
||||||
qta_string.cut(0) << quantita().string();
|
|
||||||
return qta_string;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user