Revision 036d1ca4
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/acctranscorrections.pl | ||
---|---|---|
1 | 1 |
use SL::AccTransCorrections; |
2 | 2 |
use SL::Form; |
3 |
use SL::Locale::String qw(t8); |
|
3 | 4 |
use SL::User; |
4 | 5 |
use Data::Dumper; |
5 | 6 |
use YAML; |
... | ... | |
14 | 15 |
my $form = $main::form; |
15 | 16 |
my $locale = $main::locale; |
16 | 17 |
|
18 |
setup_analyze_filter_action_bar(); |
|
19 |
|
|
17 | 20 |
$form->{title} = $locale->text('General ledger corrections'); |
18 | 21 |
$form->header(); |
19 | 22 |
print $form->parse_html_template('acctranscorrections/analyze_filter'); |
... | ... | |
47 | 50 |
return; |
48 | 51 |
} |
49 | 52 |
|
53 |
setup_analyze_action_bar(); |
|
54 |
|
|
50 | 55 |
$form->header(); |
51 | 56 |
print $form->parse_html_template('acctranscorrections/analyze_overview', |
52 | 57 |
{ 'PROBLEMS' => \@problems, |
... | ... | |
251 | 256 |
$form->error($locale->text('No action defined.')); |
252 | 257 |
} |
253 | 258 |
|
259 |
sub setup_analyze_filter_action_bar { |
|
260 |
my %params = @_; |
|
261 |
|
|
262 |
for my $bar ($::request->layout->get('actionbar')) { |
|
263 |
$bar->add( |
|
264 |
action => [ |
|
265 |
t8('Analyze'), |
|
266 |
submit => [ '#form' ], |
|
267 |
accesskey => 'enter', |
|
268 |
], |
|
269 |
); |
|
270 |
} |
|
271 |
} |
|
272 |
|
|
273 |
sub setup_analyze_action_bar { |
|
274 |
my %params = @_; |
|
275 |
|
|
276 |
for my $bar ($::request->layout->get('actionbar')) { |
|
277 |
$bar->add( |
|
278 |
action => [ |
|
279 |
t8('Back'), |
|
280 |
call => [ 'kivi.history_back' ], |
|
281 |
], |
|
282 |
); |
|
283 |
} |
|
284 |
} |
|
285 |
|
|
254 | 286 |
1; |
locale/de/all | ||
---|---|---|
281 | 281 |
'An invalid character was used (invalid characters: #1).' => 'Ein ungültiges Zeichen wurde benutzt (ungültige Zeichen: #1).', |
282 | 282 |
'An invalid character was used (valid characters: #1).' => 'Ein ungültiges Zeichen wurde benutzt (gültige Zeichen: #1).', |
283 | 283 |
'An upper-case character is required.' => 'Ein Großbuchstabe ist vorgeschrieben.', |
284 |
'Analyze' => 'Analysieren', |
|
284 | 285 |
'Annotations' => 'Anmerkungen', |
285 | 286 |
'Any stock contents containing a best before date will be impossible to stock out otherwise.' => 'Sonst können Artikel, bei denen ein Mindesthaltbarkeitsdatum gesetzt ist, nicht mehr ausgelagert werden.', |
286 | 287 |
'Ap aging on %s' => 'Offene Verbindlichkeiten an %s', |
... | ... | |
2723 | 2724 |
'Split entry detected. The values you have entered will result in an entry with more than one position on both debit and credit. Due to known problems involving accounting software kivitendo does not allow these.' => 'Splitbuchung! Die eingebenen Werte würden eine Buchung auslösen, die jeweils mehr als eine Position auf Soll und Haben hätte. Um Kompatibilität mit DATEV zu gewährleisten erlaubt kivitendo keine Splitbuchungen.', |
2724 | 2725 |
'Spoolfile' => 'Druckdatei', |
2725 | 2726 |
'Start Dunning Process' => 'Mahnprozess starten', |
2726 |
'Start analysis' => 'Analyse beginnen', |
|
2727 | 2727 |
'Start date' => 'Startdatum', |
2728 | 2728 |
'Start of year' => 'Jahresanfang', |
2729 | 2729 |
'Start process' => 'Prozess starten', |
templates/webpages/acctranscorrections/analyze_filter.html | ||
---|---|---|
9 | 9 |
[% 'This module can help you identify and correct such entries by analyzing the general ledger and presenting you likely solutions but also allowing you to fix problems yourself.' | $T8 %] |
10 | 10 |
</p> |
11 | 11 |
|
12 |
<form name="filter" method="post" action="acctranscorrections.pl"> |
|
12 |
<form name="filter" method="post" action="acctranscorrections.pl" id="form">
|
|
13 | 13 |
|
14 | 14 |
<p>[% 'Time period for the analysis:' | $T8 %]</p> |
15 | 15 |
|
... | ... | |
33 | 33 |
</table> |
34 | 34 |
</p> |
35 | 35 |
|
36 |
<p> |
|
37 |
<input type="submit" value="[% 'Start analysis' | $T8 %]"> |
|
38 |
</p> |
|
39 |
|
|
40 | 36 |
<input type="hidden" name="action" value="analyze"> |
41 | 37 |
</form> |
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei »System« → »Korrekturen im Hauptbuch«