Jump to content

No Finances?


danielkang1234

Recommended Posts

If you just want it to be hidden from view altogether, do this:

Remove this code from pirep_viewreport.tpl

<td width="50%" valign="top" align="right">
<table class="balancesheet" cellpadding="0" cellspacing="0" width="100%">

<tr class="balancesheet_header">
	<td align="" colspan="2">Flight Details</td>
</tr>
<tr>
	<td align="right">Gross Revenue: <br /> 
		(<?php echo $pirep->load;?> load / <?php echo FinanceData::FormatMoney($pirep->price);?> per unit  <br />
	<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>

And remove this link from the profile_main.tpl

<li><a href="<?php echo url('/finances');?>">View VA Finances</a></li>

Then no one will know you have any finances.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...