Ext.namespace('com.domorewithsage.mock');


com.domorewithsage.mock.CustomerFormWindow = Ext.extend(Ext.Window, {


    initComponent : function()
    {
        Ext.apply(this, {
            layout    : 'fit',
            resizable : false,
            border    : false,
            closable  : true,
            items : [
                new Ext.TabPanel({
                    activeItem : 0,
                    items      : [
                        new com.domorewithsage.mock.CustomerFormPanel()
                    , {
                        xtype : 'panel',
                        title : 'Defaults'
                    }, {
                        xtype : 'panel',
                        title : 'Credit Control'
                    }, {
                        xtype : 'panel',
                        title : 'Sales'
                    }, {
                        xtype : 'panel',
                        title : 'Orders'
                    }, {
                        xtype : 'panel',
                        title : 'Projects'
                    }, {
                        xtype : 'panel',
                        title : 'Graphs'
                    }, {
                        xtype : 'panel',
                        title : 'Activity'
                    }, {
                        xtype : 'panel',
                        title : 'Bank'
                    }, {
                        xtype : 'panel',
                        title : 'Contacts'
                    }, {
                        xtype : 'panel',
                        title : 'Memo'
                    }]
                })
            ],
            buttons : [{
                text : 'Save'
            }, {
                text : 'Discard'
            }, {
                text : 'Delete'
            }, {
                text     : 'Previous',
                disabled : true
            }, {
                text     : 'Next',
                disabled : true
            }, {
                text     : 'Print List',
                disabled : true
            }, {
                text : 'New Order'
            }, {
                text : 'New Invoice'
            }, {
                text : 'New Project'
            }, {
                text    : 'Close',
                handler : this.close,
                scope   : this
            }]
        });

        Ext.applyIf(this, {
            title  : "Customer Record"
        });

        com.domorewithsage.mock.AccountAdminWindow.superclass.initComponent.call(this);
    }


});