Skip to main content

Invoices

Component: <pcp-invoices>

Preview:

Preview

Description

This component simplifies the implementation of all invoice-related functionalities by providing a unified structure. Instead of implementing each invoice component separately, this wrapper streamlines the process by managing shared inputs and events. It efficiently handles the communication and interaction required by the child components, ensuring consistency and reducing repetitive code.


Usage

import { PcpInvoicesComponent } from '@celerofinancas/pcp-client-ui';
<pcp-invoices 
(selectedCard)="selectedCard($event)"
/>

Component Inputs and Outputs

Inputs

No specific inputs are required for this component as it is designed to manage its own state and interactions internally.

Outputs

NameTypeDescription
selectedCardEventEmitter<number>Emits the id of the current card selected

Dependencies

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

Notes