]> src.bluestatic.org Git - ustaxviewer.git/blob - demos/fed2019.ts
Store the current form in the location hash.
[ustaxviewer.git] / demos / fed2019.ts
1 // Copyright 2020 Blue Static <https://www.bluestatic.org>
2 // This program is free software licensed under the GNU General Public License,
3 // version 3.0. The full text of the license can be found in LICENSE.txt.
4 // SPDX-License-Identifier: GPL-3.0-only
5
6 import { Person } from 'ustaxlib/core';
7 import { Form1040, FilingStatus, Schedule2, TaxReturn, W2 } from 'ustaxlib/fed2019';
8
9 const tr = new TaxReturn();
10 tr.addForm(new Form1040({ filingStatus: FilingStatus.Single }));
11 tr.addForm(new W2({
12 employer: 'Employer',
13 employee: Person.self('Robert'),
14 wages: 130000,
15 fedIncomeTax: 2500
16 }));
17 tr.addForm(new Schedule2);
18
19 export default tr;