Now that the Employee Benefits have been broken out into their own model, they are no longer reflected as expenses in the Child Care Centres → Summary → Reconciliation tab.
Implementation
Simplify serializers implementation.
Use "Paid amount" as expense value in Child Care Centres → Summary → Reconciliation tab.
Rebuild CurrencyInput again in hopes of having it behave as expected. Fixed bug where value was lost when tabbing over component, even if no changes where made.
Screenshots
Estimated Employee Benefit Expense
Actual Employee Benefit Expense
There is no tooltip when expense is from "actual", rather than estimated value.
Enter values in all the Employee Benefits fields, but only in the "Est. Total" column, then click the "Save" button.
Next go to the "Summary" -> "Reconciliation" tab and check that the Expenses (April) column matches the "Paid Amount" value from the Employee Benefits section.
Check that there is an asterisk thing, that when hovered, show a note that this is based on an estimate value.
Go back to the "Employees" tab, and fill in the "Act. Total" column, then save.
Go back to the "Summary" -> "Reconciliation" tab, again, and check that the Expenses (April) column now matches the "Paid Amount" (actual) value, and no longer has an asterisk by it.
Fixes https://yg-hpw.atlassian.net/browse/ELCC-41
Relates to:
Context
Now that the Employee Benefits have been broken out into their own model, they are no longer reflected as expenses in the Child Care Centres → Summary → Reconciliation tab.
Implementation
Simplify serializers implementation. Use "Paid amount" as expense value in Child Care Centres → Summary → Reconciliation tab. Rebuild CurrencyInput again in hopes of having it behave as expected. Fixed bug where value was lost when tabbing over component, even if no changes where made.
Screenshots
Estimated Employee Benefit Expense
Actual Employee Benefit Expense
Testing Instructions
dev up