Introduce an email configuration module to manage SMTP settings, including encryption, host, username, and more. Implement functionality for retrieving invoice PDFs, storing them, and providing secure download links. Added relevant endpoint, routes, and helper methods to support these features.
13 lines
239 B
PHP
13 lines
239 B
PHP
<?php
|
|
|
|
namespace interfaces;
|
|
|
|
interface minio_invoices_i
|
|
{
|
|
/**
|
|
* Check if an invoice exists in the Minio bucket
|
|
* @param int $invoice_id
|
|
* @return bool
|
|
*/
|
|
public function invoice_exists(int $invoice_id): bool;
|
|
} |