Skip to main content

Summary

Component: <pcp-invoice-summary>

Preview:

Preview

Description

This component presents a summary of the selected invoice for the current month, providing a clear and concise overview of its key details.


Usage

import { PcpInvoiceSummaryComponent } from '@celerofinancas/pcp-client-ui';
<pcp-invoice-summary 
[filters]="{card: 1, yearMonth: 202501}"
[selectedRowsValue]="0"
(totalValue)="totalValue($event)"
/>

Component Inputs and Outputs

Inputs

NameTypeDefaultDescriptionRequired
filters{card: 1, yearMonth: 202501} The transactions filters to request the table dataYES
selectedRowsValuenumber0The sum of all transactions, the value of the current invoiceYES

Outputs

NameTypeDescription
totalValueEventEmitter<number>The total value of the current invoice

Dependencies

  • @celerofinancas/class-utils
  • @celerofinancas/ui-animations
  • @celerofinancas/ui-common
  • @celerofinancas/ui-directives
  • @celerofinancas/ui-pipes

Notes