Skip to main content

COA Map

This section describes the BfmAmountFormCoaMapComponent component.

Composition

The BfmAmountFormCoaMapComponent has no any composition component.

Usage

You can import the BfmAmountFormCoaMapComponent directly in your route configuration.

coa-map.component.html
import { BfmAmountFormCoaMapComponent } from "@celerofinancas/ui-cash-flow";

@Component({
standalone: true,
selector: 'custom-coa-map',
imports: [BfmAmountFormCoaMapComponent],
templateUrl: './coa-map.component.html',
})
export class CustomCoaMapComponent {}

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

coa-map.component.html
<bfm-amount-coa-map
[activeCoaPk]="'someValue'"
[amountValue]="amountFormValue"
[companyPk]="'companyPkValue'"
[enableClassification]="true"
[saveClassificationText]="'Salvar classificação'"
(coaMapChanges)="handleCoaMapChanges($event)"
/>

Inputs

The BfmAmountFormCoaMapComponent component has the following inputs:

activeCoaPk

Active chart of account identifier.

TypeDefault
stringnull

amountValue

Parent amount form value.

TypeDefault
anynull

companyPk

Active company identifier.

TypeDefault
stringnull

enableClassification

Whether to enable the classification permission.

TypeDefault
booleantrue

saveClassificationText

Save classification button text.

TypeDefault
string'Salvar classificação'

Events

The BfmAmountFormCoaMapComponent component has the following Events:

coaMapChanges

Emits when there are changes in the chart of accounts map.

Type
EventEmitter