mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Bugfix Exportbuchhaltung Belegfeld 1 length 36 instead of 12
This commit is contained in:
parent
5b21ee0332
commit
04a4a54418
@ -605,7 +605,7 @@ class Exportbuchhaltung
|
|||||||
$data['Umsatz'] = number_format(abs($difference), 2, ',', ''); // obligatory
|
$data['Umsatz'] = number_format(abs($difference), 2, ',', ''); // obligatory
|
||||||
$data['EU-Steuersatz (Bestimmung)'] = 0;
|
$data['EU-Steuersatz (Bestimmung)'] = 0;
|
||||||
$data['WKZ Umsatz'] = $row['waehrung'];
|
$data['WKZ Umsatz'] = $row['waehrung'];
|
||||||
$data['Belegfeld 1'] = mb_strimwidth($row['belegnr'],0,12);
|
$data['Belegfeld 1'] = mb_strimwidth($row['belegnr'],0,36);
|
||||||
$data['Konto'] = $row['kundennummer'];
|
$data['Konto'] = $row['kundennummer'];
|
||||||
$data['Soll-/Haben-Kennzeichen'] = ($difference < 0)?'S':'H'; // obligatory
|
$data['Soll-/Haben-Kennzeichen'] = ($difference < 0)?'S':'H'; // obligatory
|
||||||
|
|
||||||
@ -647,7 +647,7 @@ class Exportbuchhaltung
|
|||||||
|
|
||||||
$data['EU-Steuersatz (Bestimmung)'] = number_format($tmpsteuersatz, 2, ',', '');
|
$data['EU-Steuersatz (Bestimmung)'] = number_format($tmpsteuersatz, 2, ',', '');
|
||||||
$data['WKZ Umsatz'] = $row['pos_waehrung'];
|
$data['WKZ Umsatz'] = $row['pos_waehrung'];
|
||||||
$data['Belegfeld 1'] = mb_strimwidth($row['belegnr'],0,12);
|
$data['Belegfeld 1'] = mb_strimwidth($row['belegnr'],0,36);
|
||||||
$data['Konto'] = $row['kundennummer']; // obligatory
|
$data['Konto'] = $row['kundennummer']; // obligatory
|
||||||
|
|
||||||
if (!empty($typ['field_gegenkonto'])) {
|
if (!empty($typ['field_gegenkonto'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user