Add attachment support for fuel and recurring expenses with camera capture

Co-authored-by: aiulian25 <17886483+aiulian25@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-12 21:39:52 +00:00
parent 339cd94b26
commit 8a5b916a39
8 changed files with 487 additions and 9 deletions

View file

@ -100,7 +100,7 @@
</div>
<div class="form-group">
<label for="fuel-attachment" data-translate="optional">Receipt (Optional)</label>
<input type="file" id="fuel-attachment" name="attachment" accept=".pdf,.png,.jpg,.jpeg,.txt">
<input type="file" id="fuel-attachment" name="attachment" accept="image/*,.pdf,.txt" capture="environment">
<small data-translate="supported_files">Supported: PDF, Images, Text</small>
</div>
<div style="display: flex; gap: 10px; margin-top: 20px;">