feat: complete day 6

This commit is contained in:
Ayobami
2025-07-14 19:08:13 +01:00
parent 95edc56088
commit 61d9872bab
9 changed files with 340 additions and 73 deletions
+12
View File
@@ -0,0 +1,12 @@
extends layout
block content
h1 Import Transactions
form#importForm(action="/api/v1/import" method="POST" enctype="multipart/form-data")
label(for="file") Choose CSV or Excel file:
input(type="file" name="file" id="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel")
br
button#exportBtn(type="button") Export
button(type="submit") Import
div#result
script(src="/js/import.js")