Patch level : 2.2 no patch
Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunta la funzione cost2revenue per fatturara le risorse e le attrezzature git-svn-id: svn://10.65.10.50/trunk@12962 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
701c1e8b2b
commit
bc8d74ceaf
@ -375,15 +375,17 @@ void TRiga_documento::cost2revenue()
|
|||||||
if (is_attrezzatura() || is_risorsa())
|
if (is_attrezzatura() || is_risorsa())
|
||||||
{
|
{
|
||||||
const TSpesa_prest & s = spesa();
|
const TSpesa_prest & s = spesa();
|
||||||
const TString4 tipo(s.tipo());
|
|
||||||
const TString codice(s.revenue());
|
const TString codice(s.revenue());
|
||||||
|
|
||||||
|
if (codice.not_empty())
|
||||||
|
{
|
||||||
|
const TString4 tipo(s.tipo());
|
||||||
if (tipo.not_empty())
|
if (tipo.not_empty())
|
||||||
put(RDOC_TIPORIGA, tipo);
|
put(RDOC_TIPORIGA, tipo);
|
||||||
if (codice.not_empty())
|
|
||||||
put(RDOC_TIPORIGA, codice);
|
put(RDOC_TIPORIGA, codice);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool TRiga_documento::raggruppabile(const TRiga_documento& r, TToken_string& campi) const
|
bool TRiga_documento::raggruppabile(const TRiga_documento& r, TToken_string& campi) const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user