Spaces:
Sleeping

doluong6 commited on
Commit
ddfdfec
·
verified ·
1 Parent(s): f613f7a

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -3
templates/index.html CHANGED
@@ -338,9 +338,10 @@
338
  <h2>📎 Tải tài liệu kèm theo</h2>
339
  <form id="formUploadKemTheo">
340
  <label for="thuMucKhachHang">📁 Chọn thư mục khách hàng:</label>
341
- <select id="thuMucKhachHang" required></select>
 
342
  <label>📂 Loại tài liệu:</label><br>
343
- <select name="loai_tai_lieu" required>
344
  <option value="Bao_gia">Báo giá</option>
345
  <option value="Hop_dong_thanh_ly">Hợp đồng</option>
346
  <option value="Giay_chung_nhan">Giấy chứng nhận</option>
@@ -354,7 +355,6 @@
354
  <button type="submit">📤 Tải lên</button>
355
  </form>
356
  </div>
357
- </div>
358
  </div>
359
  </div>
360
  <!-- Kích hoạt submenu sau khi login -->
 
338
  <h2>📎 Tải tài liệu kèm theo</h2>
339
  <form id="formUploadKemTheo">
340
  <label for="thuMucKhachHang">📁 Chọn thư mục khách hàng:</label>
341
+ <select id="thuMucKhachHang" name="khach_hang" required></select> <!-- ✅ name -->
342
+
343
  <label>📂 Loại tài liệu:</label><br>
344
+ <select name="loai_tai_lieu" required> <!-- ✅ trùng tên API -->
345
  <option value="Bao_gia">Báo giá</option>
346
  <option value="Hop_dong_thanh_ly">Hợp đồng</option>
347
  <option value="Giay_chung_nhan">Giấy chứng nhận</option>
 
355
  <button type="submit">📤 Tải lên</button>
356
  </form>
357
  </div>
 
358
  </div>
359
  </div>
360
  <!-- Kích hoạt submenu sau khi login -->