- Timestamp:
- Aug 29, 2009, 8:18:14 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/zivnost.php
r207 r243 71 71 $Row = $DbResult->fetch_array(); 72 72 $Balance['SmallAssets']['End'] = $Row[0] + 0; 73 73 return($Balance); 74 74 } 75 75 76 76 function Show() 77 77 { 78 78 if(!$this->System->Modules['User']->CheckPermission('Finance', 'TradingStatus')) return('Nemáte oprávnění'); 79 79 $this->System->Modules['Finance']->LoadTariffs(1); 80 80 //TransformFinance(); … … 87 87 $Output = '<table style="font-size: smaller;" class="WideTable">'; 88 88 $Output .= '<tr><th colspan="3">Účetní období</th><th colspan="5">Na konci</th><th colspan="6">Během</th></tr>'. 89 89 '<tr><th>Rok</th><th>Od</th><th>Do</th><th>Příjmy</th><th>Výdaje</th><th>Pohledávky</th><th>Závazky</th><th>Drobný majetek</th><th>Příjmy</th><th>Výdaje</th><th>Pohledávky</th><th>Závazky</th><th>Drobný majetek</th><th>Základ daně</th></tr>'; 90 90 91 91 $this->StartEvidence = mktime(0, 0, 0, 12, 1, 2007); … … 99 99 if($StartTime < $this->StartEvidence) $StartTime = $this->StartEvidence; 100 100 101 101 $Balance = $this->GetTimePeriodBalance($StartTime, $EndTime); 102 102 103 103 $Output .= '<tr><td>'.$Year.'</td><td>'.date(HumanDate(TimeToMysqlDateTime($StartTime))).'</td><td>'.date(HumanDate(TimeToMysqlDateTime($EndTime))).'</td>'; … … 120 120 $Output = '<table class="WideTable" style="font-size: smaller;">'; 121 121 $Output .= '<tr><th colspan="4">Účetní období</th><th colspan="5">Na konci</th><th colspan="6">Během</th></tr>'. 122 122 '<tr><th>Rok</th><th>Měsíc</th></th><th>Od</th><th>Do</th><th>Příjmy</th><th>Výdaje</th><th>Pohledávky</th><th>Závazky</th><th>Drobný majetek</th><th>Příjmy</th><th>Výdaje</th><th>Pohledávky</th><th>Závazky</th><th>Drobný majetek</th><th>Základ daně</th></tr>'; 123 123 124 124 $this->StartEvidence = mktime(0, 0, 0, 12, 1, 2007); … … 133 133 $StartTime = mktime(0, 0, 0, $Month, 1, $Year); 134 134 if(($StartTime < time()) and ($EndTime > $this->StartEvidence)) 135 136 137 138 135 { 136 if($StartTime < $this->StartEvidence) $StartTime = $this->StartEvidence; 137 138 $Balance = $this->GetTimePeriodBalance($StartTime, $EndTime); 139 139 140 140 $Output .= '<tr><td>'.$Year.'</td><td>'.$Month.'</td><td>'.date(HumanDate(TimeToMysqlDateTime($StartTime))).'</td><td>'.date(HumanDate(TimeToMysqlDateTime($EndTime))).'</td>'; … … 151 151 $Output .= '<td>'.($Balance['SmallAssets']['End'] - $Balance['SmallAssets']['Start']).'</td>'; 152 152 $Output .= '<td>'.(($Balance['Income']['End'] - $Balance['Income']['Start']) - ($Balance['Spend']['End'] - $Balance['Spend']['Start'])).'</td></tr>'; 153 154 153 } 154 } 155 155 } 156 156 $Output .= '</table>'; … … 256 256 $Row = $DbResult->fetch_array(); 257 257 $Output .= 'Stav placení: '.($Row['AdvancesIn'] - $Row['AdvancesOut'] - $Row['OpenedClaims'] + Abs($Row['OpenedLiabilities'])); 258 break; 259 case 'PrintMonthOperations': 260 $Output .= '<table><tr><th>Datum</th><th>Subjekt</th><td></td></tr></table>'; 261 break; 262 case 'PrintMonthOperations': 263 $Output .= 'Výpis operací od '.$_GET['TimeFrom'].' do '.$_GET['TimeTo']; 264 $Output .= '<table><tr><th>Datum</th><th>Subjekt</th><th>Suma [Kč]</th><td></td></tr></table>'; 258 265 break; 259 266 default: -
trunk/system/generators/traffic_shaping_routerboard.php
r241 r243 133 133 } 134 134 135 //$Routerboard->ListUpdate($PathQueue, array('name', 'limit-at', 'max-limit', 'parent', 'packet-mark', 'queue'), $ItemsQueue, array(), true);135 $Routerboard->ListUpdate($PathQueue, array('name', 'limit-at', 'max-limit', 'parent', 'packet-mark', 'queue'), $ItemsQueue, array(), true); 136 136 $Routerboard->ListUpdate($PathFirewall, array('chain', 'dst-address', 'in-interface', 'action', 'new-packet-mark', 'passthrough', 'comment', 'out-interface', 'src-address', 'jump-target'), $ItemsFirewall, array(), true); 137 137
Note:
See TracChangeset
for help on using the changeset viewer.