diff --git a/app/Mail/DigitalReceiptMail.php b/app/Mail/DigitalReceiptMail.php index a4efe5d..b454281 100644 --- a/app/Mail/DigitalReceiptMail.php +++ b/app/Mail/DigitalReceiptMail.php @@ -22,9 +22,8 @@ class DigitalReceiptMail extends Mailable public function envelope(): Envelope { $location = $this->sale->location; - $fromName = $location?->receipt_header - ?: $location?->name - ?: (string) config('mail.from.name', 'Ladill POS'); + // Receipt From is the store/location, never the Ladill POS product brand. + $fromName = trim((string) ($location?->receipt_header ?: $location?->name ?: '')) ?: 'Receipt'; return new Envelope( from: new Address( diff --git a/storage/framework/testing/disks/public/pos/customer-promo/owner-rtp/UBAFalrQbgnOPV9wXwVekWkRYSAtzoug2pgzcqEE.jpg b/storage/framework/testing/disks/public/pos/customer-promo/owner-rtp/UBAFalrQbgnOPV9wXwVekWkRYSAtzoug2pgzcqEE.jpg new file mode 100644 index 0000000..b007976 Binary files /dev/null and b/storage/framework/testing/disks/public/pos/customer-promo/owner-rtp/UBAFalrQbgnOPV9wXwVekWkRYSAtzoug2pgzcqEE.jpg differ