You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
4.3 KiB
JavaScript

Ext.define('C_Mmb', {
extend: 'Ext.data.Model',
idProperty: 'Feeid',
fields: [
{ name: 'Feeid', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
//{ name: 'FEENAME', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'FEEDATE', type: 'string' },
{ name: 'CREATEDATE', type: 'string' },
{ name: 'CREATOR', type: 'string' },
{ name: 'CREATOR_REF', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'AUDITDATE', type: 'string' },
{ name: 'AUDITOR', type: 'string' },
{ name: 'AUDITOR_REF', type: 'string' },
{ name: 'OPERATORSIDE', type: 'string' },
{ name: 'OPERATORSIDE_Ref', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'FeeType_Ref', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'VOUALLNO', type: 'string' }
]
});
Ext.define('FeeBodymb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'Feeid', type: 'string' },
{ name: 'CUSTOMERSIDE', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'FEENAMEREF', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CUSTBANK', type: 'string' },
{ name: 'CUSTACCOUNT', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'OPERATORSIDE_gl', type: 'string' },
{ name: 'OPERATORSIDE_gl_REF', type: 'string' },
{ name: 'VOUALLNO', type: 'string' }
]
});
Ext.define('FeeBodymb_2', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'Feeid', type: 'string' },
{ name: 'CUSTOMERSIDE', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'FEENAMEREF', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'AMOUNTRMB', type: 'number' },
{ name: 'AMOUNTUSD', type: 'number' },
{ name: 'AMOUNTOTHER', type: 'number' },
{ name: 'REMARK', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CUSTBANK', type: 'string' },
{ name: 'CUSTACCOUNT', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'OPERATORSIDE_gl', type: 'string' },
{ name: 'OPERATORSIDE_gl_REF', type: 'string' }
]
});
Ext.define('Tradermb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codename', type: 'string' }
]
});
Ext.define('currRef', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'defaultrate', type: 'string' }
]
});
Ext.define('BANKmb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'bankname', type: 'string' }
]
});