Errore sulle righe di pagamento

git-svn-id: svn://10.65.10.50/trunk@3559 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-09-09 16:08:19 +00:00
parent 51e605b5b5
commit a3032bbd54

View File

@ -411,19 +411,20 @@ bool BA3700_application::sheet_action(TSheet_field&, int r, KEY k)
// qui viene il bello, si fa per dire
if (ts.get_int(0) != atoi(news)) // modificata scadenza
{
mod = m_scad = TRUE;
}
const real p0(ts.get(1));
const real p1(newp);
real p0(ts.get(1));
real p1(newp);
p0.round(2);
p1.round(2);
if (p0 != p1) // modificata percentuale
mod = m_perc = TRUE;
if (strcmp(ts.get(2),newt) != 0) // modificato tipo pagamento
if (newt != ts.get(2)) // modificato tipo pagamento
mod = m_tipo = m_ulc = TRUE;
if (strcmp(ts.get(3),newu) != 0) // modificata ulteriore classificazione
if (newu != ts.get(3)) // modificata ulteriore classificazione
mod = m_ulc = TRUE;
else
if (m_tipo)