Skip to main content

Logs Payment Modal

This section describes the BfmPaymentsLogsModalComponent component.

Usage

You must import the BfmPaymentsLogsModalComponent and provide it to ModalService to open the modal.

info

Modals are not components. They must be used with the ModalService to be opened.

To a better understanding, check the Modals documentation.

logs-modal.component.ts
import { BfmPaymentsLogsModalComponent } from '@celerofinancas/ui-charges';
import { ModalService } from "@celerofinancas/ui-modals";
import { Component, inject } from '@angular/core';

@Component({
standalone: true,
selector: 'payments-logs',
templateUrl: './payments-logs.component.html',
})
export class PaymentsLogsComponent {
/**
* Modal service for handling modals
*/
private modalService = inject(ModalService);

/**
* Open the modal
*/
public openModal(): void {
this.modalService.open(BfmPaymentsLogsModalComponent, {
pk: 1,
title: 'Title',
subtitle: 'Subtitle',
closeButtonText: 'Close',
});
};
}

Inputs

The BfmPaymentsLogsModalComponent modalRef has the following inputs:

pk

Primary key of the payment.

TypeDefault
numberundefined

title

Title of the modal.

TypeDefault
stringHistórico da Autorização

subtitle

Subtitle of the modal.

TypeDefault
stringAções no registro:

closeButtonText

Text of the close button.

TypeDefault
stringFechar

Events

The BfmPaymentsLogsModalComponent modalRef has no Events.