diff --git a/.env.example b/.env.example old mode 100644 new mode 100755 index 3076945..74754b4 --- a/.env.example +++ b/.env.example @@ -58,8 +58,10 @@ SENTRY_TRACES_SAMPLE_RATE=1 LOG_SLACK_WEBHOOK_URL=http://127.0.0.1:8000/slack -INSPECTOR_URL=http://127.0.0.1:8000/inspector +INSPECTOR_URL=http://inspector@127.0.0.1:8000 INSPECTOR_API_KEY=test INSPECTOR_ENABLE=true GOOGLE_TAGMANAGER_ID= + +BUGGREGATOR_URL=https://test.buggregator.dev/ diff --git a/app/Mail/OrderShipped.php b/app/Mail/OrderShipped.php index 19e7c53..8e6d109 100644 --- a/app/Mail/OrderShipped.php +++ b/app/Mail/OrderShipped.php @@ -15,6 +15,7 @@ public function __construct(string $subject) $this->subject($subject) ->cc(['cc@site.com']) ->bcc(['bcc@site.com']) + ->attachFromStorage('order.txt') ->replyTo('reply-to@site.com', 'To name'); } diff --git a/resources/views/inspector.blade.php b/resources/views/inspector.blade.php index 9029b49..dfc495b 100644 --- a/resources/views/inspector.blade.php +++ b/resources/views/inspector.blade.php @@ -8,6 +8,6 @@ Buggregator test console - Hello world + {{ $phrase }} diff --git a/storage/app/.gitignore b/storage/app/.gitignore index 8f4803c..56dcff4 100644 --- a/storage/app/.gitignore +++ b/storage/app/.gitignore @@ -1,3 +1,4 @@ * !public/ !.gitignore +!order.txt diff --git a/storage/app/order.txt b/storage/app/order.txt new file mode 100644 index 0000000..8ccbc7b --- /dev/null +++ b/storage/app/order.txt @@ -0,0 +1,35 @@ +Subject: Immediate Laptop Purchase Inquiry + +Dear Buggregator user, + +I trust this message finds you well. I am writing to initiate a prompt order for a new laptop. After extensive +deliberation, I am eager to acquire a cutting-edge device that aligns with my professional and personal requirements. + +Here are the specifications I am seeking: + +Brand: Dell +Model: XPS 15 +Processor: Intel Core i7-11800H +RAM: 16GB DDR4 +Storage: 1TB SSD +Graphics Card: NVIDIA GeForce RTX 3060 +Screen Size: 15.6 inches +Operating System: Windows 11 Pro +Furthermore, I kindly request the inclusion of a suitable laptop bag for added protection during transit, along with +any available warranty options for comprehensive coverage. + +Could you please furnish me with a competitive quotation for the aforementioned specifications, inclusive of all +applicable taxes and shipping charges? Additionally, I would appreciate confirmation of the model's availability and +an estimated delivery timeframe to the following address: + +123 Elm Street +Springfield, IL 62701 +United States + +Given the urgency of this procurement, your prompt attention to this matter would be greatly valued. I am prepared to +proceed with the payment process expediently upon receipt of your response. + +Thank you for your immediate consideration. I eagerly anticipate your prompt reply. + +Warm regards, +Buggregator