Documentation

InvoiceRecordRenderer
in package

An implementation of a renderer for CEESV invoice records

This class builds the fixed-width records for one invoice. The export scripts pass the invoice data, the service rows and the doctor data to this renderer and receive the final export text together with the string stored for storno handling in the database.

Example: $renderer = new invoiceRecordRenderer(); $result = $renderer->render($invoiceRow, $serviceRows, $doctorData, $options); $exportText = $result['export_text']; $dataDb = $result['data_db'];

Tags
author

Alejandro Sosa soal@verua.swiss

Table of Contents

Methods

render()  : mixed
Returns the fixed-width CEESV records 1 to 7 for one invoice

Methods

render()

Returns the fixed-width CEESV records 1 to 7 for one invoice

public render(mixed $invoiceRow, mixed $serviceRows, mixed $doctorData, mixed $options) : mixed
Parameters
$invoiceRow : mixed
$serviceRows : mixed
$doctorData : mixed
$options : mixed
On this page

Search results