{% extends "pbp_store/admin_base.html" %} {% load url from future %} {% load catalog_filters %} {% block body %}

Order #{{order.pk}}

{% if order.orderpayment %} {% else %} {% endif %}
Order Date: {{order.date}}
Status: {{order.get_status_display}}
Payment Status: {{order.orderpayment.payment_state}}
Shipping Status: {{order.orderpayment.shipping_state}}
Payment Status: N/A
Shipping Status: N/A
Email: {{order.email}}
Phone: {{order.phone}}
Shipping address:
Name{{order.shipping_name}}
Address 1{{order.shipping_address_1}}
Address 2{{order.shipping_address_2}}
City{{order.shipping_city}}
State{{order.shipping_state}}
Country{{order.shipping_country}}
Zip{{order.shipping_zip}}
Billing:
Name{{order.billing_name}}
Address 1{{order.billing_address_1}}
Address 2{{order.billing_address_2}}
City{{order.billing_city}}
State{{order.billing_state}}
Country{{order.billing_country}}
Zip{{order.billing_zip}}

Order Details

{% for item in order.order_items %} {% endfor %}
Name Price Quantity Total
Order Total: {{ order.total|currency }}
{{ item.name }} {{ item.price|currency }} {{ item.quantity }} {{ item.total|currency }}

Order Payment

{{order.orderpayment}} {% if order.orderpayment.is_google %}

Google Payment

{% with google_payment=order.orderpayment.google_payment %}
Order Date: {{order.date}}
Notify Type{{google_payment.notify_type}}
Serial Number{{google_payment.serial_number}}
Google Order Number{{google_payment.google_order_number}}
Buyer Id{{google_payment.buyer_id}}
Private data{{google_payment.private_data}}
Shipping address:
Contact Name{{google_payment.shipping_contact_name}}
Address 1{{google_payment.shipping_address1}}
Address 2{{google_payment.shipping_address2}}
City{{google_payment.shipping_city}}
Postal code{{google_payment.shipping_postal_code}}
Region{{google_payment.shipping_region}}
Country{{google_payment.shipping_country_code}}
Email{{google_payment.shipping_email}}
Company{{google_payment.shipping_company_name}}
Fax{{google_payment.shipping_fax}}
Phone{{google_payment.shipping_phone}}
Billing:
Name{{google_payment.billing_contact_name}}
Address 1{{google_payment.billing_address1}}
Address 2{{google_payment.billing_address2}}
City{{google_payment.billing_city}}
Postal Code{{google_payment.billing_postal_code}}
Region{{google_payment.billing_region}}
Country{{google_payment.billing_country_code}}
Email{{google_payment.billing_email}}
Company{{google_payment.billing_company_name}}
Fax{{google_payment.billing_fax}}
Phone{{google_payment.billing_phone}}
Marketing email allowed{{google_payment.marketing_email_allowed}}
Num cart items{{google_payment.num_cart_items}}
Cart Items{{google_payment.cart_items}}
Total Tax{{google_payment.total_tax|currency}}
Tax Currency{{google_payment.total_tax_currency}}
Adjustment Total{{google_payment.adjustment_total|currency}}
Adjustment currency{{google_payment.adjustment_total_currency}}
Order Total{{google_payment.order_total|currency}}
Order Currency{{google_payment.order_total_currency}}
Financial Order State{{google_payment.financial_order_state}}
Fulfillment Order State{{google_payment.fulfillment_order_state}}
TimeStamp{{google_payment.timestamp}}
Created At{{google_payment.created_at}}
Last updated{{google_payment.updated_at}}
{% endwith %} {% endif %} {% if order.orderpayment.is_amazon %} Amazon order: {{order.orderpayment.is_amazon}} {% endif %} {% endblock body %}