|
@@ -125,8 +125,7 @@ |
|
|
block discarded – undo |
|
125
|
125
|
// if valuta date is earlier than booking date, then it must be in the new year. |
|
126
|
126
|
if (substr($transaction, 2, 2) == '12' && substr($transaction, 6, 2) == '01') { |
|
127
|
127
|
$year++; |
|
128
|
|
- } |
|
129
|
|
- elseif (substr($transaction, 2, 2) == '01' && substr($transaction, 6, 2) == '12') { |
|
|
128
|
+ } elseif (substr($transaction, 2, 2) == '01' && substr($transaction, 6, 2) == '12') { |
|
130
|
129
|
$year--; |
|
131
|
130
|
} |
|
132
|
131
|
$bookingDate = $this->getDate($year . $bookingDate); |
Please login to merge, or discard this patch.