mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
importvorlage kontoauszuege 2.betrag
This commit is contained in:
parent
1e59009862
commit
222b0ac239
@ -578,6 +578,11 @@
|
||||
<td>Betrag</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>betrag2</td>
|
||||
<td>Betrag (wenn z.B. Soll / Haben getrennt)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>waehrung</td>
|
||||
<td>Währung</td>
|
||||
|
@ -5081,7 +5081,7 @@ class Importvorlage extends GenImportvorlage {
|
||||
break;
|
||||
case 'kontoauszug':
|
||||
|
||||
$allowed_fields = array('konto','buchung','betrag','waehrung','buchungstext','buchungstext2','buchungstext3','buchungstext4');
|
||||
$allowed_fields = array('konto','buchung','betrag','betrag2','waehrung','buchungstext','buchungstext2','buchungstext3','buchungstext4');
|
||||
|
||||
$error = false;
|
||||
|
||||
@ -5119,6 +5119,11 @@ class Importvorlage extends GenImportvorlage {
|
||||
$row['soll'] = $row['betrag'];
|
||||
unset($row['betrag']);
|
||||
|
||||
if (empty($row['soll'])) {
|
||||
$row['soll'] = $row['betrag2'];
|
||||
}
|
||||
unset($row['betrag2']);
|
||||
|
||||
$row['buchung'] = $this->app->erp->ReplaceDatum(true,$row['buchung'],false);
|
||||
|
||||
// Calculate hash
|
||||
|
Loading…
Reference in New Issue
Block a user