Sha256: 8d3e64248189e769e133b20ab61dda7fe73a64c30103b96cbdfc2e5d2cd14029

Contents?: true

Size: 976 Bytes

Versions: 7

Compression:

Stored size: 976 Bytes

Contents

Ext.define("Compass.ErpApp.Desktop.Applications.InvoiceManagement",{
  extend:"Ext.ux.desktop.Module",
  id:'invoice_management-win',
  init : function(){
    this.launcher = {
      text: 'Invoice Management',
      iconCls:'icon-creditcards',
      handler: this.createWindow,
      scope: this
    }
  },

  createWindow : function(){
    var desktop = this.app.getDesktop();
    var win = desktop.getWindow('invoice_management');
    if(!win){

      win = desktop.createWindow({
        id: 'invoice_management',
        title:'Invoice Management',
        width:1200,
        height:800,
        iconCls: 'icon-creditcards',
        shim:false,
        animCollapse:false,
        constrainHeader:true,
        layout: 'fit',
        items:[
          {xtype:'tabpanel', items:[{xtype:'invoicemanagement-billingaccountspanel'},
          {xtype:'invoicemanagement_invoicespanel'}]}
        ]
      });
    }
    win.show();
  }
});  

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_invoicing-3.1.0 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.6 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.5 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.4 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.3 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.2 public/javascripts/erp_app/desktop/applications/invoice_management/module.js
erp_invoicing-3.0.1 public/javascripts/erp_app/desktop/applications/invoice_management/module.js