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
@@ -5,8 +5,9 @@ declare(strict_types=1);
namespace App\Modules\Sales\Application\DTOs;
/**
* A recorded quick sale: its id and total with VAT, and the hours booked
* on the seller or left unbooked (in quarters of an hour).
* A recorded quick sale: its id and total with VAT, the hours booked on
* the seller or left unbooked (in quarters of an hour), and the address
* the receipt is being emailed to, if one was given.
*/
final readonly class SaleResult
{
@@ -15,5 +16,6 @@ final readonly class SaleResult
public int $totalCents,
public int $bookedQuarters,
public int $unbookedQuarters,
public ?string $receiptEmail = null,
) {}
}