Fixed Receipt Path under edit expense

This commit is contained in:
johnnyq 2021-10-17 14:59:50 -04:00
parent 2945f37a6e
commit 540d5b0d30
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@
<?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>
<a class="text-secondary" href="<?php echo "uploads/expenses/$session_company_id/$expense_receipt"; ?>"><i class="fa fa-fw fa-2x fa-file-pdf text-secondary"></i> <?php echo basename($expense_receipt); ?></a>
<?php } ?>
</div>