minor cleanup
This commit is contained in:
parent
93ec0a8e4a
commit
c69af63ebf
|
|
@ -98,6 +98,10 @@ class SendEmailRequest extends Request
|
|||
$input['entity'] = "App\Models\\".ucfirst(Str::camel($input['entity']));
|
||||
}
|
||||
|
||||
if($input['entity'] == 'purchaseOrder'){
|
||||
$input['entity'] = "App\Models\PurchaseOrder";
|
||||
}
|
||||
|
||||
if (isset($input['cc_email'])) {
|
||||
$input['cc_email'] = collect(explode(",", $input['cc_email']))->map(function ($email) {
|
||||
return trim($email);
|
||||
|
|
|
|||
|
|
@ -149,6 +149,8 @@ return [
|
|||
'quickbooks' => [
|
||||
'client_id' => env('QUICKBOOKS_CLIENT_ID', false),
|
||||
'client_secret' => env('QUICKBOOKS_CLIENT_SECRET', false),
|
||||
'redirect' => env('QUICKBOOKS_REDIRECT_URI'),
|
||||
'env' => env('QUICKBOOKS_ENV'),
|
||||
'debug' => env('APP_DEBUG',false)
|
||||
],
|
||||
'quickbooks_webhook' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue