<?php if($music->mediafilelist->user){  ?>
    <tr id="ReceiptID_<?php echo $music->mediafilelist->id?>" data-receipt-id="<?php echo $music->mediafilelist->id?>">
		<td><?php echo $music->mediafilelist->description;?></td>
		<td><?php echo $music->config->currency_symbol . $music->mediafilelist->price;?></td>
		<td><span class="ajax-time"><?php echo $music->mediafilelist->created_at;?></span></td>
		<td>
			<a class="image-popup btn bg-info admn_table_btn admn-mng-bnk-rct" href="<?php echo GetMedia($music->mediafilelist->receipt_file); ?>" >
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3,22L4.5,20.5L6,22L7.5,20.5L9,22L10.5,20.5L12,22L13.5,20.5L15,22L16.5,20.5L18,22L19.5,20.5L21,22V2L19.5,3.5L18,2L16.5,3.5L15,2L13.5,3.5L12,2L10.5,3.5L9,2L7.5,3.5L6,2L4.5,3.5L3,2M18,9H6V7H18M18,13H6V11H18M18,17H6V15H18V17Z" /></svg> <img src="<?php echo GetMedia($music->mediafilelist->receipt_file); ?>" class="card-img-top">Show Receipt
            </a>
		</td>
		<td>
			<?php if((int)$music->mediafilelist->approved == 0){?>
				<a href="javascript:void(0)" class="btn bg-success admn_table_btn" onclick="Wo_ApproveReceipt(<?php echo $music->mediafilelist->id?>,'<?php echo $music->mediafilelist->receipt_file?>','hide');">Approve</a>
				<a href="javascript:void(0)" class="btn bg-danger admn_table_btn" onclick="Wo_DeleteReceipt(<?php echo $music->mediafilelist->id?>,<?php echo $music->mediafilelist->user_id?>,'<?php echo $music->mediafilelist->receipt_file?>','hide');">Delete</a>
			<?php } else{ ?>
				<b style="color:darkgreen;">Approved <?php echo Time_Elapsed_String($music->mediafilelist->approved_at); ?></b>
			<?php } ?>
		</td>
    </tr>
<?php } ?>