This commit is contained in:
Prashant Singh 2019-08-20 16:48:11 +05:30
parent 2a15488f24
commit afafdfbfcd
1 changed files with 5 additions and 1 deletions

View File

@ -118,7 +118,11 @@ class CustomerController extends Controller
$customer = $this->customer->create($data);
Mail::queue(new NewCustomerNotification($customer, $password));
try {
Mail::queue(new NewCustomerNotification($customer, $password));
} catch (\Exception $e) {
}
session()->flash('success', trans('admin::app.response.create-success', ['name' => 'Customer']));