Removed hardcoded dummy items
This commit is contained in:
@@ -23,112 +23,6 @@
|
||||
|
||||
$('img.action').attr('cursor', 'hand');
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemGroupName: '<span class="item-group-header">Upload external data and match accounts</span>',
|
||||
itemId: 'GroupExternal'
|
||||
});
|
||||
|
||||
rowCount = $('#TableEomItems').datagrid('getRows').length;
|
||||
|
||||
$('#TableEomItems').datagrid('mergeCells', {
|
||||
index: rowCount - 1,
|
||||
colspan: 2,
|
||||
type: 'body',
|
||||
field: 'itemGroupName'
|
||||
});
|
||||
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Upload/Fetch bank transaction data (FORMAT) up until [lastdatelastmonth]',
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Upload bank statement (PDF) for [lastmonth]',
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Resolve unmatched ledger transactions',
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemGroupName: '<span class="item-group-header">Taxes and Payroll</span>',
|
||||
itemId: 'GroupTaxesPayroll'
|
||||
});
|
||||
|
||||
rowCount = $('#TableEomItems').datagrid('getRows').length;
|
||||
|
||||
$('#TableEomItems').datagrid('mergeCells', {
|
||||
index: rowCount - 1,
|
||||
colspan: 2,
|
||||
type: 'body',
|
||||
field: 'itemGroupName'
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'VAT Report for [lastmonth]',
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Payroll processing for [thismonth]',
|
||||
docs: "<img src='/Images/Icons/iconshock-red-cross-sphere-128x96px.png' data-test-id='Sockets-Browser' class='test-failed' style='display:none' height='20px' />",
|
||||
actions: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Submit to tax authorities',
|
||||
docs: "<img src='/Images/Icons/iconshock-red-cross-sphere-128x96px.png' data-test-id='Sockets-Browser' class='test-failed' style='display:none' height='20px' />",
|
||||
actions: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemGroupName: '<span class="item-group-header">Annual Reports</span>',
|
||||
itemId: 'GroupAnnual'
|
||||
});
|
||||
|
||||
rowCount = $('#TableEomItems').datagrid('getRows').length;
|
||||
|
||||
$('#TableEomItems').datagrid('mergeCells', {
|
||||
index: rowCount - 1,
|
||||
colspan: 2,
|
||||
type: 'body',
|
||||
field: 'itemGroupName'
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Close ledgers for [year]',
|
||||
docs: "<img src='/Images/Icons/iconshock-red-cross-sphere-128x96px.png' data-test-id='Sockets-Browser' class='test-failed' style='display:none' height='20px' />",
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemGroupName: '<span class="item-group-header">Send to Accountants, Shareholders, etc.</span>',
|
||||
itemId: 'SendReports'
|
||||
});
|
||||
|
||||
rowCount = $('#TableEomItems').datagrid('getRows').length;
|
||||
|
||||
$('#TableEomItems').datagrid('mergeCells', {
|
||||
index: rowCount - 1,
|
||||
colspan: 2,
|
||||
type: 'body',
|
||||
field: 'itemGroupName'
|
||||
});
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemName: 'Send all reports as required',
|
||||
docs: "<img src='/Images/Icons/iconshock-red-cross-sphere-128x96px.png' data-test-id='Sockets-Browser' class='test-failed' style='display:none' height='20px' />",
|
||||
action: "<img src='/Images/Icons/iconshock-yellow-sphere-30pct-128x96px.png' data-test-id='Sockets-Browser' class='test-running' style='display:inline' height='20px' />"
|
||||
});
|
||||
|
||||
$('.action').click(function() {
|
||||
var itemId = $(this).attr('data-item');
|
||||
var callbackFunction = $(this).attr('data-callback');
|
||||
|
||||
Reference in New Issue
Block a user