Revision 968c9d8f
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/Controller/RecordLinks.pm | ||
---|---|---|
55 | 55 |
{ title => t8('AR Transaction'), type => 'ar_transaction', model => 'Invoice', number => 'invnumber', }, |
56 | 56 |
{ title => t8('AP Transaction'), type => 'ap_transaction', model => 'PurchaseInvoice', number => 'invnumber', }, |
57 | 57 |
{ title => t8('Dunning'), type => 'dunning', model => 'Dunning', number => 'dunning_id', }, |
58 |
{ title => t8('GL Transaction'), type => 'gl_transaction', model => 'GLTransaction', number => 'reference', }, |
|
58 | 59 |
); |
59 | 60 |
|
60 | 61 |
my @link_types = map { +{ %link_type_defaults, %{ $_ } } } @link_type_specifics; |
SL/DB/GLTransaction.pm | ||
---|---|---|
2 | 2 |
|
3 | 3 |
use strict; |
4 | 4 |
|
5 |
use SL::DB::Helper::LinkedRecords; |
|
5 | 6 |
use SL::DB::MetaSetup::GLTransaction; |
6 | 7 |
use SL::Locale::String qw(t8); |
7 | 8 |
use List::Util qw(sum); |
SL/DB/Helper/LinkedRecords.pm | ||
---|---|---|
315 | 315 |
'SL::DB::ShopOrder' => sub { $_[0]->shop_ordernumber }, |
316 | 316 |
'SL::DB::EmailJournal' => sub { $_[0]->id }, |
317 | 317 |
'SL::DB::Dunning' => sub { $_[0]->dunning_id }, |
318 |
'SL::DB::GLTransaction' => sub { $_[0]->reference }, |
|
318 | 319 |
UNKNOWN => '9999999999999999', |
319 | 320 |
); |
320 | 321 |
my $number_xtor = sub { |
... | ... | |
342 | 343 |
purchase_order => 130, |
343 | 344 |
purchase_delivery_order => 140, |
344 | 345 |
'SL::DB::PurchaseInvoice' => 150, |
345 |
'SL::DB::PurchaseInvoice' => 150,
|
|
346 |
'SL::DB::GLTransaction' => 170,
|
|
346 | 347 |
'SL::DB::Letter' => 200, |
347 | 348 |
'SL::DB::ShopOrder' => 250, |
348 | 349 |
'SL::DB::EmailJournal' => 300, |
doc/changelog | ||
---|---|---|
23 | 23 |
bei Kunden, Lieferanten und Ansprechpersonen durchsucht. |
24 | 24 |
- Skontoautomatik bei Kontoauszug verbuchen generiert automatisch die |
25 | 25 |
Steuerkorrektur pro Steuersatz des Belegs als verknüpfte Dialogbuchung |
26 |
- Verknüpfte Belege auch für Dialogbuchungen (neuer Reiter) |
|
26 | 27 |
|
27 | 28 |
2022-03-02 - Release 3.6.0 |
28 | 29 |
|
templates/webpages/gl/form_header.html | ||
---|---|---|
42 | 42 |
<li><a href="#ui-tabs-docs">[% 'Documents' | $T8 %]</a></li> |
43 | 43 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li> |
44 | 44 |
[%- END %] |
45 |
[%- IF AUTH.assert('record_links', 1) %] |
|
46 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=GLTransaction&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
47 |
[%- END %] |
|
45 | 48 |
[%- END %] |
46 | 49 |
</ul> |
47 | 50 |
|
Auch abrufbar als: Unified diff
Verknüpfte Belege auch für Dialogbuchungen