{% extends "base_authenticated.html" %} {% block title %}Bulk QR Code Import{% endblock %} {% block content %}

Import Instructions

Required Columns

  • QR Code Name - Unique name for the QR code
  • QR Code Location - Location identifier
  • Project - Project name (must exist)
  • Location Address - Complete address
  • Event - Check IN or Check OUT

Optional Columns

  • Latitude - GPS latitude coordinate
  • Longitude - GPS longitude coordinate

If providing coordinates, both Latitude and Longitude are required

Download Template

Use our pre-formatted template to ensure proper column structure:

Download Excel Template

Example Data

QR Code Name QR Code Location Project Location Address Event Latitude Longitude
HQ-Entrance Main Building Corporate HQ 123 Main St, Springfield, IL 62701 Check IN 39.781721 -89.650148
HQ-Exit Main Building Corporate HQ 123 Main St, Springfield, IL 62701 Check OUT 39.781721 -89.650148
Site-A-Gate1 Construction Site A Construction Projects 456 Oak Ave, Chicago, IL 60601 Check IN

Upload Excel File

Drag & Drop Excel File

Or click to browse and select an Excel file (.xlsx, .xls)

Import Options

Cancel
{% if validation_result %}

Validation Results

{{ validation_result.valid_rows }}

Valid Records

{{ validation_result.invalid_rows }}

Invalid Records

{{ validation_result.total_rows }}

Total Records

{% if validation_result.success and validation_result.valid_rows > 0 %}

Validation Successful!

All {{ validation_result.valid_rows }} records are valid and ready to import.

{% endif %} {% if validation_result.errors %}

Validation Errors ({{ validation_result.errors|length }})

    {% for error in validation_result.errors[:20] %}
  • {{ error }}
  • {% endfor %} {% if validation_result.errors|length > 20 %}
  • ...and {{ validation_result.errors|length - 20 }} more errors
  • {% endif %}
{% endif %} {% if validation_result.warnings %}

Warnings ({{ validation_result.warnings|length }})

    {% for warning in validation_result.warnings[:10] %}
  • {{ warning }}
  • {% endfor %} {% if validation_result.warnings|length > 10 %}
  • ...and {{ validation_result.warnings|length - 10 }} more warnings
  • {% endif %}
{% endif %}
{% endif %} {% if import_result %}

Import Results

{{ import_result.imported_records }}

Successfully Imported

{{ import_result.failed_records }}

Failed Records

{{ import_result.total_rows }}

Total Records

{% if import_result.success and import_result.imported_records > 0 %}

Import Successful!

Successfully imported {{ import_result.imported_records }} QR codes.

View QR Codes
{% if import_result.imported_qr_codes %}

Imported QR Codes

{% for qr in import_result.imported_qr_codes[:10] %} {% endfor %} {% if import_result.imported_qr_codes|length > 10 %} {% endif %}
ID Name Location Project
{{ qr.id }} {{ qr.name }} {{ qr.location }} {{ qr.project }}
...and {{ import_result.imported_qr_codes|length - 10 }} more QR codes
{% endif %} {% endif %} {% if import_result.errors %}

Import Errors ({{ import_result.errors|length }})

    {% for error in import_result.errors[:20] %}
  • {{ error }}
  • {% endfor %} {% if import_result.errors|length > 20 %}
  • ...and {{ import_result.errors|length - 20 }} more errors
  • {% endif %}
{% endif %}
{% endif %}
{% endblock %}