All files / projects/organization-management/src/app/components/budget-info budget-info.component.ts

100% Statements 7/7
75% Branches 3/4
100% Functions 1/1
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 244x   4x 4x                       4x   2x   2x   2x    
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
 
import { AccountFacade } from 'ish-core/facades/account.facade';
import { GenerateLazyComponent } from 'ish-core/utils/module-loader/generate-lazy-component.decorator';
 
/**
 * The Budget Info Component display an info icon containing a message which budget type (gross or net) is used.
 *
 */
@Component({
  selector: 'ish-budget-info',
  templateUrl: './budget-info.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
@GenerateLazyComponent()
export class BudgetInfoComponent {
  /** translation key for a further message text after the main message */
  @Input() suffix = '';
 
  customer$ = this.accountFacade.customer$;
 
  constructor(private accountFacade: AccountFacade) {}
}