41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h2 class="mb-4">Client File Import</h2>
|
|
|
|
<div class="card p-4 shadow-sm">
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
<!-- 1. SELECT SUBCONTRACTOR -->
|
|
<!-- <label class="form-label">Select Subcontractor vs Client</label>
|
|
<select name="subcontractor_id" id="subcontractor_id" class="form-select mb-3" required>
|
|
<option value="">-- Select Subcontractor --</option>
|
|
|
|
{% for sc in subcontractors %}
|
|
<option value="{{ sc.id }}">{{ sc.subcontractor_name }}</option>
|
|
{% endfor %}
|
|
</select> -->
|
|
|
|
<!-- 2. FILE TYPE (MODEL NAME) -->
|
|
<!-- <label class="form-label">Select File Type</label>
|
|
<select name="file_type" id="file_type" class="form-select mb-3" required>
|
|
<option value="">-- Select File Type --</option>
|
|
<option value="">Sheet</option>
|
|
<option value="tr_ex_client">Tr. Ex</option>
|
|
<option value="mh_ex_client">Mh. Ex </option>
|
|
<option value="mh_dc_client">MH & DC </option>
|
|
<option value="">Laying Sheet</option>
|
|
</select> -->
|
|
|
|
<label class="form-label">RA Bill No</label>
|
|
<input type="text" name="RA_Bill_No" class="form-control mb-3" required>
|
|
<!-- 3. FILE UPLOAD -->
|
|
<label class="form-label">Choose File</label>
|
|
<input type="file" name="file" class="form-control mb-3" required>
|
|
|
|
<button class="btn btn-primary w-100">Upload</button>
|
|
</form>
|
|
|
|
</div>
|
|
{% endblock %} |