mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
exportbuchhaltung ommit 0 values
This commit is contained in:
parent
c763a5bc0b
commit
94c82bf377
@ -637,12 +637,14 @@ class Exportbuchhaltung
|
||||
|
||||
$data = array();
|
||||
|
||||
if ($row['betrag'] >= 0) {
|
||||
if ($row['betrag'] > 0) {
|
||||
$data['Umsatz'] = number_format($row['betrag'], 2, ',', ''); // obligatory
|
||||
$data['Soll-/Haben-Kennzeichen'] = $typ['kennzeichen']; // obligatory
|
||||
} else {
|
||||
} else if ($row['betrag'] < 0) {
|
||||
$data['Umsatz'] = number_format(-$row['betrag'], 2, ',', ''); // obligatory
|
||||
$data['Soll-/Haben-Kennzeichen'] = $typ['kennzeichen_negativ']; // obligatory
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
$data['EU-Steuersatz (Bestimmung)'] = number_format($tmpsteuersatz, 2, ',', '');
|
||||
|
Loading…
Reference in New Issue
Block a user