Skip to main content

List

This section describes the BfmCostCenterListComponent component.

Composition

The BfmCostCenterListComponent is composed of the following components:

Usage

You can import the BfmCostCenterListComponent directly in your route configuration.

import { BfmCostCenterListComponent } from '@celerofinancas/ui-company-kit';

const routes = [
{
path: 'cost-center-list',
component: BfmCostCenterListComponent,
},
];

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


import { BfmCostCenterListComponent } from '@celerofinancas/ui-company-kit';

@Component({
standalone: true,
selector: 'cost-center-list',
imports: [BfmCostCenterListComponent],
templateUrl: './cost-center-list.component.html',
})
export class CostCenterListComponent {}

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


<bfm-cost-center-list
[enableCreation]="true"
[pageTitle]="'Centros de Custos vinculados a empresa'"
/>

Inputs

The BfmCostCenterListComponent component has the following inputs:

enableCreation

Enable cost center creation.

TypeDefault
booleanfalse

pageTitle

Page title.

TypeDefault
string''

Events

The BfmCostCenterListComponent component has no events.