-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (86 loc) · 4.94 KB
/
index.html
File metadata and controls
94 lines (86 loc) · 4.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bananafoot LEDES Converter</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h2 class="mb-4">Bananafoot LEDES Converter</h2>
<h3 class="text-muted mb-4"><i>"Bananafoot: Making your law practice slightly less tedious"</i></h3>
<p class="mb-4">This program allows you to enter information to create a LEDES 1998B billing file. LEDES is a
standard format for legal invoicing.
For information on the hell-spawn that is the LEDES format see <a href="https://ledes.org/ledes-98b-format"
target="_blank">LEDES Format</a>.
LEDES is a text, pipe-delimited format. It was designed by lawyers, which explains a lot. When you click
"Generate LEDES File" the program will allow you to save your LEDES file.</p>
<form id="ledesForm" class="mb-4">
<div class="row mb-3">
<div class="col-md-3">
<p><strong>Lines Total:</strong> <span id="LINE_ITEM_NUMBER" class="badge bg-secondary">0</span></p>
</div>
<div class="col-md-3">
<label for="INVOICE_TOTAL" class="form-label">Invoice Total:</label>
<input type="text" class="form-control" id="INVOICE_TOTAL" name="INVOICE_TOTAL" required>
</div>
<div class="col-md-6">
<p><strong>Invoice Total (Running):</strong> <span id="INVOICE_TOTAL_CALC"
class="badge bg-primary">0</span></p>
</div>
</div>
<h4 class="mb-3">Invoice Information</h4>
<div class="row g-3">
<div class="col-md-3">
<label for="INVOICE_NUMBER" class="form-label">Invoice Number:</label>
<input type="text" class="form-control" id="INVOICE_NUMBER" name="INVOICE_NUMBER" required>
</div>
<div class="col-md-3">
<label for="INVOICE_DATE" class="form-label">Invoice Date:</label>
<input type="date" class="form-control" id="INVOICE_DATE" name="INVOICE_DATE" required>
</div>
<div class="col-md-3">
<label for="CLIENT_ID" class="form-label">Client ID:</label>
<input type="text" class="form-control" id="CLIENT_ID" name="CLIENT_ID" required>
</div>
<div class="col-md-3">
<label for="CLIENT_MATTER_ID" class="form-label">Client Matter ID:</label>
<input type="text" class="form-control" id="CLIENT_MATTER_ID" name="CLIENT_MATTER_ID" required>
</div>
<div class="col-md-3">
<label for="LAW_FIRM_MATTER_ID" class="form-label">Law Firm Matter:</label>
<input type="text" class="form-control" id="LAW_FIRM_MATTER_ID" name="LAW_FIRM_MATTER_ID" required>
</div>
<div class="col-md-3">
<label for="LAW_FIRM_ID" class="form-label">Law Firm ID (EIN):</label>
<input type="text" class="form-control" id="LAW_FIRM_ID" name="LAW_FIRM_ID" required>
</div>
<div class="col-md-3">
<label for="BILLING_START_DATE" class="form-label">Billing Start Date:</label>
<input type="date" class="form-control" id="BILLING_START_DATE" name="BILLING_START_DATE" required>
</div>
<div class="col-md-3">
<label for="BILLING_END_DATE" class="form-label">Billing End Date:</label>
<input type="date" class="form-control" id="BILLING_END_DATE" name="BILLING_END_DATE" required>
</div>
<div class="col-12">
<label for="INVOICE_DESCRIPTION" class="form-label">Invoice Description:</label>
<input type="text" class="form-control" id="INVOICE_DESCRIPTION" name="INVOICE_DESCRIPTION"
value="Legal Services">
</div>
</div>
<h4 class="mt-4 mb-3">Line Items</h4>
<div id="lineItemsContainer"></div>
<button type="button" class="btn btn-secondary mt-2" onclick="addLineItem()">Add Line Item</button>
<div class="mt-4">
<button type="button" class="btn btn-success" onclick="generateLEDESFile()">Generate LEDES File</button>
</div>
</form>
</div>
<script src="https://js.puter.com/v2/"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="./app.js"></script>
</body>
</html>