cg2102.cpp Corretto assegnamento di 0.0 ad un TImporto
cg2106.cpp Esportato in os_dep il test di esistenza di EasyCaz git-svn-id: svn://10.65.10.50/trunk@6324 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e295c25d76
commit
b02fcc96a1
@ -1279,7 +1279,7 @@ bool TPrimanota_application::iva_notify(TSheet_field& iva, int r, KEY k)
|
||||
if (ri == 4) // Se non esiste il conto IVA indetraibile ...
|
||||
{ // ... somma imponibile e imposta
|
||||
oldimp += oldiva;
|
||||
oldiva = 0.0;
|
||||
oldiva.set('D', 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include <colors.h>
|
||||
#include <execp.h>
|
||||
#include <modaut.h>
|
||||
#include <os_dep.h>
|
||||
#include <utility.h>
|
||||
#include <varmask.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "cg2100.h"
|
||||
#include "cg2102.h"
|
||||
@ -393,24 +393,7 @@ bool TPrimanota_application::easydoc_installed()
|
||||
// check autorization
|
||||
if (!has_module(AIAUT))
|
||||
return FALSE;
|
||||
|
||||
// where is EasyDoc installed?
|
||||
GetPrivateProfileString("Easydoc", "Path", "\\EASYDOC",
|
||||
_EasyDocPath.get_buffer(), _EasyDocPath.size(),
|
||||
"EasyDoc.ini");
|
||||
// EasyDoc there isn't
|
||||
if (_EasyDocPath.empty())
|
||||
return FALSE;
|
||||
|
||||
// paste EasyDoc path
|
||||
_EasyDocPath.add("EASYDOC.EXE");
|
||||
|
||||
// is EasyDoc present?
|
||||
bool ok = fexist(_EasyDocPath);
|
||||
if (!ok)
|
||||
_EasyDocPath.cut(0);
|
||||
|
||||
return ok;
|
||||
return os_get_image_editor_path(_EasyDocPath);
|
||||
}
|
||||
|
||||
// Il documento attuale e' connesso a easydoc?
|
||||
|
Loading…
x
Reference in New Issue
Block a user