summary | 
shortlog | 
log | 
commit | commitdiff | 
tree
raw | 
patch | 
inline | side by side (from parent 1: 
b0e12c9)
 
Falls eine Buchung noch am selben Tag verändert wird,
kommt es fälschlicherweise zu der Aussage, dass schon eine
Rechnung mit dieser Rechnungsnummer zum Lieferanten erfasst worden sei.
Entsprechend geändert
                    invnumber => $::form->{invnumber},
                    vendor_id => $::form->{vendor_id},
                  );
                    invnumber => $::form->{invnumber},
                    vendor_id => $::form->{vendor_id},
                  );
+  # we are modifying a existing daily booking - allow this if
+  # booking conditions are not super strict
+  undef $exists_ap if ($::instance_conf->get_ap_changeable != 0
+                    && $exists_ap->gldate == DateTime->today_local);
+
 
   $_[0]->render(\ !!$exists_ap, { type => 'text' });
 }
 
   $_[0]->render(\ !!$exists_ap, { type => 'text' });
 }