Ignore:
Timestamp:
Oct 25, 2015, 9:51:51 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Now IS Dashboard is not dependent on other modules. They need to register their view to IS dashboard.
  • Fixed: Wrong sign of created finance operations from bank import.
  • Added: Storno invoices now have special groups in FinanceInvoiceGroup table.

Both Storno and previous storned documents should be linked together using new table FinanceInvoiceStorno.
Also they should be marked as not visible to user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/User.php

    r746 r755  
    270270      'Filter' => '1',
    271271    ));
    272 
     272    $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('User',
     273        array('ModuleUser', 'ShowDashboardItem'));
     274  }
     275
     276  function ShowDashboardItem()
     277  {
     278    $DbResult = $this->Database->select('User', 'COUNT(*)', '1');
     279    $DbRow = $DbResult->fetch_row();
     280    $Output = 'Uživatelů: '.$DbRow['0'].'<br/>';
     281    return $Output;
    273282  }
    274283
Note: See TracChangeset for help on using the changeset viewer.