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>
.btn
{
background-color: #dedede;
}

.panelBackground{
background-color: #ffffff;
}
</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');

Ext.create('Ext.panel.Panel', {
title: 'Invoices',
renderTo : Ext.getBody()
});

var itemsPerPage = 5;
Ext.create('Ext.TabPanel', {
renderTo: Ext.getBody(),
plain: true,
style : {
marginRight : 'auto',
marginTop : '10px'
},

items: [
{
title: 'All Invoices',
},
{
title: 'Open Invoices',
},
{
title: 'Closed Invoices',
}
],
listeners: {
render: function() {
this.items.each(function(i){
i.tab.on('click', function(){
if(i.title == "All Invoices"){
closed_invoices.hide();
open_invoices.hide();
all_invoices.show();
predict_button.setDisabled(false);
adv_search_form.hide();
}
else if(i.title == "Open Invoices"){
all_invoices.hide();
closed_invoices.hide();
open_invoices.show();
predict_button.setDisabled(false);
adv_search_form.hide();
}
else if(i.title == "Closed Invoices"){
all_invoices.hide();
open_invoices.hide();
closed_invoices.show();
predict_button.setDisabled(true);
adv_search_form.hide();
}
});
});
}
}
});

var adv_search_button = new Ext.Button({
text : 'Advanced Search',
itemId : 'adv_search_button',
listeners : {
click : function() {
if (!adv_isVisible) {
adv_search_form.show();
} else
adv_search_form.hide();
adv_isVisible = !adv_isVisible;
}
}
});

var adv_isVisible = false;

var edit_button = new Ext.Button({
xtype: 'button',
cls: 'btn',
text : 'Edit',
itemId : 'edit_button',
//style: 'background-color:white;',
});

var predict_button = new Ext.Button({
xtype: 'button',
text : 'Predict',
itemId : 'predict_button'
});

Ext.create('Ext.panel.Panel', {
border : false,
cls: 'panelBackground',
buttonAlign : 'left',
buttons : [ edit_button, predict_button, '->', adv_search_button],
renderTo : Ext.getBody()
});

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',
style : {
marginLeft : 'auto',
},
width : 650,
height : 200,
labelAlign : 'right',
defaults : {
anchor : '100%'
},

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() {
}
}
}],

renderTo : Ext.getBody()
}).hide();

var all_invoices = Ext.create('Ext.grid.Panel', {
store: all_invoices_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'
} ],
tbar: new Ext.PagingToolbar({
pageSize: 20,
store: all_invoices_store,
displayInfo: true,
style : 'padding-right : 17px;',
displayMsg: 'Users'+' {0} - {1} of {2}',
emptyMsg: "No Records to display",
items: []
}),
renderTo : Ext.getBody()
});

var open_invoices = Ext.create('Ext.grid.Panel', {
store: open_invoices_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'
} ],
tbar: new Ext.PagingToolbar({
pageSize: 20,
store: open_invoices_store,
displayInfo: true,
style : 'padding-right : 17px;',
displayMsg: 'Users'+' {0} - {1} of {2}',
emptyMsg: "No Records to display",
items: []
}),
renderTo : Ext.getBody()
}).hide();

var closed_invoices = Ext.create('Ext.grid.Panel', {
store: closed_invoices_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'
} ],
tbar: new Ext.PagingToolbar({
pageSize: 20,
store: closed_invoices_store,
displayInfo: true,
style : 'padding-right : 17px;',
displayMsg: 'Users'+' {0} - {1} of {2}',
emptyMsg: "No Records to display",
items: []
}),
renderTo : Ext.getBody()
}).hide();

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

Notes is a web-based application for online 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 14 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.