customer->customer_email)->send(new QuotationMail($quotation)); $quotation->update([ 'status' => 'Sent' ]); toast('Sent On "' . $quotation->customer->customer_email . '"!', 'success'); } catch (\Exception $exception) { Log::error($exception); toast('Something Went Wrong!', 'error'); } return back(); } }