From 99ca6fe76d8f88d52eeed9d170b77a1cf06001d3 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 10 Aug 2022 18:11:51 +0200 Subject: [PATCH] Removed hardcoded dummy items --- Site/Pages/v5/Ledgers/EndOfMonth.aspx | 106 -------------------------- 1 file changed, 106 deletions(-) diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx b/Site/Pages/v5/Ledgers/EndOfMonth.aspx index ce34a8ab..108814ac 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx @@ -23,112 +23,6 @@ $('img.action').attr('cursor', 'hand'); - $('#TableEomItems').datagrid('appendRow', { - itemGroupName: 'Upload external data and match accounts', - 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: "" - }); - - $('#TableEomItems').datagrid('appendRow', { - itemName: 'Upload bank statement (PDF) for [lastmonth]', - action: "" - }); - - $('#TableEomItems').datagrid('appendRow', { - itemName: 'Resolve unmatched ledger transactions', - action: "" - }); - - $('#TableEomItems').datagrid('appendRow', { - itemGroupName: 'Taxes and Payroll', - 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: "" - }); - - /* - - $('#TableEomItems').datagrid('appendRow', { - itemName: 'Payroll processing for [thismonth]', - docs: "", - actions: "" - }); - - $('#TableEomItems').datagrid('appendRow', { - itemName: 'Submit to tax authorities', - docs: "", - actions: "" - }); - - */ - - $('#TableEomItems').datagrid('appendRow', { - itemGroupName: 'Annual Reports', - 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: "", - action: "" - }); - - - $('#TableEomItems').datagrid('appendRow', { - itemGroupName: 'Send to Accountants, Shareholders, etc.', - 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: "", - action: "" - }); - $('.action').click(function() { var itemId = $(this).attr('data-item'); var callbackFunction = $(this).attr('data-callback');