import { PriceMaskDirective } from '@/shared/directives';
import { Component, computed } from '@angular/core';
import { Card } from 'primeng/card';
import { POSStore } from '../../store';

@Component({
  selector: 'pos-order-price-info-card',
  templateUrl: './price-info-card.component.html',
  imports: [Card, PriceMaskDirective],
})
export class POSOrderPriceInfoCardComponent {
  constructor(private store: POSStore) {}

  priceInfo = computed(() => this.store.orderPricingInfo());
}
