Fix error when new order created and notes is blank

This commit is contained in:
Deon George 2021-12-14 12:38:45 +11:00
parent 6fa88daeb0
commit 7908676063
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class OrderController extends Controller
} }
Mail::to('help@graytech.net.au') Mail::to('help@graytech.net.au')
->queue((new OrderRequest($so,$request->input('options.notes')))->onQueue('email')); //@todo Get email from DB. ->queue((new OrderRequest($so,$request->input('options.notes','')))->onQueue('email')); //@todo Get email from DB.
return view('order_received',['o'=>$so]); return view('order_received',['o'=>$so]);
} }

View File

@ -1,4 +1,4 @@
@component('mail::message',['site'=>$site,'heading'=>'Cancel Service Request']) @component('mail::message',['site'=>$site,'heading'=>'Change Service Request'])
Please change the following... Please change the following...
@component('mail::table') @component('mail::table')