Skip to content

Debtector/Debtector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBTCTOR

How To Use

script.js contains debtData, in which you can insert new people and add new debts.

// Configure debt data here
const debtData = {
 "J0001": [
   { amount: 42, date: makeDate(2019, 12, 2) }
 ],
 "J0002": [
   { amount: 6, date: makeDate(2025, 4, 1) },
   { amount: 7, date: makeDate(2025, 4, 7) }
 ],
 "J0003": [
   { amount: 20, date: makeDate(2024, 6, 15) },
   { amount: 15, date: makeDate(2024, 9, 3) }
 ]
};

In order to use deductions, you can insert deductions in here. Make sure to use the same person code.

// Configure deduction data here
const deductionsData = {
  "J0003": [
    { amount: 12, label: "Returned Item Deduction" },
    { amount: 3, label: "System Correction" }
  ]
};

index.html includes This Repo Link, where you can replace the repository link with that of your fork.

<!-- This Repo Link -->
<a href="https://github.com/Debtector/Debtector" target="_blank" rel="noopener" class="github-btn">
  <img src="https://cdn.simpleicons.org/github/ffffff" alt="GitHub Logo" class="repo-icon">
  This GitHub Repository
</a>

Static Badge

Releases

No releases published

Packages

No packages published