import { Component, OnInit, Input, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"
import { Agreement } from "../agreement.model"
import { CurrencyFormatterService } from "../currency-formatter.service"
import { TextValueAccessorDirective } from "../value-accessors"
import { NgIf } from "@angular/common"

@Component({
  standalone: true,
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  imports: [
    TextValueAccessorDirective,
    NgIf
  ],
  selector: "app-summary",
  templateUrl: "./summary.component.html",
  styleUrls: ["./summary.component.scss"]
})
export class SummaryComponent implements OnInit {
  @Input() agreement: Agreement

  constructor(public formatter: CurrencyFormatterService) {}

  ngOnInit(): void {}
}
