47 lines
1.8 KiB
PHP
47 lines
1.8 KiB
PHP
<?php
|
|
if ($show_status == 'Unpaid') {
|
|
?>
|
|
<table cellpadding='5' cellspacing='0' border='0'>
|
|
<tr>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=delete-unpaid&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>' onclick='return confirm("<?php echo($deleteConfirmationMsg); ?>")'><?php displayLanguageText('TEXT-DELETE-UNPAID-ORDERS'); ?></a>
|
|
</td>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=flag-unpaid&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>'><?php displayLanguageText('TEXT-FLAG-EMAIL-RECIPIENTS'); ?></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<?php
|
|
}
|
|
|
|
if ($show_status == 'Paid') {
|
|
?>
|
|
<table cellpadding='5' cellspacing='0' border='0'>
|
|
<tr>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=delete-paid&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>' onclick='return confirm("<?php echo($deleteConfirmationMsg); ?>")'><?php displayLanguageText('TEXT-DELETE-PAID-ORDERS'); ?></a>
|
|
</td>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=flag-paid&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>'><?php displayLanguageText('TEXT-FLAG-EMAIL-RECIPIENTS'); ?></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<?php
|
|
}
|
|
|
|
if ($show_status == 'Inactive') {
|
|
?>
|
|
<table cellpadding='5' cellspacing='0' border='0'>
|
|
<tr>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=delete-inactive&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>' onclick='return confirm("<?php echo($deleteConfirmationMsg); ?>")'><?php displayLanguageText('TEXT-DELETE-INACTIVE-ORDERS'); ?></a>
|
|
</td>
|
|
<td align='center'>
|
|
<a href='?action=orders&naction=flag-inactive&schedule_num=<?php echo($schedule_num) ?>' class='btn btn--primary>'><?php displayLanguageText('TEXT-FLAG-EMAIL-RECIPIENTS'); ?></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<?php
|
|
}
|
|
?>
|