<?xml version="1.0"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<page xmlns:c="http://apache.org/cocoon/templates/jx/1.0">
    <site signOn="#{accountForm/signOn}" view="jxpath">
        <backpointer name="Main Menu" do="index.do" />
        <message>Please confirm the information below and then press continue...</message>
        <panel header="Order" subheader="#{order/orderDate}">
            <panel label="Payment Details">
                <field label="Card Type">#{order/cardType}</field>
                <field label="Card Number">#{order/creditCard}</field>
                <field label="Expiry Date (MM/YYYY)">#{order/expiryDate}</field>
            </panel>
            <panel label="Billing Address">
                <field label="First name">#{order/billToFirstName}</field>
                <field label="Last name" >#{order/billToLastName}</field>
                <field label="Address 1" >#{order/billAddress1}</field>
                <field label="Address 2" >#{order/billAddress2}</field>
                <field label="City" >#{order/billCity}</field>
                <field label="State" >#{order/billState}</field>
                <field label="Zip" >#{order/billZip}</field>
                <field label="Country" >#{order/billCountry}</field>
            </panel>
            <panel label="Shipping Address">
                <field label="First name">#{order/shipToFirstName}</field>
                <field label="Last name" >#{order/shipToLastName}</field>
                <field label="Address 1" >#{order/shipAddress1}</field>
                <field label="Address 2" >#{order/shipAddress2}</field>
                <field label="City" >#{order/shipCity}</field>
                <field label="State" >#{order/shipState}</field>
                <field label="Zip" >#{order/shipZip}</field>
                <field label="Country" >#{order/shipCountry}</field>
            </panel>
        </panel>
        <nextpointer img="images/button_continue.gif" do="#{$cocoon/continuation/id}.kont?confirmed=true"/>
    </site>

</page>




