Email quick sale receipts and send them again from the sales list

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:00:15 +02:00
co-authored by Claude Sonnet 5.5
parent 3faa4cfbc6
commit d160854b79
29 changed files with 679 additions and 34 deletions
@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace App\Modules\Sales\Application\Contracts;
/**
* Emails a quick sale's PDF receipt to the address stored on the sale, in
* the background: the sale is kept whatever happens, and the outcome is
* recorded on the sale for the sales list.
*/
interface ReceiptMailer
{
public function send(int $saleId): void;
}