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:
@@ -6,7 +6,8 @@ namespace App\Modules\Sales\Application\DTOs;
|
||||
|
||||
/**
|
||||
* Input for a quick sale: quantities by product id (zero or empty ones are
|
||||
* left out by the caller), the payment method key and an optional customer.
|
||||
* left out by the caller), the payment method key, an optional customer
|
||||
* and an optional address the receipt is emailed to.
|
||||
*/
|
||||
final readonly class SaleData
|
||||
{
|
||||
@@ -17,5 +18,6 @@ final readonly class SaleData
|
||||
public array $quantities,
|
||||
public string $paymentMethod,
|
||||
public ?int $customerId = null,
|
||||
public ?string $receiptEmail = null,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user