Fix error when new order created and notes is blank
This commit is contained in:
parent
6fa88daeb0
commit
7908676063
@ -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]);
|
||||||
}
|
}
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user