Changeset 524 for trunk/Modules/Finance/Manage.php
- Timestamp:
- Apr 20, 2013, 8:51:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Manage.php
r521 r524 9 9 function Show() 10 10 { 11 if(!$this->System-> Modules['User']->CheckPermission('Finance', 'Manage'))11 if(!$this->System->User->CheckPermission('Finance', 'Manage')) 12 12 return('Nemáte oprávnění'); 13 13 … … 203 203 $Form->SaveValuesToDatabase(0); 204 204 $Output = $this->SystemMessage('Finance', 'Zařízení vloženo.'); 205 $this->System->Module s['Log']->NewRecord('Finance', 'NewDeviceInserted');205 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewDeviceInserted'); 206 206 return($Output); 207 207 } … … 223 223 $Form->SaveValuesToDatabase(0); 224 224 $Output = $this->SystemMessage('Finance', 'Záznam historie zařízení vložen.'); 225 $this->System->Module s['Log']->NewRecord('Finance', 'NewDeviceHistoryInserted');225 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewDeviceHistoryInserted'); 226 226 return($Output); 227 227 } … … 246 246 $DbRow = $DbResult->fetch_assoc(); 247 247 $Output = $this->SystemMessage('Finance', 'Platba vložena '.$DbRow['BillCode'].'.'); 248 $this->System->Module s['Log']->NewRecord('Finance', 'NewPaymentInserted');248 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewPaymentInserted'); 249 249 return($Output); 250 250 } … … 272 272 $DbRow = $DbResult->fetch_assoc(); 273 273 $Output = $this->SystemMessage('Finance', 'Faktura vložena '.$DbRow['BillCode'].'.'); 274 $this->System->Module s['Log']->NewRecord('Finance', 'NewInvoiceInserted');274 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewInvoiceInserted'); 275 275 return($Output); 276 276 } … … 308 308 function ShowMonthlyPayment() 309 309 { 310 if(!$this->System-> Modules['User']->CheckPermission('Finance', 'Manage')) return('Nemáte oprávnění');310 if(!$this->System->User->CheckPermission('Finance', 'Manage')) return('Nemáte oprávnění'); 311 311 $SQL = 'SELECT Member.*, MemberPayment.MonthlyTotal AS Monthly, '. 312 312 'MemberPayment.Cash AS Cash, '. … … 450 450 function ProcessMonthlyPayment() 451 451 { 452 if(!$this->System-> Modules['User']->CheckPermission('Finance', 'Manage')) return('Nemáte oprávnění');452 if(!$this->System->User->CheckPermission('Finance', 'Manage')) return('Nemáte oprávnění'); 453 453 $Output = ''; 454 454
Note:
See TracChangeset
for help on using the changeset viewer.