{% extends "base.html" %}{% block title %}Bulk Import{% endblock %}{% block content %}
<div class="card p-4 shadow-sm"><h2>📥 Bulk Import</h2><p>Upload CSV/XLSX for stock or IMEI list.</p>
<form method="post" enctype="multipart/form-data">
  <div class="mb-3"><label class="form-label">Import Type</label><select name="import_type" class="form-select"><option value="stock">Stock Items</option><option value="imei">IMEI / Serial Devices</option></select></div>
  <div class="mb-3"><label class="form-label">CSV/XLSX File</label><input type="file" name="file" class="form-control" accept=".csv,.xlsx" required></div>
  <button class="btn btn-primary">Import</button>
</form><hr><small>Stock columns: stock_id, item_name, item_category, qty, unit_cost, location, reorder_level. IMEI columns: imei, serial, item_name, location, trcsl_status, import_batch.</small></div>
{% endblock %}
