Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 33729999

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 33729999ad1fa5dbf3e21b14d5cb74770d9cd07a
  • Vorgänger 02235d37
  • Nachfolger 87a09fb1

Neue Methode url_link für Rechnungen und Dialogbuchungen

Unterschiede anzeigen:

SL/DB/GLTransaction.pm
return sprintf("%s: %s %s %s (%s)", $self->abbreviation, $self->description, $self->reference, $amount, $self->transdate->to_kivitendo);
}
sub url_link {
return 'gl.pl?action=edit&id=' . $_[0]->id;
}
sub link {
my ($self) = @_;
SL/DB/Invoice.pm
goto &customer;
}
sub url_link {
return ($_[0]->invoice ? "is" : "ar") . '.pl?action=edit&type=invoice&id=' . $_[0]->id;
}
sub link {
my ($self) = @_;
SL/DB/PurchaseInvoice.pm
$::form->format_amount(\%::myconfig, $self->amount,2), $self->transdate->to_kivitendo);
}
sub url_link {
return ($_[0]->invoice ? "ir" : "ap") . '.pl?action=edit&type=invoice&id=' . $_[0]->id;
}
sub link {
my ($self) = @_;

Auch abrufbar als: Unified diff