feat(template): add daily wage worker payment template with overtime support - #491
feat(template): add daily wage worker payment template with overtime support#491BrozG wants to merge 2 commits into
Conversation
Adds a new template for calculating daily wage worker payments including support for overtime hours at a higher rate. Features: - Base pay calculation from days worked - Overtime pay calculation from hours worked - Clear contract structure with employer/worker parties Author: Brojen Gurung <brojengurung3@gmail.com> Signed-off-by: Brojen Gurung <brojengurung3@gmail.com>
Signed-off-by: Brojen Gurung <brojengurung3@gmail.com>
|
Hi! |
|
Thanks for this contribution! This looks like a well-structured new template. One thing to note: #484 is in progress to migrate all templates to Cicero 0.25 with TypeScript. Once that lands, this template will need to follow the same pattern (TypeScript logic instead of Ergo). Could you check if the template structure aligns with the approach in #484? That will make integration smoother. This comment was generated by AI on behalf of @mttrbrts. |
Closes #490
Summary
This PR introduces a new smart legal contract template for calculating payments for daily wage workers, including support for overtime compensation.
The template enables structured and automated calculation of total payment based on days worked and overtime hours, aligned with Accord Project standards.
Changes
Example
For:
Total payment = (5 × 150) + (4 × 25) = 850.00 USD
Flags
Author Checklist