NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>HRC Application</title>
<script type="text/javascript">
hrc = {};
hrc.util = {};
</script>
<script type="text/javascript" src="static/extjs/ext-all-6.0.2.js">

</script>
<script type="text/javascript" src="static/js/hrc.js">

</script>
<script type="text/javascript" src="static/js/util.js">

</script>
<link rel="stylesheet" type="text/css"
href="static/extjs/theme-triton-all.css" />

<style>

.disable{
cursor: not-allowed;
pointer-events: none;
background-color: #C0C0C0;
}

.panel {
margin-right: 16px;
}

</style>


<link rel="shortcut icon" href="static/extjs/images/favicon.ico"
type="image/x-icon" />
</head>
<body>
<script type="text/javascript">
Ext.onReady(function()
{
var all_invoices_store = hrc.util.createStore('ai_userdata.do');
var open_invoices_store = hrc.util.createStore('oi_userdata.do');
var closed_invoices_store = hrc.util.createStore('ci_userdata.do');

function getGrid(store){
var grid = new Ext.create('Ext.grid.Panel',{
store : store,
columns :
[
{
text : 'Id',
dataIndex : 'id'
}, {
text : 'Account Id',
dataIndex : 'accountId'
}, {
text : 'Document Number Norm',
dataIndex : 'documentNumberNorm'
}, {
text : 'Company Code',
dataIndex : 'companyCode'

}, {
text : 'Fiscal Year',
dataIndex : 'fiscalYear'

}, {
text : 'Branch',
dataIndex : 'branch'

}, {
text : 'Customer Number Norm',
dataIndex : 'customerNumberNorm'

}, {
text : 'Fk Customer Map Id',
dataIndex : 'fkCustomerMapId'

}, {
text : 'Document Date Norm',
dataIndex : 'documentDateNorm'

}, {
text : 'Baseline Date Norm',
dataIndex : 'baselineDateNorm'

}, {
text : 'Due Date Norm',
dataIndex : 'dueDateNorm'

}, {
text : 'Invoice Number Norm',
dataIndex : 'invoiceNumberNorm'

}, {
text : 'Open Amount Norm',
dataIndex : 'openAmountNorm'

}, {
text : 'Payment Terms',
dataIndex : 'paymentTerms'

}, {
text : 'Clearing Date Norm',
dataIndex : 'clearingDateNorm'

}, {
text : 'Isopen',
dataIndex : 'isOpen'

}, {
text : 'Order Type',
dataIndex : 'orderType'

}, {
text : 'Order Date',
dataIndex : 'orderDate'

}, {
text : 'Business Area',
dataIndex : 'businessArea'

}, {
text : 'Ship Date',
dataIndex : 'shipDate'

}, {
text : 'Job Id',
dataIndex : 'jobId'

}, {
text : 'Tax Amt',
dataIndex : 'taxAmt'

}, {
text : 'Current Dispute Amount',
dataIndex : 'currentDisputeAmount'

}, {
text : 'Ship To',
dataIndex : 'shipTo'

}, {
text : 'Document Id',
dataIndex : 'documentId'

}, {
text : 'Document Date',
dataIndex : 'documentDate'

}, {
text : 'Actual Open Amount',
dataIndex : 'actualOpenAmount'

}, {
text : 'Due Date',
dataIndex : 'dueDate'

}, {
text : 'Invoice Age',
dataIndex : 'invoiceAge'

}, {
text : 'Isvalid Dispute',
dataIndex : 'isvalidDispute'

}, {
text : 'Retainage Amount',
dataIndex : 'retainageAmount'

}, {
text : 'Posting Key',
dataIndex : 'postingKey'

}, {
text : 'Fk Strategy Id',
dataIndex : 'strategyId'
}, {
text : 'Currency',
dataIndex : 'currency'
}, {
text : 'Debit Credit Indicator',
dataIndex : 'debitCreditIndicator'

}, {
text : 'Valid Open Amount',
dataIndex : 'validOpenAmount'
}, {
text : 'Customer Name',
dataIndex : 'customerName'
}
],
selModel : 'checkboxmodel',
tbar : new Ext.PagingToolbar({
pageSize : 20,
store : store,
displayInfo : true,
style : 'padding-right : 17px;',
displayMsg : 'Invoices' + ' {0} - {1} of {2}',
emptyMsg : "No Records to display",
items : []
})
});
return grid;
}

var ai_adv_isVisible = false;
var oi_adv_isVisible = false;
var ci_adv_isVisible = false;


var adv_search_form = Ext.create('Ext.form.Panel', {
//requires : ['Ext.form.Panel', 'Ext.form.field.Text', 'Ext.button.Button' ],
labelAlign : 'right',
closeAction : 'destroy',
bodyPadding : 5,
itemId : 'all_invoices_advancesearch_panel',
autoWidth : true,
autoHeight : true,

items : [ {
xtype : 'form',
bodyPadding : 10,
layout : 'column',
items : [ {
xtype : 'datefield',
itemId : 'all_invoices_due_date',
margin : '10px',
name : 'Due-Date',
fieldLabel : 'Due-Date',

}, {
xtype : 'numberfield',
name : 'Fiscal Year',
itemId : 'all_invoices_fiscal_year',
margin : '10px',
value : 2000,
maxValue : 2019,
minValue : 1997,
fieldLabel : 'Fiscal Year',
}, {
xtype : 'textfield',
margin : '10px',
itemId : 'all_invoices_actual_open_account',
name : 'Actual Open Amount',
fieldLabel : 'Actual Open Amount',

}, {
xtype : 'textfield',
margin : '10px',
itemId : 'all_invoices_customer_name',
name : 'Customer Name',
fieldLabel : 'Customer Name',
} ],
} ],
buttons : [ {
xtype : 'button',
formBind : true,
itemId : 'all_invoices_search_button',
text : 'Search',
listeners : {
click : function() {
}
}
}, {
xtype : 'button',
formBind : true,
itemId : 'all_invoices_clear_advanceSearch',
text : 'Clear',
listeners : {
click : function() {
}
}
} ]
}).hide();


Ext.create('Ext.TabPanel', {
title: '<b>Invoices</b>',
renderTo: Ext.getBody(),
cls: 'panel',
plain: true,
items: [
{
title: 'All Invoices',
items: getGrid(all_invoices_store),
dockedItems: [
{
xtype: 'toolbar',
dock: 'top',
items: [{
xtype: 'button',
text : 'Edit'
}, {
xtype: 'button',
text : 'Predict'
},
'->',{
xtype: 'button',
text : 'Advanced search',
handler: function(){
if (!ai_adv_isVisible) {
adv_search_form.show();
} else
adv_search_form.hide();
ai_adv_isVisible = !ai_adv_isVisible;
}
}]
},
adv_search_form
]
},
{
title: 'Open Invoices',
//items: open_invoices,
items: getGrid(open_invoices_store),
dockedItems:[{
xtype: 'toolbar',
dock: 'top',
items: [{
xtype: 'button',
text : 'Edit'
}, {
xtype: 'button',
text : 'Predict'
},
'->',{
xtype: 'button',
text : 'Advanced search',
handler: function(){
if (!oi_adv_isVisible) {
adv_search_form.show();
} else
adv_search_form.hide();
oi_adv_isVisible = !oi_adv_isVisible;
}
}]
},
adv_search_form
]
},
{
title: 'Closed Invoices',
//items: closed_invoices,
items: getGrid(closed_invoices_store),
dockedItems: [{
xtype: 'toolbar',
dock: 'top',
items: [{
xtype: 'button',
text : 'Edit'
}, {
xtype: 'button',
text : 'Predict',
cls: 'disable'
},
'->',{
xtype: 'button',
text : 'Advanced search',
handler: function(){
if (!ci_adv_isVisible) {
adv_search_form.show();
} else
adv_search_form.hide();
ci_adv_isVisible = !ci_adv_isVisible;
}
}]
},
adv_search_form
]
}
],
listeners: {
render: function() {
this.items.each(function(i){
i.tab.on('click', function(){
adv_search_form.hide();
ai_adv_isVisible = false;
oi_adv_isVisible = false;
ci_adv_isVisible = false;
});
});
}
}
});

});
</script>
</body>
</html>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.