Skip to main content

Documents - Invoice

This section describes the BfmDocumentsInvoiceComponent component.

Composition​

The BfmDocumentsInvoiceComponent has no any composition components.

Usage​

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

documents-invoice.component.ts
import { BfmDocumentsInvoiceComponent } from '@celerofinancas/ui-cash-flow';

@Component({
standalone: true,
selector: 'documents-invoice',
imports: [BfmDocumentsInvoiceComponent],
templateUrl: './documents-invoice.component.html',
})
export class DocumentsInvoiceComponent {}

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

documents-invoice.component.html
<bfm-document-invoice-form
[isInvoiceEmitted]="false"
(emitAtChanged)="handleEmitAtChanged($event)"
/>

Inputs​

The BfmDocumentsInvoiceComponent component has the following inputs:

isInvoiceEmitted​

Whether is invoice emitted. Used to disable some fields

TypeDefault
booleanfalse

Events​

The BfmDocumentsInvoiceComponent component has the following Events:

emitAtChanged​

Emits a event when invoice has changed

Type
EventEmitter