コード例 #1
0
echo str_replace('$', Config::Get('MONEY_UNIT'), FinanceData::FormatMoney(-1 * $month_data->expenses_total));
?>
</td>
	</tr>
	
	<tr class="balancesheet_header">
		<td align="" colspan="2">Totals</td>
	</tr>
	
	<tr class="balancesheet_header" style="border-bottom: 1px dotted">
		<td align="" colspan="2" style="padding: 1px;"></td>
	</tr>
	<tr>
		<td align="right"><strong>Total:</strong></td>
		<td align="right"> <?php 
echo str_replace('$', Config::Get('MONEY_UNIT'), FinanceData::FormatMoney($month_data->revenue));
?>
</td>
	</tr>
</table>

<h3>Breakdown</h3>
<div align="center">
<?php 
/*
	Added in 2.0!
*/
$chart_width = '800';
$chart_height = '500';
/* Don't need to change anything below this here */
?>
コード例 #2
0
		<td align="right" valign="top"><?php 
echo FinanceData::FormatMoney($pirep->load * $pirep->price);
?>
</td>
	</tr>
	<tr>
		<td align="right">Fuel Cost: <br />
			(<?php 
echo $pirep->fuelused;
?>
 fuel used @ <?php 
echo $pirep->fuelunitcost;
?>
 / unit)<br />
		<td align="right" valign="top"><?php 
echo FinanceData::FormatMoney($pirep->fuelused * $pirep->fuelunitcost);
?>
</td>
	</tr>
	</table>
</td>
</tr>
</table>

<?php 
if ($fields) {
    ?>
<h3>Flight Details</h3>			
<ul>
	<?php 
    foreach ($fields as $field) {
コード例 #3
0
    $total += $month->revenue;
    echo FinanceData::FormatMoney($month->revenue);
    ?>
		</td>
	</tr>
<?php 
}
?>
<tr class="balancesheet_header" style="border-bottom: 1px dotted">
	<td align="" colspan="8" style="padding: 1px;"></td>
</tr>
	
<tr>
	<td align="right" colspan="6"><strong>Total:</strong></td>
	<td align="right" colspan="2"><strong><?php 
echo FinanceData::FormatMoney($total);
?>
</strong></td>
</tr>
	
</table>

<h3>Breakdown</h3>
<div align="center">
<?php 
/*
	Added in 2.0!
*/
$chart_width = '800';
$chart_height = '500';
/* Don't need to change anything below this here */
コード例 #4
0
?>
" title="Available airports to search from your current location">
            </td>
        	<td align="center" >
				<input type="hidden" name="action" value="findflight" />
                <input type="submit" name="submit" value="Search Flight" />
			</td>			
		</tr>
    </table>
</form>
</div>

<h3>Pilot Transfer</h3>
<ul>
	<li>Your Bank limit is : <font color="#66FF00"><?php 
echo FinanceData::FormatMoney(Auth::$userinfo->totalpay);
?>
</font></li>
</ul>
<br />
<form action="<?php 
echo url('/FBSV11/jumpseat');
?>
" method="get">
	<table>
		<tr>	
			<td>select airport to transfer : </td>
			<td >
					
					<select name="depicao" onchange="listSel(this,'cost')">
						<option value="">--Select--</option>
コード例 #5
0
ファイル: pirep_edit.php プロジェクト: phpmods/phpvms_5.5.x
?>
" />
		<p>Additional expenses for this flight (catering, cleaning, etc)</p></td>
</tr>
<tr>		
	<td style="font-weight: bold;">Pilot Pay</td>
	<td><input type="text" name="pilotpay" value="<?php 
echo $pirep->pilotpay;
?>
" />
		<p>This is the amount this pilot has been paid for this flight</p></td>
</tr>
<tr>		
	<td style="font-weight: bold;">Total Revenue for flight:</td>
	<td><?php 
echo FinanceData::FormatMoney($pirep->revenue);
?>
 
		<p></p></td>
</tr>

<tr><td colspan="2" style="border: none;"><h4>Comments</h4></td></tr>
<tr>		
	<td>Comments</td>
	<td>
		<?php 
if (!$comments) {
    echo '<p>No comments</p>';
    $comments = array();
}
foreach ($comments as $comment) {