__PACKAGE__->run_before('check_auth');
-sub action_list_transactions {
- my ($self) = @_;
+sub action_list_transactions {
+ my ($self) = @_;
return $self->render('generic/error', { layout => 0 }, label_error => "list_transactions needs a trans_id") unless $::form->{trans_id};
- my $transactions = SL::DB::Manager::AccTransaction->get_all(query => [ trans_id => $::form->{trans_id} ], sort_by => 'acc_trans_id ASC');
+ my $transactions = SL::DB::Manager::AccTransaction->get_all(query => [ trans_id => $::form->{trans_id} ], sort_by => 'acc_trans_id ASC');
return $self->render(\'', { type => 'json' }) unless scalar @{$transactions};
my $acc_trans_table = $self->_mini_ledger($transactions);
my $balances_table = $self->_mini_trial_balance($transactions);
-
+
return $self->render('acc_trans/acc_trans', { header => 0 }, acc_trans_table => $acc_trans_table, balances_table => $balances_table);
}
my $object = $entry->{object};
# Check whether the CSV contains the parameters taxzone_id or taxzone, and
- # check them for validity.
+ # check them for validity.
# If one of them was given, but is invalid, return an error
# If neither was given:
# b) if param take_default was not set, do nothing, return without error, and
# taxzone_id may be set later by other means (order import uses cv settings)
-
+
# if $object->taxzone_id is defined (from CSV line), check if it is valid
if ($object->taxzone_id && ! _taxzones_by($self)->{id}->{ $object->taxzone_id }) {
push @{ $entry->{errors} }, $::locale->text('Error: Invalid tax zone');
};
# for the order import at this stage $object->taxzone_id may still not be
- # defined, in this case the customer/vendor taxzone will be used.
+ # defined, in this case the customer/vendor taxzone will be used.
return 1;
}
sub action_quicksearch {
my ($self, %params) = @_;
-
+
my $limit = $::form->{limit} || 40; # max number of results per type (AR/AP/GL)
my $term = $::form->{term} || '';
-
+
my $descriptionquery = { ilike => '%' . $term . '%' };
my $referencequery = { ilike => '%' . $term . '%' };
my $apinvnumberquery = { ilike => '%' . $term . '%' };
</td>
<td class="right">Blatt 1</td>
</tr>
-
-
-</tr>
+
+
+</tr>
<tr class="querkopf">
<th class="left"> </th>
<th class="center" colspan="5">Im Betrachtungszeitraum</th>
<td><nobr>[% jetztgl2 %]</nobr></td>
<td></td>
<td></td>
- <td></td>
+ <td></td>
<td><nobr>[% kumm2 %]</nobr></td>
<td><nobr>[% kummgl2 %]</nobr></td>
<td></td>
</tr>
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey subtotal">
<td class="left"><nobr>Gesamtleistung</nobr></td>
<td><nobr>[% jetztgesamtleistung %]</nobr></td>
</tr>
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey">
<td class="left"><nobr>Mat./Wareneinkauf</nobr></td>
<td><nobr>[% jetzt4 %]</nobr></td>
<td><nobr>[% kummpk4 %]</nobr></td>
<td class="right"><nobr>[% kummauf4 %]</nobr> </td>
</tr>
-
+
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey subtotal">
<td class="left"><nobr>Rohertrag</nobr></td>
<td><nobr>[% jetztrohertrag %]</nobr></td>
<td><nobr>[% kummpkrohertrag %]</nobr></td>
<td class="right"><nobr>[% kummaufrohertrag %]</nobr> </td>
</tr>
-
+
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey">
<td class="left"><nobr>So.betr.Erlöse</nobr></td>
<td><nobr>[% jetzt5 %]</nobr></td>
</tr>
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey subtotal">
<td class="left"><nobr>Betriebl. Rohertrag</nobr></td>
<td><nobr>[% jetztbetriebrohertrag %]</nobr></td>
<tr class="grey subtotal">
<td class="left">Kostenarten:</td>
<td class="right" colspan="10"> </td>
-</tr>
-
+</tr>
+
<tr class="white">
<td class="left"><nobr>Personalkosten</nobr></td>
<td><nobr>[% jetzt10 %]</nobr></td>
<tr class="white"><td class="left right" colspan="11"> </td></tr>
-
+
<tr class="grey subtotal">
<td class="left"><nobr>Betriebsergebnis</nobr></td>
<td><nobr>[% jetztbetriebsergebnis %]</nobr></td>
<td><nobr>[% kummpkneutralerertrag %]</nobr></td>
<td class="right"> </td>
</tr>
-
+
<tr class="white"><td class="left right" colspan="11"> </td></tr>
<tr class="grey subtotal">
<td><nobr>[% kummpkergebnisvorsteuern %]</nobr></td>
<td class="right"> </td>
</tr>
-
+
<tr class="white"><td class="left right" colspan="11"> </td></tr>
<tr class="grey">
<td><nobr>[% kummpk35 %]</nobr></td>
<td class="right"> </td>
</tr>
-
+
<tr class="white"><td class="left right" colspan="11"> </td></tr>
<tr class="grey subtotal">
<td><nobr>[% kummpkergebnis %]</nobr></td>
<td class="right"> </td>
</tr>
-
+
<tr class="white" id=last><td class="left right"
colspan="11"> </td></tr>
<tr>
<td>
- Umsatzerlöse
+ Umsatzerlöse
</td>
<td>
[% eur1 %]
</tr>
<tr>
<td>
- sonstige Erlöse
+ sonstige Erlöse
</td>
<td>
- [% eur2 %]
+ [% eur2 %]
</td>
</tr>
<tr>
Privatanteile
</td>
<td>
- [% eur3 %]
+ [% eur3 %]
</td>
</tr>
<tr>
Zinserträge
</td>
<td>
- [% eur4 %]
+ [% eur4 %]
</td>
</tr>
<tr>
Außerordentliche Erträge
</td>
<td>
- [% eur5 %]
+ [% eur5 %]
</td>
</tr>
<tr>
Vereinnahmte Umsatzsteuer
</td>
<td>
- [% eur6 %]
+ [% eur6 %]
</td>
</tr>
<tr>
Umsatzsteuererstattungen
</td>
<td>
- [% eur7 %]
+ [% eur7 %]
</td>
</tr>
Wareneingänge
</td>
<td>
- [% eur8 %]
+ [% eur8 %]
</td>
</tr>
<tr>
Löhne und Gehälter
</td>
<td>
- [% eur9 %]
+ [% eur9 %]
</td>
</tr>
<tr>
Gesetzlicher sozialer Aufwand
</td>
<td>
- [% eur10 %]
+ [% eur10 %]
</td>
</tr>
<tr>
Mieten
</td>
<td>
- [% eur11 %]
+ [% eur11 %]
</td>
</tr>
<tr>
Gas, Strom, Wasser
</td>
<td>
- [% eur12 %]
+ [% eur12 %]
</td>
</tr>
<tr>
Instandhaltung
</td>
<td>
- [% eur13 %]
+ [% eur13 %]
</td>
</tr>
<tr>
Steuern, Versicherungen, Beiträge
</td>
<td>
- [% eur14 %]
+ [% eur14 %]
</td>
</tr>
<tr>
Kfz-Steuern
</td>
<td>
- [% eur15 %]
+ [% eur15 %]
</td>
</tr><tr>
<td>
Kfz-Versicherungen
</td>
<td>
- [% eur16 %]
+ [% eur16 %]
</td>
</tr><tr>
<td>
Sonstige Fahrzeugkosten
</td>
<td>
- [% eur17 %]
+ [% eur17 %]
</td>
</tr><tr>
<td>
Werbe- und Reisekosten
</td>
<td>
- [% eur18 %]
+ [% eur18 %]
</td>
</tr><tr>
<td>
Instandhaltung und Werkzeuge
</td>
<td>
- [% eur19 %]
+ [% eur19 %]
</td>
</tr><tr>
<td>
Fachzeitschriften, Bücher
</td>
<td>
- [% eur20 %]
+ [% eur20 %]
</td>
</tr><tr>
<td>
Miete für Einrichtungen
</td>
<td>
- [% eur21 %]
+ [% eur21 %]
</td>
</tr><tr>
<td>
Rechts- und Beratungskosten
</td>
<td>
- [% eur22 %]
+ [% eur22 %]
</td>
</tr><tr>
<td>
Bürobedarf, Porto, Telefon
</td>
<td>
- [% eur23 %]
+ [% eur23 %]
</td>
</tr><tr>
<td>
Sonstige Aufwendungen
</td>
<td>
- [% eur24 %]
+ [% eur24 %]
</td>
</tr><tr>
<td>
Abschreibungen auf Anlagevermögen
</td>
<td>
- [% eur25 %]
+ [% eur25 %]
</td>
</tr><tr>
<td>
Abschreibungen auf GWG
</td>
<td>
- [% eur26 %]
+ [% eur26 %]
</td>
</tr><tr>
<td>
Vorsteuer
</td>
<td>
- [% eur27 %]
+ [% eur27 %]
</td>
</tr><tr>
<td>
Umsatzsteuerzahlungen
</td>
<td>
- [% eur28 %]
+ [% eur28 %]
</td>
</tr><tr>
<td>
Zinsaufwand
</td>
<td>
- [% eur29 %]
+ [% eur29 %]
</td>
</tr><tr>
<td>
Außerordentlicher Aufwand
</td>
<td>
- [% eur30 %]
+ [% eur30 %]
</td>
</tr><tr>
<td>
Betriebliche Steuern
</td>
<td>
- [% eur31 %]
+ [% eur31 %]
</td>
</tr>
[%- IF INSTANCE_CONF.get_webdav %]
<div id="ui-tabs-webdav">
-<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
+<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
<table width="100%">
<tr>