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:
@@ -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,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user