Changeset 882
- Timestamp:
- Sep 8, 2020, 5:00:04 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r881 r882 2123 2123 $Manager->Execute('ALTER TABLE `User` CHANGE `LastIpAddress` `LastIpAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT "";'); 2124 2124 $Manager->Execute('ALTER TABLE `Log` CHANGE `IPAddress` `IPAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;'); 2125 } 2126 2127 function UpdateTo882($Manager) 2128 { 2129 $Manager->Execute('ALTER TABLE `FinanceMonthlyOverall` CHANGE `Investment` `Investment` INT(11) NOT NULL DEFAULT "0";'); 2125 2130 } 2126 2131 … … 2227 2232 870 => array('Revision' => 878, 'Function' => 'UpdateTo878'), 2228 2233 878 => array('Revision' => 880, 'Function' => 'UpdateTo880'), 2234 880 => array('Revision' => 882, 'Function' => 'UpdateTo882'), 2229 2235 ); 2230 2236 } -
trunk/Application/Version.php
r881 r882 1 1 <?php 2 2 3 $Revision = 88 1; // Subversion revision4 $DatabaseRevision = 88 0; // SQL structure revision5 $ReleaseTime = strtotime('2020-09-0 4');3 $Revision = 882; // Subversion revision 4 $DatabaseRevision = 882; // SQL structure revision 5 $ReleaseTime = strtotime('2020-09-08'); -
trunk/Modules/EmailQueue/EmailQueue.php
r874 r882 77 77 { 78 78 $Values = array('To' => $To, 79 'Subject' => $Subject, 'Content' => $Content, 'Time' => 'NOW()', 79 'Subject' => $Subject, 'Content' => $Content, 'Time' => 'NOW()', 'Headers' => '', 80 80 'From' => $From); 81 81 if ($AttachmentFileId != '') $Values['AttachmentFile'] = $AttachmentFileId; -
trunk/Modules/Finance/Manage.php
r874 r882 291 291 $DateParts = explode('-', $Overall['Date']); 292 292 $MonthLast = $DateParts[1]; 293 $YearLast = $DateParts[0]; 293 294 $MonthCurrent = date('m') + 0; 295 $YearCurrent = date('Y') + 0; 294 296 295 297 $Output .= $Finance->RecalculateMemberPayment(); … … 311 313 // Zkontrolovat odečtení měsíčního poplatku 312 314 $Output .= 'Kontrola odečtení poplatků: Poslední měsíc-'.$MonthLast.' Aktuální měsíc-'.$MonthCurrent."\n"; 313 if ( $MonthCurrent != $MonthLast)315 if (($MonthCurrent != $MonthLast) or ($YearCurrent != $YearLast)) 314 316 { 315 317 $Output .= 'Odečítám pravidelný poplatek...'."\n";
Note:
See TracChangeset
for help on using the changeset viewer.