Revision f4dca613
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Order.pm | ||
---|---|---|
101 | 101 |
sub convert_to_invoice { |
102 | 102 |
my ($self, %params) = @_; |
103 | 103 |
|
104 |
croak("Conversion to invoices is only supported for sales records") unless $self->customer_id; |
|
105 |
|
|
104 | 106 |
if (!$params{ar_id}) { |
105 | 107 |
my $chart = SL::DB::Manager::Chart->get_all(query => [ SL::DB::Manager::Chart->link_filter('AR') ], |
106 | 108 |
sort_by => 'id ASC', |
Auch abrufbar als: Unified diff
Nur Verkaufsbelege in Rechnungen umwandeln