{% extends "main.html" %} {% block content %}
{% if site_id == 2 %}

Import ASN CARES Registrations

{% else %}

Import CARES Registration Status Updates

{% endif %}
{% if site_id == 2 %}

Upload a CSV file exported from the ASN site to create new CARES registrations. Each row will create a new registration record with the verification photo downloaded from the URL provided in the CSV. Rows for registrations that already exist will be skipped without error (safe for daily re-import).

Required columns: aquarist_name, aquarist_email, species, species_source, collection_location, year_acquired, verification_photo_url, species_has_spawned, young_available, offspring_shared, asn_imported, date_requested

{% else %}

Upload a CSV file exported from the CARES approval site (Site 2) to update the status and approver notes on existing registrations. Only existing registrations matched by external_id will be updated. Only Approved (APRV) or Declined (DECL) status rows will trigger an update; other statuses are silently skipped.

Required columns: external_id, status, approver_notes

{% endif %}
{% csrf_token %} {{ form.as_p }} Cancel
{% endblock content %}