Edit Expense now deletes old receipt and adds new receipt when attached

This commit is contained in:
root
2019-05-17 17:56:04 -04:00
parent 9634d7a1e4
commit acd5f840f2
2 changed files with 16 additions and 3 deletions

View File

@@ -7,9 +7,10 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
<div class="modal-body bg-white">
<input type="hidden" name="expense_id" value="<?php echo $expense_id; ?>">
<input type="hidden" name="expense_receipt" value="<?php echo $expense_receipt; ?>">
<div class="form-row">
<div class="form-group col-md">
<label>Date</label>