Advances are now treated as immediate payments (not pending salary items): - Auto-creates PayrollRecord + sends payslip email at creation time - Auto-creates Advance Repayment adjustment for next salary cycle - Validates worker has unpaid work logs (otherwise use New Loan) - Requires project selection for cost tracking - Partial repayment converts advance to regular loan - Admin can edit auto-repayment amount before payday - Negative net pay warning in preview modal Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
182 B
JSON
12 lines
182 B
JSON
{
|
|
"version": "0.0.1",
|
|
"configurations": [
|
|
{
|
|
"name": "dev",
|
|
"runtimeExecutable": "cmd",
|
|
"runtimeArgs": ["/c", "run_dev.bat"],
|
|
"port": 8000
|
|
}
|
|
]
|
|
}
|