Revision 4118324a
Von Kivitendo Admin vor mehr als 11 Jahren hinzugefügt
SL/RP.pm | ||
---|---|---|
214 | 214 |
# filter for opening and closing bookings |
215 | 215 |
# if l_ob is selected l_cb is always ignored |
216 | 216 |
if ( $last_period ) { |
217 |
# ob/cb-settings for "as of" balance
|
|
217 |
# ob/cb-settings for "compared to" balance
|
|
218 | 218 |
if ( $form->{l_ob_compared} ) { |
219 | 219 |
$where .= ' AND ac.ob_transaction is true ' |
220 | 220 |
} elsif ( not $form->{l_cb_compared} ) { |
221 | 221 |
$where .= ' AND ac.cb_transaction is false '; |
222 | 222 |
}; |
223 | 223 |
} else { |
224 |
# ob/cb-settings for "compared to" balance
|
|
224 |
# ob/cb-settings for "as of" balance
|
|
225 | 225 |
if ( $form->{l_ob} ) { |
226 | 226 |
$where .= ' AND ac.ob_transaction is true ' |
227 | 227 |
} elsif ( not $form->{l_cb} ) { |
Auch abrufbar als: Unified diff
kleine Korrektur
Kommentare beim letztem Commit waren vertauscht