Skip to main content

COA Value List

This section describes the BfmCoaValueListComponent component.

Usage​

If you need more customization, you need to import it in your module and use it in your template.

coa-value-list.component.ts
import { BfmCoaValueListComponent } from '@celerofinancas/ui-reports';

@Component({
standalone: true,
selector: 'coa-value-list',
imports: [BfmCoaValueListComponent],
templateUrl: './coa-value-list.component.html',
})
export class CoaValueListComponent {}

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

coa-value-list.component.html
<bfm-coa-value-list 
[coaList]="coaList"
[displayZeroValues]="displayZeroValues"
[selectedFilterList]="selectedFilterList"
[showFilterList]="showFilterList"
(coaIndexChanged)="handleCoaIndexChanged($event)"
(coaSelected)="handleCoaSelected($event)"
(financialList)="handleFinancialList($event)"
/>

Inputs​

The BfmCoaValueListComponent component has the following inputs:

coaList​

Chart of Account List

TypeDefault
Record<string, any>[]

displayZeroValues​

Zero Values Control Boolean

TypeDefault
booleanfalse

selectedFilterList​

Enable trash on hover and output to splice a selected list

TypeDefault
booleanfalse

showFilterList​

Control if show Filter List

TypeDefault
booleanfalse

Events​

The BfmCoaValueListComponent component has the following events:

coaIndexChanged​

Output Index Click

Type
EventEmitter<any>

coaSelected​

Output COA Selected Value

Type
EventEmitter<any>

financialList​

Output financialListCall

Type
EventEmitter<any>