Teamtheo613 commited on
Commit
1209e1c
·
verified ·
1 Parent(s): 0c4998d

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +42 -0
  2. requirements.txt +2 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: FeeNoteGen
3
+ emoji: ⚖️
4
+ colorFrom: indigo
5
+ colorTo: gray
6
+ sdk: gradio
7
+ sdk_version: 5.29.0
8
+ python_version: 3.11
9
+ app_file: app.py
10
+ pinned: false
11
+ license: mit
12
+ ---
13
+
14
+ # Fee Note Generator
15
+
16
+ Batch fee note generator for counsel. Paste pipe-delimited fee note data and receive DOCX + PDF fee notes generated from a template.
17
+
18
+ ## Features
19
+
20
+ - **Auto date**: Today's date is inserted automatically — no need to update the template
21
+ - **Fuzzy solicitor matching**: Handles variations like `AB Wolfe & Co.` vs `AB Wolfe and Co.` automatically
22
+ - **DOCX + PDF output**: Both formats generated for every fee note
23
+ - **VAT calculation**: Net → VAT (23%) → Gross calculated automatically
24
+ - **Add solicitors on the fly**: New firms can be added via the UI without redeploying
25
+ - **Cross-run replacement**: Handles Word's internal text splitting reliably
26
+
27
+ ## Input format
28
+
29
+ ```
30
+ filename | solicitor_name | case_record | case_name | description | net_amount
31
+ 20264402 | O'Connor LLP | 2023/00700 | Permanent TSB PLC v Barrett | Attendance, Limerick CC 6.3.26 | 200
32
+ ```
33
+
34
+ The header row is optional — if omitted, it is added automatically.
35
+
36
+ ## Files
37
+
38
+ - `app.py` — Main application
39
+ - `Fee-Note-Template.docx` — Template with placeholders
40
+ - `Solicitors-Addresses.txt` — Solicitor directory (name, address, domain, email routing)
41
+ - `packages.txt` — System dependencies (LibreOffice for PDF conversion)
42
+ - `requirements.txt` — Python dependencies
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ gradio==5.29.0
2
+ python-docx==1.1.2