<?php 
//get my info using the id
$sql255="SELECT * from j_users WHERE 
j_id='".$row['j_recipient_id']."'"; //  
$result255 = runSQL($sql255);
$data25 = mysqli_fetch_array($result255);
$r_id = $data25['j_id'];
$r_username = $data25['j_username'];
$r_firstname = $data25['j_firstname'];
$r_lastname = $data25['j_lastname'];
$r_wallet = $data25['j_wallet']; 
$r_name = trim("$r_firstname $r_lastname");
?>


<li class="list-group-item">
	<span class="subject">Type</span>
	<br/>
	<span class="desc text-danger">
		<?php echo $row['j_type']; ?> 
	</span> [<?php echo $row['j_kind']; ?>]
</li>

<li class="list-group-item">
	<span class="subject">Amount</span>
	<br/>
	<span class="desc">
		<?php echo "".amount_w_c($row['j_amount']-$row['j_total_charge'],$row['j_currency']).""; ?>
	</span>
</li>

<li class="list-group-item">
	<span class="subject">Charge</span>
	<br/>
	<span class="desc">
		<?php echo "".amount_w_c($row['j_total_charge'],$row['j_currency']).""; ?>
	</span>
</li>


<li class="list-group-item">
	<span class="subject">Total Debit</span>
	<br/>
	<span class="desc">
		<?php echo "".amount_w_c($row['j_amount'],$row['j_currency']).""; ?>
	</span>
</li>


<li class="list-group-item">
	<span class="subject">Balance</span>
	<br/>
	<span class="desc">
		<?php echo "".amount_w_c($row['j_bal'],$row['j_currency']).""; ?>
	</span>
</li>


<li class="list-group-item">
	<span class="subject">Recipient</span>
	<br/>
	<span class="desc">
		<?php echo $r_name; ?> (<b><?php echo $r_username; ?></b>) 
	</span>
</li>

<li class="list-group-item">
	<span class="subject">Description</span>
	<br/>
	<span class="desc">
		<?php echo $row['j_desc']; ?> 
	</span>
</li>


<li class="list-group-item">
	<span class="subject">Reference ID</span>
	<br/>
	<span class="desc">
		<?php echo $row['j_transact_id']; ?>
	</span>
</li>



<li class="list-group-item">
	<span class="subject">Date/Time</span>
	<br/>
	<span class="desc">
		<?php echo time_ago($row['j_date']); ?>
	</span>
</li>
