ThermalPrinterService
class ThermalPrinterService (View source)
Class ThermalPrinterService
Responsible for building loan receipt payloads and sending them to a Node.js printing service. All visible text in the receipt is in Portuguese.
Methods
__construct()
No description
void
printLoanReceipt(Loan $loan, string $employeeName = 'Desconhecido')
Main method to generate and send a loan receipt to the client printer.
Details
__construct()
No description
void
printLoanReceipt(Loan $loan, string $employeeName = 'Desconhecido')
Main method to generate and send a loan receipt to the client printer.