3620-feat(claim): implemented smart-table and change state in summary #887
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#887
Loading…
Reference in New Issue
No description provided.
Delete Branch "3620-claim_change_state"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
3620-claim_change_stateto 3620-feat(claim): implemented smart-table and change state in summary@ -5,3 +9,3 @@
ngModule.vnComponent('vnClaim', {
controller: Claim,
controller: Claims,
if the controller has no functionality implemented you can you the extending "ModuleMain" as a controller.
ie: controller: ModuleMain :)
@ -14,0 +25,4 @@
.then(() => {
if (this.card)
this.card.reload();
// Refresh index model
this comment is not needed for self explanatory code.
@ -31,3 +45,2 @@
describe('$onChanges()', () => {
it('should call getSummary when item.id is defined', () => {
jest.spyOn(controller, 'getSummary');
it('should call loadData when item.id is defined', () => {
when item.id is defined, perhaps "when $onChanges is called"
LGTM