Add Receipt link to edit Expense if one was uploaded

This commit is contained in:
johnny@pittpc.com
2021-02-15 19:56:09 -05:00
parent 99d4d7e34e
commit 5b5afa772c
5 changed files with 33 additions and 4 deletions

View File

@@ -153,6 +153,11 @@
<label>Receipt</label>
<input type="file" class="form-control-file" name="file">
</div>
<?php if(!empty($expense_receipt)){ ?>
<hr>
<a class="text-secondary" href="<?php echo $expense_receipt; ?>"><i class="fa fa-fw fa-2x fa-file-pdf text-secondary"></i> <?php echo basename($expense_receipt); ?></a>
<?php } ?>
</div>
<div class="modal-footer bg-white">