/*
 * File: RequestPriceQoute.ui.js
 * Date: Thu Jan 27 2011 16:42:01 GMT-0500 (Eastern Standard Time)
 * 
 * This file was generated by Ext Designer version xds-1.0.3.2.
 * http://www.extjs.com/products/designer/
 *
 * This file will be auto-generated each and everytime you export.
 *
 * Do NOT hand edit this file.
 */

RequestPriceQouteUi = Ext.extend(Ext.form.FormPanel, {
    title: 'Request a Custom Price Qoute',
    width: 524,
    padding: '5px',
    layout: 'card',
    height: 300,
    labelWidth: 125,
    activeItem: 0,
    initComponent: function() {
        this.items = [
            {
                xtype: 'panel',
                layout: 'form',
                id: 'ReqForm',
                items: [
                    {
                        xtype: 'container',
                        height: 30,
                        layout: 'hbox',
                        id: 'PkgSelectionPanel',
                        layoutConfig: {
                            padding: ''
                        },
                        items: [
                            {
                                xtype: 'displayfield',
                                flex: 1,
                                value: 'Package (s) :',
                                width: 135
                            },
                            {
                                xtype: 'checkbox',
                                boxLabel: 'Silver Package',
                                flex: 1,
                                name: 'IsSilverPkg'
                            },
                            {
                                xtype: 'checkbox',
                                boxLabel: 'Gold Package',
                                flex: 1,
                                name: 'IsGoldPkg'
                            },
                            {
                                xtype: 'checkbox',
                                boxLabel: 'Platinum Package',
                                flex: 1,
                                name: 'IsPlatPkg'
                            }
                        ]
                    },
                    {
                        xtype: 'container',
                        layout: 'form',
                        height: 30,
                        items: [
                            {
                                xtype: 'textfield',
                                fieldLabel: 'Your Full Name',
                                anchor: '100%',
                                name: 'visitorName'
                            }
                        ]
                    },
                    {
                        xtype: 'container',
                        layout: 'form',
                        height: 30,
                        items: [
                            {
                                xtype: 'textfield',
                                fieldLabel: 'Your Phone Number',
                                anchor: '100%',
                                name: 'visitorphone'
                            }
                        ]
                    },
                    {
                        xtype: 'container',
                        layout: 'form',
                        items: [
                            {
                                xtype: 'container',
                                height: 30,
                                layout: 'form',
                                items: [
                                    {
                                        xtype: 'textfield',
                                        fieldLabel: 'E-Mail Address',
                                        anchor: '100%',
                                        name: 'visitormail'
                                    }
                                ]
                            },
                            {
                                xtype: 'container',
                                flex: 1,
                                layout: 'hbox',
                                height: 30,
                                layoutConfig: {
                                    padding: ''
                                },
                                items: [
                                    {
                                        xtype: 'container',
                                        layout: 'form',
                                        flex: 1,
                                        items: [
                                            {
                                                xtype: 'datefield',
                                                fieldLabel: 'Date of Event',
                                                anchor: '95%',
                                                name: 'EventDate_Str'
                                            }
                                        ]
                                    },
                                    {
                                        xtype: 'container',
                                        flex: 1,
                                        layout: 'form',
                                        items: [
                                            {
                                                xtype: 'datefield',
                                                fieldLabel: 'RSVP Start Date',
                                                anchor: '95%',
                                                name: 'RSVPStartDate_Str'
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                xtype: 'container',
                                flex: 1,
                                layout: 'hbox',
                                height: 30,
                                items: [
                                    {
                                        xtype: 'container',
                                        layout: 'form',
                                        flex: 1,
                                        items: [
                                            {
                                                xtype: 'combo',
                                                fieldLabel: 'Type of Event',
                                                anchor: '95%',
                                                store: 'TypeOfEvent',
                                                displayField: 'Text',
                                                valueField: 'Text',
                                                mode: 'local',
                                                name: 'EventTypeTxt'
                                            }
                                        ]
                                    },
                                    {
                                        xtype: 'container',
                                        flex: 1,
                                        layout: 'form',
                                        items: [
                                            {
                                                xtype: 'textfield',
                                                fieldLabel: 'Coupon Code',
                                                anchor: '95%',
                                                name: 'CouponCode'
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                xtype: 'container',
                                layout: 'form',
                                labelWidth: 170,
                                items: [
                                    {
                                        xtype: 'combo',
                                        fieldLabel: 'How did you hear about us ?',
                                        width: 250,
                                        store: 'HowDidYouHear',
                                        valueField: 'Text',
                                        displayField: 'Text',
                                        mode: 'local',
                                        anchor: '95%',
                                        name: 'HowDidYouHear_Str'
                                    }
                                ]
                            }
                        ]
                    }
                ],
                fbar: {
                    xtype: 'toolbar',
                    items: [
                        {
                            xtype: 'button',
                            text: 'Send Me Qoute Now',
                            ref: '../../SendMe'
                        }
                    ]
                }
            },
            {
                xtype: 'container',
                layout: 'form',
                height: 200,
                labelWidth: 280,
                id: 'ReqComp',
                items: [
                    {
                        xtype: 'displayfield',
                        value: '<span style="text-align:center; font-size:16px"> <p align="center"><strong>Thank you for your interest in using MyRSVPLive for your event.</strong></p><br/>  <p>An email has been sent to your email account with the quote you requested.</p> <br/> <p>If the quote does not arrive in your inbox within the next 10 minutes <br/> (also check your junk/spam folder), please contact us at cs@myrsvplive.com. </p> <br/> <p>Remember you can purchase your package now regarless of when your event actually is</p> </span>',
                        fieldLabel: 'Label',
                        anchor: '100%',
                        hideLabel: true,
                        height: 240
                    },
                    {
                        xtype: 'displayfield',
                        value: ' <a href="http://www.myrsvplive.com/Sales/Discount_RSVPQoute.php">View my price qoute</a>',
                        fieldLabel: 'You may also use this link to view your qoute',
                        anchor: '100%',
                        ref: '../DisplayQouteURL'
                    }
                ]
            }
        ];
        RequestPriceQouteUi.superclass.initComponent.call(this);
    }
});

