Skip to main content

Document Information Card

This section describes the BfmDocumentInformationCardComponent component.

Usage​

You need to import it in your module and use it in your template.

document-information-card.component.ts
import { BfmDocumentInformationCardComponent } from '@celerofinancas/ui-charges';

@Component({
standalone: true,
selector: 'document-information-card',
imports: [BfmDocumentInformationCardComponent],
templateUrl: './document-information-card.component.html',
})
export class DocumentInformationCardComponent {}

Then, in your template, you can use the component like this:

document-information-card.component.html
<bfm-document-information-card
[charge]="charge"
[documentDescription]="documentDescription"
[grossValue]="grossValue"
[loading]="loading"
[showHeader]="showHeader"
[takerIdentityNumber]="takerIdentityNumber"
/>

Inputs​

The BfmDocumentInformationCardComponent component has the following inputs:

charge​

Charge list item related to the document

Type
Charge.List.Item

documentDescription​

Document description

Type
string

grossValue​

Document gross value

Type
number

loading​

Loading controller

Type
boolean

showHeader​

Show header flag

TypeDefault
booleantrue

takerIdentityNumber​

Charge taker identity number

TypeDefault
string''

Events​

The BfmDocumentInformationCardComponent component has no events.