72 lines
1.8 KiB
JavaScript
Executable File
72 lines
1.8 KiB
JavaScript
Executable File
columns = new Array();
|
|
//define columns
|
|
//begin: number
|
|
columns[0] = {
|
|
'name' : 'number',
|
|
'label' : 'Lp.',
|
|
'width' : 4,
|
|
'content' : new Array(),
|
|
};
|
|
columns[0]['content'][0] = {'name' : '', 'type': 'text', 'readonly' : true};
|
|
//end: number
|
|
//begin: code
|
|
columns[1] = {
|
|
'name' : 'payment_',
|
|
'label' : 'Termin płatności odsetek i raty kapitałowej',
|
|
'width' : 20,
|
|
'content' : new Array(),
|
|
};
|
|
columns[1]['content'][0] = {'name' : 'date', 'type': 'text', 'readonly' : true};
|
|
//end: code
|
|
//begin: name
|
|
columns[2] = {
|
|
'name' : 'total',
|
|
'label' : 'Suma raty i odsetek',
|
|
'width' : 6,
|
|
'align' : 'right',
|
|
'content' : new Array(),
|
|
};
|
|
columns[2]['content'][0] = {'name' : '', 'type': 'text', 'readonly' : true, 'isNumber' : true};
|
|
//end: name
|
|
//begin: quantity
|
|
columns[3] = {
|
|
'name' : 'interest_',
|
|
'label' : 'Odsetki',
|
|
'width' : 5,
|
|
'content' : new Array(),
|
|
'align' : 'right',
|
|
};
|
|
columns[3]['content'][0] = {'name' : 'rate', 'type': 'text', 'readonly' : true, 'isNumber' : true};
|
|
//end: quantity
|
|
//begin: unit
|
|
columns[4] = {
|
|
'name' : 'rate_of_',
|
|
'label' : 'Prowizja',
|
|
'width' : 5,
|
|
'content' : new Array(),
|
|
'align' : 'right',
|
|
};
|
|
columns[4]['content'][0] = {'name' : 'commission', 'type': 'text', 'readonly' : true, 'isNumber' : true};
|
|
//end: unit
|
|
//begin: price_start
|
|
columns[5] = {
|
|
'name' : 'principal_',
|
|
'label' : 'Rata kapitałowa',
|
|
'width' : 5,
|
|
'content' : new Array(),
|
|
'align' : 'right',
|
|
};
|
|
columns[5]['content'][0] = {'name' : 'value', 'type': 'text', 'readonly' : true, 'isNumber' : true};
|
|
//end: price_start
|
|
//begin: discount
|
|
columns[6] = {
|
|
'name' : 'saldo',
|
|
'label' : 'Saldo',
|
|
'width' : 5,
|
|
'content' : new Array(),
|
|
'align' : 'right',
|
|
};
|
|
columns[6]['content'][0] = {'name' : '', 'type': 'text', 'readonly' : true, 'isNumber' : true};
|
|
//end: discount
|
|
//begin: price_netto
|