diff --git a/pinaxcon/registrasion/admin.py b/pinaxcon/registrasion/admin.py
new file mode 100644
index 0000000..831b3e7
--- /dev/null
+++ b/pinaxcon/registrasion/admin.py
@@ -0,0 +1,9 @@
+import models
+
+from django.contrib import admin
+from django.utils.translation import ugettext_lazy as _
+
+@admin.register(models.AttendeeProfile)
+class UserProfileAdmin(admin.ModelAdmin):
+ model = models.AttendeeProfile
+ list_display = ("name", "company", "name_per_invoice")
diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html
index b9c0408..f2b8062 100644
--- a/pinaxcon/templates/dashboard.html
+++ b/pinaxcon/templates/dashboard.html
@@ -109,7 +109,7 @@
{% items_pending as pending %}
{% if pending %}
- Pay your registration
+ Check out and pay
{% endif %}
{% endif %}
@@ -129,18 +129,19 @@
{% items_pending as pending %}
{% if pending %}
Items pending payment
- {% include "registrasion/items_list.html" with items=pending %}
+ {% include "registrasion/_items_list.html" with items=pending %}
+
+
+ Check out and pay for these items.
{% endif %}
{% items_purchased as purchased %}
{% if purchased %}
Paid items
- {% include "registrasion/items_list.html" with items=purchased %}
+ {% include "registrasion/_items_list.html" with items=purchased %}
{% endif %}
Add/Update items
{% available_categories as categories %}
- {% for category in categories %}
- {{ category.name }}
- {% endfor %}
+ {% include "registrasion/_category_list.html" with categories=categories %}
{% invoices as invoices %}
diff --git a/pinaxcon/templates/registrasion/_category_list.html b/pinaxcon/templates/registrasion/_category_list.html
new file mode 100644
index 0000000..16d9426
--- /dev/null
+++ b/pinaxcon/templates/registrasion/_category_list.html
@@ -0,0 +1,7 @@
+
+ {% for category in categories %}
+ {% if not category in exclude %}
+ - {{ category.name }}
+ {% endif %}
+ {% endfor %}
+
diff --git a/pinaxcon/templates/registrasion/_invoice_details.html b/pinaxcon/templates/registrasion/_invoice_details.html
index b20e45a..7db9746 100644
--- a/pinaxcon/templates/registrasion/_invoice_details.html
+++ b/pinaxcon/templates/registrasion/_invoice_details.html
@@ -10,7 +10,7 @@
{% if not invoice.is_void %}
Due: {{ invoice.due_time|date:"DATETIME_FORMAT"}}
{% endif %}
- Recipient: {{ invoice_user.attendee.attendeeprofilebase.invoice_recipient|linebreaksbr}}
+ Recipient: {{ invoice.recipient|linebreaksbr}}
{% endwith %}
diff --git a/pinaxcon/templates/registrasion/items_list.html b/pinaxcon/templates/registrasion/_items_list.html
similarity index 53%
rename from pinaxcon/templates/registrasion/items_list.html
rename to pinaxcon/templates/registrasion/_items_list.html
index 1a21424..9926bc4 100644
--- a/pinaxcon/templates/registrasion/items_list.html
+++ b/pinaxcon/templates/registrasion/_items_list.html
@@ -1,7 +1,7 @@
{% if items %}
{% for item in items %}
- - {{ item.quantity }} × {{ item.product }}
+ - {{ item.quantity }} × {{ item.product }} {{ suffix }}
{% endfor %}
{% endif %}
diff --git a/pinaxcon/templates/registrasion/amend_registration.html b/pinaxcon/templates/registrasion/amend_registration.html
index faa66c8..c5bc2cc 100644
--- a/pinaxcon/templates/registrasion/amend_registration.html
+++ b/pinaxcon/templates/registrasion/amend_registration.html
@@ -13,11 +13,11 @@
cancel the invoice that added those items. You will need to re-add the items
from that invoice for the user to have them available again.
-{% include "registrasion/items_list.html" with items=paid %}
+{% include "registrasion/_items_list.html" with items=paid %}
Cancelled Items
-{% include "registrasion/items_list.html" with items=cancelled %}
+{% include "registrasion/_items_list.html" with items=cancelled %}
Amend pending items
diff --git a/pinaxcon/templates/registrasion/credit_note.html b/pinaxcon/templates/registrasion/credit_note.html
index 5b90615..c0d105d 100644
--- a/pinaxcon/templates/registrasion/credit_note.html
+++ b/pinaxcon/templates/registrasion/credit_note.html
@@ -8,7 +8,7 @@
{% with note_user=credit_note.invoice.user %}
- Number: {{ credit_note.id }}
-
- Attention: {{ credit_note.invoice.user.attendee.attendeeprofilebase.invoice_recipient }}
+ - Attention: {{ credit_note.invoice.recipient }}
- Value: {{ credit_note.value }}
- Status: {{ credit_note.status }}
diff --git a/pinaxcon/templates/registrasion/discount_list.html b/pinaxcon/templates/registrasion/discount_list.html
index 577c081..2783476 100644
--- a/pinaxcon/templates/registrasion/discount_list.html
+++ b/pinaxcon/templates/registrasion/discount_list.html
@@ -1,7 +1,7 @@
{% if discounts %}
{% for discount in discounts %}
- - {{ discount.quantity }} × {{ discount.clause }}
+ - {{ discount.discount.description }}: {{ discount.quantity }} × {{ discount.clause }}
{% endfor %}
{% endif %}
diff --git a/pinaxcon/templates/registrasion/guided_registration_complete.html b/pinaxcon/templates/registrasion/guided_registration_complete.html
deleted file mode 100644
index 2683957..0000000
--- a/pinaxcon/templates/registrasion/guided_registration_complete.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{% extends "registrasion/base.html" %}
-{% load bootstrap %}
-{% load registrasion_tags %}
-
-{% block body %}
-
- Conference Registration – Review
-
- {% items_pending as pending %}
- {% if pending %}
-
- Step 4 of 4
-
- You're almost done! You've selected the following items:
- {% include "registrasion/items_list.html" with items=pending %}
-
-
You can either generate an invoice and pay for your registration, or return to
- the dashboard to make amendments.
-
-
-
- {% else %}
-
- You have no items that need to be paid.
-
-
-
- {% endif %}
-
-{% endblock %}
diff --git a/pinaxcon/templates/registrasion/product_category.html b/pinaxcon/templates/registrasion/product_category.html
index 85c5a89..4322f38 100644
--- a/pinaxcon/templates/registrasion/product_category.html
+++ b/pinaxcon/templates/registrasion/product_category.html
@@ -20,7 +20,7 @@
{% if items %}
Paid items
You have already paid for the following items:
- {% include "registrasion/items_list.html" with items=items %}
+ {% include "registrasion/_items_list.html" with items=items %}
{% endif %}
@@ -37,8 +37,10 @@
+
diff --git a/pinaxcon/templates/registrasion/report.html b/pinaxcon/templates/registrasion/report.html
index a760618..8dc724a 100644
--- a/pinaxcon/templates/registrasion/report.html
+++ b/pinaxcon/templates/registrasion/report.html
@@ -23,14 +23,11 @@
{{ heading }} |
{% endfor %}
- {% for line in report.data %}
+ {% for line in report.rows %}
{% for item in line %}
- {% if report.link_view and forloop.counter0 == 0 %}
-
- {% endif %}
- {{ item }}
+ {{ item|safe }}
|
{% endfor %}
diff --git a/pinaxcon/templates/registrasion/review.html b/pinaxcon/templates/registrasion/review.html
new file mode 100644
index 0000000..7927c76
--- /dev/null
+++ b/pinaxcon/templates/registrasion/review.html
@@ -0,0 +1,74 @@
+{% extends "registrasion/base.html" %}
+{% load bootstrap %}
+{% load registrasion_tags %}
+
+{% block body %}
+
+ Review your selection
+
+ {% items_pending as pending %}
+ {% if pending %}
+
+ Current selection
+
+ You've selected the following items, which will be in your invoice when
+ you check out:
+ {% include "registrasion/_items_list.html" with items=pending %}
+
+ {% items_purchased as purchased %}
+ {% if purchased %}
+
You've already paid for the following items:
+ {% include "registrasion/_items_list.html" with items=purchased suffix="(PAID)" %}
+ {% endif %}
+
+
+ {% missing_categories as missing %}
+
+ Add to your selection
+
+ You can add these items now, or you can come back and add them in a
+ later purchase.
+
+ {% if missing %}
+
+
+ You have not selected any items from the following
+ categories. Even if your ticket includes complimentary tickets to social
+ events, or t-shirts, you must still add them to your selection.
+
+
+
+ {% include "registrasion/_category_list.html" with categories=missing %}
+
+ {% endif %}
+
+
+ You can also change your selection from these categories:
+
+
+ {% available_categories as available %}
+ {% include "registrasion/_category_list.html" with categories=available exclude=missing %}
+
+ What next?
+
+ You can either generate an invoice and pay for your selections, or return to
+ the dashboard.
+
+
+
+ {% else %}
+
+ You have no items that need to be paid.
+
+
+
+ {% endif %}
+
+{% endblock %}