First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
require_once("include/globals.php");
|
||||
|
||||
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
||||
header("Location: /");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<?php if ($school_record['navigation_mode'] == 'Select') { ?>
|
||||
<center>
|
||||
<table width='80%' cellpadding='1' cellspacing='1' border='0'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<select name='selected_page_action' id='selected_page_action' class='navigation-select select-width200'>
|
||||
<option value=''><?php displayLanguageText('TEXT-PAGE-NAVIGATION-SELECTION'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y'><?php displayLanguageText('TEXT-VIEW-ALL'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Balance%20Owing'><?php displayLanguageText('TEXT-BALANCE-OWING'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Balance%20Payable'><?php displayLanguageText('TEXT-BALANCE-PAYABLE'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Paid'><?php displayLanguageText('TEXT-PAID'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Pending'><?php displayLanguageText('TEXT-PENDING'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Unpaid'><?php displayLanguageText('TEXT-UNPAID'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Inactive'><?php displayLanguageText('TEXT-INACTIVE'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Complimentary'><?php displayLanguageText('TEXT-COMPLIMENTARY'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_source=On-line'><?php displayLanguageText('TEXT-ON-LINE'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_source=Paper'><?php displayLanguageText('TEXT-PAPER'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Staff'><?php echo($GlobalText['Staff']); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Student'><?php echo($GlobalText['Students']); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Customer'><?php displayLanguageText('TEXT-CUSTOMER') ?></option>
|
||||
<?php if ($hotlunch_schedule['schedule_type'] != 'Hot Lunch' && in_array($siteType,array('hotlunch','yearbook','tickets','fundraising'))) { ?>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y&delivered=Y'><?php displayLanguageText('TEXT-DELIVERED'); ?></option>
|
||||
<option value='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y&delivered=N'><?php displayLanguageText('TEXT-NOT-DELIVERED'); ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<?php } else { ?>
|
||||
<table cellspacing='1' cellpadding='1' border='0'>
|
||||
<tr>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-VIEW-ALL'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Balance%20Owing' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-BALANCE-OWING'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Balance%20Payable' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-BALANCE-PAYABLE'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Paid' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-PAID'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Pending' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-PENDING'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Unpaid' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-UNPAID'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Inactive' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-INACTIVE'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_status=Complimentary' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-COMPLIMENTARY'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_source=On-line' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-ON-LINE'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_source=Paper' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-PAPER'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Staff' class='btn btn--outline btn--xsmall'><?php echo($GlobalText['Staff']); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Student' class='btn btn--outline btn--xsmall'><?php echo($GlobalText['Students']); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_only=Customer' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-CUSTOMER') ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php if ($hotlunch_schedule['schedule_type'] != 'Hot Lunch' && in_array($siteType,array('hotlunch','yearbook','tickets','fundraising'))) { ?>
|
||||
<br>
|
||||
<table cellspacing='1' cellpadding='1' border='0'>
|
||||
<tr>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y&delivered=Y' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-DELIVERED'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y&delivered=N' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-NOT-DELIVERED'); ?></a></td>
|
||||
<td align='center'><a href='?action=orders&schedule_num=<?php echo($schedule_num) ?>&show_all=Y&orderby=added_time' class='btn btn--outline btn--xsmall'><?php displayLanguageText('TEXT-SORT-BY-TIME-ENTERED') ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
Reference in new issue
Block a user