import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';
import { OrderItemListItemDTO } from '@swagger/oms';

@Component({
  selector: 'app-search-result-group-item',
  templateUrl: 'search-result-group-item.component.html',
  styleUrls: ['search-result-group-item.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SearchResultGroupItemComponent implements OnInit {
  @Input()
  item: OrderItemListItemDTO;

  @Input()
  displayCompartmentCode = true;

  constructor() {}

  ngOnInit() {}
}
