How akmalkirin-sudo/ezakat-itt588 works
eZakat is a client-side zakat calculator. Users select an asset category, enter values, and receive a receipt indicating whether zakat is due and the amount; navigation, language, and theme controls support that workflow. The README documents four calculation types and their Nisab/Haul rules. Sampled JavaScript confirms navigation, theme and language handling, receipt rendering, and calculation branches; omitted source limits certainty about the exact form-dispatch wiring.
Main entry points: index.html Calculator Interface · script.js Result Receipt · styles.css Responsive Styles
Components 12
User Interface
- Calculator Interface
index.html - Page Navigation
script.js - Result Receipt
script.js
Zakat Calculations
- Trade Calculator
script.js - Income Calculator
script.js - Gold Calculator
script.js - Savings Calculator
script.js
Language And Guidance
- Translation Dictionary
script.js - Language Toggle
script.js
Visual Presentation
- Theme Toggle
script.js - Responsive Styles
styles.css
Other components
- Visitor
Connections 18
- Visitor → Calculator Interface: uses
- Visitor → Page Navigation: selects pages
- Page Navigation → Calculator Interface: updates visibility
- Calculator Interface → Trade Calculator: provides inputs
- Calculator Interface → Income Calculator: provides inputs
- Calculator Interface → Gold Calculator: provides inputs
- Calculator Interface → Savings Calculator: provides inputs
- Trade Calculator → Result Receipt: renders result
- Income Calculator → Result Receipt: renders result
- Gold Calculator → Result Receipt: renders result
- Savings Calculator → Result Receipt: renders result
- Visitor → Language Toggle: switches language
- Language Toggle → Translation Dictionary: selects text
- Language Toggle → Calculator Interface: updates text
- Language Toggle → Result Receipt: rerenders text
- Visitor → Theme Toggle: switches theme
- Theme Toggle → Calculator Interface: updates theme
- Responsive Styles → Calculator Interface: styles interface