Revision b7af55b2
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/DB/RecordTemplate.pm | ||
---|---|---|
21 | 21 |
sub items { goto &record_template_items; } |
22 | 22 |
sub record_type { goto &template_type; } |
23 | 23 |
|
24 |
sub date { |
|
25 |
goto &mtime; |
|
26 |
} |
|
27 |
|
|
24 | 28 |
sub displayable_name { |
25 | 29 |
my ($self) = @_; |
26 | 30 |
return join ' ', $self->template_name_to_use, $self->mtime->to_kivitendo; |
SL/Presenter/Record.pm | ||
---|---|---|
41 | 41 |
letter |
42 | 42 |
email_journal |
43 | 43 |
dunning |
44 |
gl_transaction_template |
|
45 |
ar_transaction_template |
|
46 |
ap_transaction_template |
|
44 | 47 |
); |
45 | 48 |
|
46 | 49 |
my %TYPE_TO_PARAMS = ( |
... | ... | |
484 | 487 |
%params, |
485 | 488 |
} |
486 | 489 |
}, |
490 |
gl_transaction_template => sub { |
|
491 |
my (%params) = @_; |
|
492 |
{ |
|
493 |
title => $::locale->text('GL Transaction Template'), |
|
494 |
type => 'gl_transaction_template', |
|
495 |
columns => [ |
|
496 |
[ $::locale->text('Name'), 'template_name_to_use' ], |
|
497 |
[ $::locale->text('Transaction description'), 'transaction_description', ], |
|
498 |
[ $::locale->text('Create Date'), sub { $_[0]->itime->to_kivitendo } ], |
|
499 |
[ $::locale->text('Modification date'), sub { $_[0]->mtime->to_kivitendo } ], |
|
500 |
], |
|
501 |
%params, |
|
502 |
} |
|
503 |
}, |
|
504 |
ar_transaction_template => sub { |
|
505 |
my (%params) = @_; |
|
506 |
{ |
|
507 |
title => $::locale->text('AR Transaction Template'), |
|
508 |
type => 'ar_transaction_template', |
|
509 |
columns => [ |
|
510 |
[ $::locale->text('Name'), 'template_name_to_use' ], |
|
511 |
[ $::locale->text('Customer'), 'customer' ], |
|
512 |
[ $::locale->text('Project'), 'project', ], |
|
513 |
[ $::locale->text('Transaction description'), 'transaction_description', ], |
|
514 |
[ $::locale->text('Create Date'), sub { $_[0]->itime->to_kivitendo } ], |
|
515 |
[ $::locale->text('Modification date'), sub { $_[0]->mtime->to_kivitendo } ], |
|
516 |
], |
|
517 |
%params, |
|
518 |
} |
|
519 |
}, |
|
520 |
ap_transaction_template => sub { |
|
521 |
my (%params) = @_; |
|
522 |
{ |
|
523 |
title => $::locale->text('AP Transaction Template'), |
|
524 |
type => 'ap_transaction_template', |
|
525 |
columns => [ |
|
526 |
[ $::locale->text('Name'), 'template_name_to_use' ], |
|
527 |
[ $::locale->text('Vendor'), 'vendor' ], |
|
528 |
[ $::locale->text('Project'), 'project', ], |
|
529 |
[ $::locale->text('Transaction description'), 'transaction_description', ], |
|
530 |
[ $::locale->text('Create Date'), sub { $_[0]->itime->to_kivitendo } ], |
|
531 |
[ $::locale->text('Modification date'), sub { $_[0]->mtime->to_kivitendo } ], |
|
532 |
], |
|
533 |
%params, |
|
534 |
} |
|
535 |
}, |
|
487 | 536 |
); |
488 | 537 |
|
489 | 538 |
sub _get_type_params { |
... | ... | |
702 | 751 |
letter => sub { (ref($_[0]) eq 'SL::DB::Letter') && $_[0]->id }, |
703 | 752 |
email_journal => sub { (ref($_[0]) eq 'SL::DB::EmailJournal') && $_[0]->id }, |
704 | 753 |
dunning => sub { (ref($_[0]) eq 'SL::DB::Dunning') }, |
754 |
gl_transaction_template => sub { (ref($_[0]) eq 'SL::DB::RecordTemplate') && $_[0]->template_type eq 'gl_transaction' }, |
|
755 |
ar_transaction_template => sub { (ref($_[0]) eq 'SL::DB::RecordTemplate') && $_[0]->template_type eq 'ar_transaction' }, |
|
756 |
ap_transaction_template => sub { (ref($_[0]) eq 'SL::DB::RecordTemplate') && $_[0]->template_type eq 'ap_transaction' }, |
|
705 | 757 |
); |
706 | 758 |
|
707 | 759 |
my %groups; |
locale/de/all | ||
---|---|---|
93 | 93 |
'AP Transaction' => 'Kreditorenbuchung', |
94 | 94 |
'AP Transaction (abbreviation)' => 'K', |
95 | 95 |
'AP Transaction Storno (one letter abbreviation)' => 'S', |
96 |
'AP Transaction Template' => 'Kreditorenbuchungsvorlage', |
|
96 | 97 |
'AP Transaction with Storno (abbreviation)' => 'K(S)', |
97 | 98 |
'AP Transaction/AccTrans Item row names' => 'Namen der Rechnungs/Buchungszeilen', |
98 | 99 |
'AP Transactions' => 'Kreditorenbuchungen', |
... | ... | |
106 | 107 |
'AR Aging' => 'Offene Forderungen', |
107 | 108 |
'AR Transaction' => 'Debitorenbuchung', |
108 | 109 |
'AR Transaction (abbreviation)' => 'D', |
110 |
'AR Transaction Template' => 'Debitorenbuchungsvorlage', |
|
109 | 111 |
'AR Transaction/AccTrans Item row names' => 'Namen der Rechnungs/Buchungszeilen', |
110 | 112 |
'AR Transactions' => 'Debitorenbuchungen', |
111 | 113 |
'AR transaction \'#1\' posted (ID: #2)' => 'Debitorenbuchung \'#1\' verbucht (Buchungsnummer: #2)', |
... | ... | |
1842 | 1844 |
'Further Invoice for Advance Payment' => 'Weitere Anzahlungsrechnung', |
1843 | 1845 |
'GL Transaction' => 'Dialogbuchung', |
1844 | 1846 |
'GL Transaction (abbreviation)' => 'DB', |
1847 |
'GL Transaction Template' => 'Dialogbuchungsvorlage', |
|
1845 | 1848 |
'GL Transactions' => 'Dialogbuchungen', |
1846 | 1849 |
'GL search' => 'FiBu Suche', |
1847 | 1850 |
'GL template suggestions' => 'Vorschlag Dialogbuchung', |
... | ... | |
2536 | 2539 |
'No quotations or orders have been created yet.' => 'Es wurden noch keine Angebote oder Aufträge angelegt.', |
2537 | 2540 |
'No record is selected.' => 'Kein Beleg ausgewählt.', |
2538 | 2541 |
'No record type is selected.' => 'Kein Belegtyp ausgewählt.', |
2539 |
'No records found.' => 'Keine Belege gefunden.', |
|
2540 | 2542 |
'No report with id #1' => 'Es gibt keinen Report mit der Id #1', |
2541 | 2543 |
'No requirement spec templates have been created yet.' => 'Es wurden noch keine Pflichtenheftvorlagen angelegt.', |
2542 | 2544 |
'No results.' => 'Keine Artikel', |
locale/en/all | ||
---|---|---|
93 | 93 |
'AP Transaction' => 'Purchase Transaction', |
94 | 94 |
'AP Transaction (abbreviation)' => '', |
95 | 95 |
'AP Transaction Storno (one letter abbreviation)' => '', |
96 |
'AP Transaction Template' => '', |
|
96 | 97 |
'AP Transaction with Storno (abbreviation)' => '', |
97 | 98 |
'AP Transaction/AccTrans Item row names' => '', |
98 | 99 |
'AP Transactions' => 'Purchase Transactions', |
... | ... | |
106 | 107 |
'AR Aging' => 'Debtor Aging', |
107 | 108 |
'AR Transaction' => 'Sales Transaction', |
108 | 109 |
'AR Transaction (abbreviation)' => '', |
110 |
'AR Transaction Template' => '', |
|
109 | 111 |
'AR Transaction/AccTrans Item row names' => '', |
110 | 112 |
'AR Transactions' => 'Sales Transactions', |
111 | 113 |
'AR transaction \'#1\' posted (ID: #2)' => '', |
... | ... | |
1841 | 1843 |
'Further Invoice for Advance Payment' => '', |
1842 | 1844 |
'GL Transaction' => '', |
1843 | 1845 |
'GL Transaction (abbreviation)' => '', |
1846 |
'GL Transaction Template' => '', |
|
1844 | 1847 |
'GL Transactions' => '', |
1845 | 1848 |
'GL search' => '', |
1846 | 1849 |
'GL template suggestions' => '', |
... | ... | |
2535 | 2538 |
'No quotations or orders have been created yet.' => '', |
2536 | 2539 |
'No record is selected.' => '', |
2537 | 2540 |
'No record type is selected.' => '', |
2538 |
'No records found.' => '', |
|
2539 | 2541 |
'No report with id #1' => '', |
2540 | 2542 |
'No requirement spec templates have been created yet.' => '', |
2541 | 2543 |
'No results.' => '', |
Auch abrufbar als: Unified diff
S:P:Record: um Belegvorlagen erweitert