Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision eaa30664

Von Jan Büren vor mehr als 2 Jahren hinzugefügt

  • ID eaa30664dc88dee46b3af504f1c770e20c7a3ac2
  • Vorgänger 9b04d6e3
  • Nachfolger 46ca445c

Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen

Unterschiede anzeigen:

bin/mozilla/is.pl
$form->error($locale->text('Cannot post invoice for a closed period!'))
if ($invdate <= $closedto);
$form->isblank("exchangerate", $locale->text('Exchangerate missing!'))
if ($form->{currency} ne $form->{defaultcurrency});
if ($form->{currency} ne $form->{defaultcurrency}) {
$form->isblank("exchangerate", $locale->text('Exchangerate missing!'));
$form->error($locale->text('Cannot post invoice with negative exchange rate'))
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0);
}
# advance payment allows only one tax
if ($form->{type} eq 'invoice_for_advance_payment') {
my @current_taxaccounts = (split(/ /, $form->{taxaccounts}));

Auch abrufbar als: Unified diff